Skip to content

Noirewinter/hplan / skills/hplan-zh

分层持久化计划管理,适用于复杂的多阶段开发任务。当用户要求进行涉及多文件修改、 架构重构、系统设计等需要详细规划的任务时使用(超过5次工具调用的任务)。 创建分层的计划目录结构:overview.md(全局摘要)+ 每个阶段独立目录(详细规格、 调用链、检查清单)。触发词包括:开始规划、制定计划、任务分解。

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 错误"]

## 注意事项
- [需要特别小心的地方]
- [已知的坑/风险]
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall