/dev-flow:work-onfrom dev-flow
端到端功能開發編排——規劃、實作、測試、提交一條龍。Use when starting new feature development or fixing issues end-to-end, "開發這個功能", "work on", "從頭到尾做完", "端到端開發", "完整開發流程".
Ships in dev-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
從規劃到提交的端到端開發編排。此流程與你協作,而非替你獨斷;每個階段都有品質閘門。
git status 確認工作目錄乾淨;必要時 git stash。git checkout -b feature/{name}(或切換到既有分支)。docs/{category}/{name}_規格書.md;不存在則建議先跑 spec 建立。依任務性質選用對應的 subagent 角色,而非固定綁某個 agent 名稱:
| 任務性質 | 建議角色 |
|---|---|
| 全新功能(從零開始) | 規劃型 → 實作型(先規劃領域邊界,再實作) |
| 涉及外部整合/背景排程/資料存取 | 實作型 +(必要時)架構審查型 |
| 測試/覆蓋率為主 | 實作型 + 測試型 |
| 一般修改 | 實作型 |
規劃型應先識別領域邊界、檢視現有模型、搜尋可重用的類似實作、規劃遵循專案慣例的檔案結構,再把計劃回報供你審核。
dotnet build && dotnet test,其他工具鏈比照)。quality-check 做全面驗證,全綠再往下。git add 後用 commit 產生語義化提交訊息(禁止 git add -A)。git push 與(如需要)開 PR、跑 review。依 Clean Architecture 分層列出待辦,層名與專案結構對齊:
# {功能名稱} 實作計劃
## Domain 層
- [ ] Entities/{Entity}
- [ ] ValueObjects/{ValueObject}
- [ ] Interfaces/I{Repository}
## Application 層
- [ ] Services/{Service}
- [ ] Commands/Queries、DTOs、Validators
## Infrastructure 層
- [ ] Repositories/{Repository}
- [ ] 外部整合(API/訊息/背景排程,如需要)
## Presentation 層
- [ ] Controllers/{Controller}(如需要)
- [ ] 背景工作/{Job}(如需要)
## Tests
- [ ] Domain / Application / Integration 對應測試
## 整合
- [ ] 相依性注入設定
- [ ] 資料庫遷移(如需要)
flowchart LR
A[準備] --> B[實作中]
B --> C[測試中]
C --> D[完成]
D --> E[審查中]
feature — 建分支並做初步領域規劃spec — 建立/更新規格書quality-check — 提交前驗證品質review — 完成前審查commit — 建立語義化提交What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kerryhuang/kerryhuang-plugins --plugin dev-flow17 skills in this plugin
/agent-orchestration適用於多階段 agent chain(≥2 個 agent 接力)、需要用 output file 交棒、把多步工作流展示給使用者確認、偵測到「工作完成」需清理階段性產物、跨 agent 任務串接決策。涵蓋 chain 規範、output 路徑、清理流程、工作流呈現格式、subagent 作為 context 隔離工具的使用時機。觸發語:「召喚某 agent」「多階段流程」「派 subagent」「工作流規劃」「agent 交棒」「orchestration」。/commit建立符合 Conventional Commits 規範的語義化提交訊息,支援 Git Flow + Semantic Release 工作流程。Use when creating git commits, "commit 這些變更", "幫我提交", "建立 commit", "semantic commit"./context-hygieneUse when 對話很長 / context 變長 / context 快滿 / 感覺 Claude 變笨 / 連續修同一錯誤失敗 / 即將切換到無關任務 / 要讀大量檔案探索 / agent 交接(handoff)/ 使用者說「對話太長」「感覺變笨」「context 滿了」「要不要清一下」「clean context」時。Other plugins' skills for the same job