Noirewinter/hplan / skills/hplan-zh
hplan
Verified分层持久化计划管理,适用于复杂的多阶段开发任务。当用户要求进行涉及多文件修改、 架构重构、系统设计等需要详细规划的任务时使用(超过5次工具调用的任务)。 创建分层的计划目录结构:overview.md(全局摘要)+ 每个阶段独立目录(详细规格、 调用链、检查清单)。触发词包括:开始规划、制定计划、任务分解。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.1 KB |
| scripts/advance-phase.sh | script | 2.0 KB |
| scripts/check-complete.sh | script | 2.4 KB |
| scripts/init-plan.sh | script | 2.4 KB |
| scripts/inject-overview.sh | script | 279 B |
| scripts/post-edit-remind.sh | script | 321 B |
| scripts/recover-context.sh | script | 1.5 KB |
| scripts/validate-plan.sh | script | 2.1 KB |
| templates/call_chain.md | markdown | 1.2 KB |
| templates/checklist.md | markdown | 509 B |
| templates/decisions.md | markdown | 112 B |
| templates/errors.md | markdown | 130 B |
| templates/overview.md | markdown | 305 B |
| templates/spec.md | markdown | 1.4 KB |
templates/spec.md
View on GitHub# Phase N: [阶段名称]
## 目标
[该阶段要达成的具体目标]
## 前置条件
- [需要先完成什么 / 依赖哪个阶段的产出]
## 修改文件清单
| 文件 | 操作 | 变更内容 |
|------|------|---------|
| `path/to/file1.py` | 修改 | [具体要改什么] |
| `path/to/file2.py` | 修改 | [具体要改什么] |
| `path/to/new_file.py` | 新建 | [文件用途和核心接口] |
| `path/to/old_file.py` | 删除 | [删除原因] |
## 核心变更详情
### [变更点 1]
```
文件:path/to/file.py
修改前:
def old_method(self, param_a):
...
修改后:
def new_method(self, param_a, param_b):
...
影响范围:
- 所有调用 old_method() 的地方需要同步修改
- 涉及文件:xxx.py, yyy.py
```
### [变更点 2]
```
文件:path/to/new_module.py
类/函数签名:
class NewService:
def __init__(self, config)
def process(self, input) -> Output
def validate(self, data) -> bool
关键逻辑:
- [描述核心算法/逻辑]
- [描述边界条件处理]
```
## 数据结构(如有新增)
```
NewModel {
id: int
name: str
status: "active" | "inactive"
created_at: datetime
}
```
## 验收标准
- [ ] [标准1:例如"单元测试全部通过"]
- [ ] [标准2:例如"接口响应格式符合约定"]
- [ ] [标准3:例如"无 import 错误"]
## 注意事项
- [需要特别小心的地方]
- [已知的坑/风险]
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |