From spec-workflow
Auto-fix code review issue items. Use for "fix review issues", "fix code review", "리뷰 이슈 수정해줘", "코드 리뷰 fix해줘" requests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/spec-workflow:fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Auto-fix checklist items from GitHub issues created by `/review` command.
Auto-fix checklist items from GitHub issues created by /review command.
/fix # Fix most recent code-review issue
/fix #123 # Fix specific issue number
/fix --all # Fix all unchecked items (default: one at a time)
/fix --critical # Fix Critical items only
/fix --warning # Fix Warning items only
/fix --suggestion # Fix Suggestion items only
/fix --critical --warning # Fix Critical + Warning
Default: Fix all severities (Critical, Warning, Suggestion)
Arguments: $ARGUMENTS
If no severity option specified, use AskUserQuestion to ask user about fix scope.
If no argument, find most recent open issue with code-review label:
gh issue list --label "code-review" --state open --json number,title,body --limit 1
Parse unchecked checkbox items from all sections (Critical, Warning, Suggestion) in issue body:
- [ ] [AgentName] Issue description (`file:line`)
Fix Priority: Critical → Warning → Suggestion
Use file:line info to understand context
| Agent | Fix Strategy |
|---|---|
| Code Reviewer | Fix code to follow guidelines, style consistency |
| Silent Failure Hunter | Add proper error handling, improve catch blocks |
| Type Design Analyzer | Improve type definitions, enhance encapsulation |
| Code Simplifier | Simplify code, remove unnecessary complexity |
| Comment Analyzer | Fix/add/remove comments |
Use Edit tool to modify code
# Python
cd apps/api && uv run ruff check --fix . && uv run mypy .
# TypeScript
cd apps/web && pnpm lint --fix && pnpm typecheck
Check off completed items:
gh issue view {issue-number} --json body -q .body > /tmp/review-issue.md
# Update checkboxes
gh issue edit {issue-number} --body-file /tmp/review-issue.md
git add .
git commit -m "fix: address code review issues (#${issue-number})"
If all checkboxes checked, auto-close the issue:
gh issue close {issue-number} --comment "All review items have been fixed!"
Code Review Fix Complete!
Issue: #{issue-number}
Fixed Items: {N} (Critical: {a}, Warning: {b}, Suggestion: {c})
Changed Files:
- {file list}
Next Steps:
- Push changes: `git push`
Code Review Partially Complete
Issue: #{issue-number}
Auto-fixed: {N}
Manual fix needed: {M}
Skip items that are difficult to auto-fix and report with reason:
Manual fix needed when:
--all option, fix one item at a time--critical, --warning, --suggestion optionsnpx claudepluginhub junsik/claude-plugins --plugin spec-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.