fix(command): improve /get-unpublished-changes output clarity
- Enforce immediate output without questions - Require actual diff analysis instead of commit message copying - Unify output format across all change types - Remove emojis from section headers 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -4,13 +4,25 @@ model: anthropic/claude-haiku-4-5
|
|||||||
---
|
---
|
||||||
|
|
||||||
<command-instruction>
|
<command-instruction>
|
||||||
Analyze the unpublished changes since the last npm release and provide a structured summary.
|
IMMEDIATELY output the analysis. NO questions. NO preamble.
|
||||||
|
|
||||||
Your task:
|
## CRITICAL: DO NOT just copy commit messages!
|
||||||
1. Review the context below (auto-injected via shell)
|
|
||||||
2. Summarize changes grouped by type (feat, fix, refactor, docs, chore)
|
For each commit, you MUST:
|
||||||
3. Highlight breaking changes if any
|
1. Read the actual diff to understand WHAT CHANGED
|
||||||
4. Suggest next version bump (major/minor/patch) based on conventional commits
|
2. Describe the REAL change in plain language
|
||||||
|
3. Explain WHY it matters (if not obvious)
|
||||||
|
|
||||||
|
## Steps:
|
||||||
|
1. Run `git diff v{published-version}..HEAD` to see actual changes
|
||||||
|
2. Group by type (feat/fix/refactor/docs) with REAL descriptions
|
||||||
|
3. Note breaking changes if any
|
||||||
|
4. Recommend version bump (major/minor/patch)
|
||||||
|
|
||||||
|
## Output Format:
|
||||||
|
- feat: "Added X that does Y" (not just "add X feature")
|
||||||
|
- fix: "Fixed bug where X happened, now Y" (not just "fix X bug")
|
||||||
|
- refactor: "Changed X from A to B, now supports C" (not just "rename X")
|
||||||
</command-instruction>
|
</command-instruction>
|
||||||
|
|
||||||
<version-context>
|
<version-context>
|
||||||
@@ -40,15 +52,33 @@ Your task:
|
|||||||
<output-format>
|
<output-format>
|
||||||
## Unpublished Changes (v{published} → HEAD)
|
## Unpublished Changes (v{published} → HEAD)
|
||||||
|
|
||||||
### Commits ({count})
|
### feat
|
||||||
| Type | Scope | Description |
|
| Scope | What Changed |
|
||||||
|------|-------|-------------|
|
|-------|--------------|
|
||||||
| ... | ... | ... |
|
| X | 실제 변경 내용 설명 |
|
||||||
|
|
||||||
|
### fix
|
||||||
|
| Scope | What Changed |
|
||||||
|
|-------|--------------|
|
||||||
|
| X | 실제 변경 내용 설명 |
|
||||||
|
|
||||||
|
### refactor
|
||||||
|
| Scope | What Changed |
|
||||||
|
|-------|--------------|
|
||||||
|
| X | 실제 변경 내용 설명 |
|
||||||
|
|
||||||
|
### docs
|
||||||
|
| Scope | What Changed |
|
||||||
|
|-------|--------------|
|
||||||
|
| X | 실제 변경 내용 설명 |
|
||||||
|
|
||||||
|
### Breaking Changes
|
||||||
|
None 또는 목록
|
||||||
|
|
||||||
### Files Changed
|
### Files Changed
|
||||||
{diff-stat summary}
|
{diff-stat}
|
||||||
|
|
||||||
### Suggested Version Bump
|
### Suggested Version Bump
|
||||||
- **Recommendation**: {patch|minor|major}
|
- **Recommendation**: patch|minor|major
|
||||||
- **Reason**: {brief explanation}
|
- **Reason**: 이유
|
||||||
</output-format>
|
</output-format>
|
||||||
|
|||||||
Reference in New Issue
Block a user