一键导入
dev
Feature implementation workflow. Use when developer wants to implement a feature or fix - creates branch, plans, implements, and validates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Feature implementation workflow. Use when developer wants to implement a feature or fix - creates branch, plans, implements, and validates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Git commands for branching, committing, merging, rebasing, and squashing. Use when developer needs to create branches, commit changes, merge or rebase branches, or squash commits.
GitHub commands (issues, PRs, ship). Use when developer needs to create issues, create/update PRs, address review comments, or ship experimental changes.
Project management commands (init, skill-up, diagram)
Autonomous test writing agent. Use when developer wants tests written for changed files. Analyzes git diff, identifies components needing tests, writes unit tests following project conventions with Vitest.
DeepSource commands (review issues). Use when developer needs to review and fix static analysis issues.
Generate assets from source files (icons, etc.)
| name | dev |
| description | Feature implementation workflow. Use when developer wants to implement a feature or fix - creates branch, plans, implements, and validates. |
| user-invocable | true |
| argument-hint | <issue-number> [-y] |
Feature implementation workflow — from issue to PR.
/dev
<issue-number> Implement GitHub issue (e.g., /dev 12)
<issue-number> -y Implement with auto-confirm (auto-commit and PR)
-y, --yes Skip confirmations
If no issue number provided: Ask the developer for the issue number. Do not proceed without one.
If -y is passed, all sub-skill invocations inherit auto-confirm.
Before starting the workflow, check if a progress file exists:
.claude/progress/<feature-slug>.md
If progress file exists:
"Found progress for
<feature>:
- Completed:
- Remaining: Continue?"
If no progress file exists, check git history for prior session work:
git log main..HEAD --oneline and git diff main..HEAD --statFetch the issue details:
gh issue view <issue-number>
Extract requirements and acceptance criteria.
Check current branch:
git branch --show-current
If already on a feature branch for this work → skip to Step 3.
Otherwise:
Check for uncommitted changes:
git status
If changes exist, save them:
git add -A
git commit -m "wip: save work before switching branch"
Create new branch using /git branch
"Before I start:
- Any specific instructions or context? (approach, files to reference, constraints)
- How would you like to work?
- All at once — I implement all plan items, then ask you to verify
- Pair programming — I implement one plan item at a time, you review each before I continue"
Confirmation gate: If -y → default to "all at once" mode and proceed. Otherwise → wait for response before continuing.
After the developer responds, create the progress file at .claude/progress/<feature-slug>.md.
The plan items are the implementation tasks from the todo list — the actual work items, not the workflow steps.
# Progress: <feature>
## Mode
<all-at-once | pair>
## Branch
<current-branch-name>
## Requirements
<requirements summary>
## Plan
- [ ] <plan item 1>
- [ ] <plan item 2>
- [ ] <plan item 3>
- ...
## Developer Notes
<any instructions or context the developer provided>
.claude/rules/coding.md for all coding conventions.claude/rules/testing.md when writing or updating testsImplement all plan items sequentially without pausing. After each item, update the progress file — mark the plan item as [x]. After all items are done, proceed to Step 5.
For each plan item:
[x], move to the next plan itemAfter all items are done, proceed to Step 5.
Confirmation gate: If -y → proceed to Step 6. Otherwise → ask:
"All plan items are implemented. Please test the feature and let me know:
- All good — continue to tests
- Needs changes — describe what to fix/refine"
Wait for response. If needs changes → apply fixes, update progress file, ask again.
Delegate to the test-writer agent:
Run /validate to check lint, types, and tests in parallel.
Fix any errors before completing.
Confirmation gate: If -y → invoke /git commit and /github create pr, then proceed to Step 9. Otherwise → ask:
"Would you like to commit the changes and create a PR?"
/git commit, then /github create prReflect on the session and suggest improvements to instructions.
Invoke /project skill-up for what to look for and output format.
After all steps are complete, delete the progress file:
.claude/progress/<feature-slug>.md