You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(.claude): ⚙️ changeset-generator 스킬에 commit hash prefix 대응 가이드 추가
pnpm changeset version이 changeset 본문을 '- <hash>: <content>' 형태로
감싸는 점을 고려하여 SKILL.md의 포맷 가이드를 업데이트한다.
'### 헤딩', 빈 줄, 다단락 본문은 리스트 아이템을 깨뜨리므로 금지하고
한 줄 평문 불릿 형태로 작성하도록 명시한다.
Copy file name to clipboardExpand all lines: .claude/skills/changeset-generator/SKILL.md
+14-20Lines changed: 14 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This skill replaces `pnpm changeset add` by automatically analyzing git changes
22
22
- Bug fixes, dependency bumps → `patch`
23
23
- Docs/CI/refactor with no API impact → excluded by default
24
24
3.**Asks how to group**: When multiple packages are changed, asks the user whether to bundle them into a single changeset or create separate changeset files per package
25
-
4.**Writes user-friendly description**: Transforms commit messages into clear release notes with code examples for breaking changes or new APIs
25
+
4.**Writes user-friendly description**: Transforms commit messages into a flat list of plain-sentence bullets (one per change) that render cleanly after the changelog's `- <commit-hash>:` prefix
26
26
5.**Creates the changeset file(s)**: Writes to `.changeset/<slug>.md` and shows it for review before committing
27
27
28
28
## How to Use
@@ -35,34 +35,28 @@ Analyzes all commits since branching from `main` and generates the changeset fil
35
35
36
36
## Changeset File Format
37
37
38
+
**IMPORTANT:**`pnpm changeset version` wraps every changeset body line as `- <commit-hash>: <content>` in the generated `CHANGELOG.md`. This means markdown headings (`###`), blank lines, and multi-paragraph content inside a changeset body will render as a broken list item. Keep the body as a flat list of plain sentences — one bullet per change — and do NOT use headings or section labels.
39
+
40
+
Good format (renders cleanly under `- abc1234: ...`):
41
+
38
42
````md
39
43
---
40
44
"@scope/package-a": minor
41
45
"@scope/package-b": patch
42
46
---
43
47
44
-
### Breaking Changes
45
-
46
-
- Description with before/after code examples
47
-
48
-
```ts
49
-
// Before
50
-
importfoofrom"@scope/package-a/old-name";
51
-
52
-
// After
53
-
importfoofrom"@scope/package-a/new-name";
54
-
```
48
+
- Rename `@scope/package-a/old-name` export to `@scope/package-a/new-name`. Update imports to use the new path.
49
+
- Add new helper `formatFoo()` in `@scope/package-b` for formatting foo values.
50
+
- Fix crash in `@scope/package-a` when config is undefined.
55
51
````
56
52
57
-
### New Features
53
+
Guidelines for each bullet:
58
54
59
-
- Description with usage example
60
-
61
-
### Bug Fixes
62
-
63
-
- Description
64
-
65
-
```
55
+
- Write one self-contained sentence per change. If context is needed, add it inline — do not split across lines or paragraphs.
56
+
- Lead with the action verb (Add / Fix / Rename / Remove / Update).
57
+
- Mention affected exports, APIs, or files inline using backticks so the changelog is searchable.
58
+
- For breaking changes, state the before → after inline (e.g., "Rename `X` to `Y`") rather than using a separate heading.
59
+
- Do not use `###`, `**bold labels**`, blockquotes, or fenced code blocks inside the body — they will break the wrapped list item.
0 commit comments