Skip to content
Agentmart
Submit a tool

npm-release

npm 패키지 릴리스 자동화 스킬.

Skill by dmsdc-ai

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/dmsdc-ai-npm-release

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

npm 패키지 릴리스 자동화 스킬. 버전 범프, 테스트, 퍼블리쉬, git tag, GitHub Release까지 원클릭. 키워드: release, publish, npm publish, npm release, 릴리스, 퍼블리쉬, 배포, npm 배포, version bump

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/npm-release

Tools it pre-approves 6

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash,
  • Read,
  • Edit,
  • Glob,
  • Grep,
  • AskUserQuestion

What's inside

Skill name
npm-release
Description
npm 패키지 릴리스 자동화 스킬. 버전 범프, 테스트, 퍼블리쉬, git tag, GitHub Release까지 원클릭. 키워드: release, publish, npm publish, npm release, 릴리스, 퍼블리쉬, 배포, npm 배포, version bump
License
MIT
Allowed tools
Bash,, Read,, Edit,, Glob,, Grep,, AskUserQuestion
Instructions
220 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# npm Release Automation

npm 패키지 릴리스의 전체 프로세스를 자동화합니다.

## 트리거

- "release", "publish", "npm publish", "릴리스", "퍼블리쉬", "배포"

## 전제 조건 확인

릴리스 전 반드시 아래 항목을 순서대로 확인합니다:

### 1. 프로젝트 유효성

```bash
# package.json 존재 확인
test -f package.json || { echo "ERROR: package.json not found"; exit 1; }

# 현재 버전 확인
node -p "require('./package.json').version"

# 패키지명 확인
node -p "require('./package.json').name"
```

### 2. Git 상태

```bash
# 커밋되지 않은 변경사항 확인
git status --porcelain

# 현재 브랜치 확인 (main/master 권장)
git branch --show-current

# remote와 동기화 확인
git fetch && git status -sb
```

만약 커밋되지 않은 변경사항이 있으면:
- 사용자에게 알리고 커밋 여부 확인
- 릴리스에 포함할 변경사항이면 커밋 후 진행
- 관련 없는 변경이면 stash 후 진행

### 3. 테스트

```bash
npm test
```

테스트 실패 시 릴리스 중단. 사용자에게 알림.

### 4. npm 인증

```bash
npm whoami
```

인증 실패 시 `npm login` 안내.

### 5. 이전 버전 확인

```bash
npm view $(node -p "require('./package.json').name") versions --json 2>/dev/null || echo "[]"
```

## 릴리스 프로세스

### Step 1: 버전 타입 선택

사용자에게 AskUserQuestion으로 질문:

- **patch** (0.0.x) — 버그 수정, 작은 변경
- **minor** (0.x.0) — 새 기능 추가 (하위 호환)
- **major** (x.0.0) — 브레이킹 체인지

사용자가 직접 버전을 지정할 수도 있음 (예: "1.2.3")

### Step 2: 버전 범프 + 커밋 + 태그

```bash
# npm version이 자동으로: package.json 수정 → git commit → git tag v{version}
npm version {patch|minor|major}
```

또는 직접 버전 지정:
```bash
npm version {specific-version}
```

### Step 3: Push (코드 + 태그)

```bash
git push && git push --tags
```

### Step 4: 결과 확인

GitHub Actions release.yml이 설정되어 있는 경우:
- 태그 push로 자동 트리거됨
- test → npm publish → GitHub Release 자동 수행
- Actions 상태 확인:

```bash
gh run list --repo $(git remote get-url origin | sed 's/.*github.com[:/]//' | sed 's/.git$//') --limit 3
```

GitHub Actions가 없는 경우 (수동 publish):
```bash
npm publish --access public
```

### Step 5: 검증

```bash
# npm에서 새 버전 확인
npm view $(node -p "require('./package.json').name") version

# 설치 테스트
npx $(node -p "require('./package.json').name") --help 2>/dev/null || echo "No --help handler"

From dmsdc-ai/aigentry-devkit, MIT.

More from dmsdc-ai/aigentry-devkit

Signals

Stars
0
Forks
0
Open issues
5
Last commit (this folder)
Feb 28, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from dmsdc-ai

Cite this page

npm-release skill. Agent Mart. https://agentmart.dev/skills/dmsdc-ai-npm-release (last updated 2026-10-24)