Loading...
Loading...
Used when a feature has been implemented but lacks design documentation and implementation plans. Automatically generate documents conforming to /hi-brainstorm and /hi-ace formats based on existing code and git history.
npx skill4agent add jimmy1987s/ec-claude-skills backfill-documentationSkill: brainstormingSkill: executing-plansgit log --oneline --since="YYYY-MM-DD" --grep="<關鍵字>"docs/plans/YYYY-MM-DD-<topic>-design.md[x]docs/plans/YYYY-MM-DD-<topic>-plan.md> **狀態:** ✅ 已完成~/.claude/plans/YYYY-MM-DD-<project>-<topic>.md# <project>-<topic>
project_path: <專案路徑>
status: done
design_file: docs/plans/YYYY-MM-DD-<topic>-design.md
plan_file: docs/plans/YYYY-MM-DD-<topic>-plan.md/hi-update-plans-indexgit add docs/plans/
git commit -m "docs: 補充 <功能名稱> 的設計與實作計劃文件
- 新增 <topic>-design.md(設計文件)
- 新增 <topic>-plan.md(實作計劃,已完成)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>"# <功能名稱>設計
## 概述
<簡短描述功能目的和解決的問題>
## 需求
1. <需求 1>
2. <需求 2>
3. ...
## 使用者體驗流程
## 資料流程
## 資料結構變更
### <collection/type 名稱>
```typescript
{
existingField: string;
newField: string; // 新增:說明
}| 檔案 | 變更內容 |
|---|---|
| <變更描述> |
// 關鍵程式碼片段(說明核心邏輯)
## Implementation Plan Template
Refer to the /hi-ace output format:
```markdown
# <功能名稱> 實作計劃
> **狀態:** ✅ 已完成
**目標:** <功能目標>
**架構:** <技術架構簡述>
**技術棧:** <使用的技術>
---
### 任務 1:<任務名稱> ✅
**檔案:**
- 修改:`path/to/file.ts`
**完成內容:**
- <完成的項目 1>
- <完成的項目 2>
---
### 任務 2:<任務名稱> ✅
...
---
## 變更摘要
**影響檔案:**
- `file1.ts` - <變更描述>
- `file2.ts` - <變更描述>
**整體風險:** 🟢(已完成,無問題)
**相關 Commits:**
- `<commit message 1>`
- `<commit message 2>`