任务规划与分解
task-planning
将 Paperclip 问题或请求转化为结构化的实施计划,包含子任务图、阻塞项、负责人和验收标准,然后将其保存为问题的 `plan` 文档。
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- key
- paperclipai/bundled/paperclip-operations/task-planning
- name
- task-planning
- tags
- [ "paperclip", "planning", "issues", "delegation" ]
- description
- Turn a Paperclip issue or request into a structured implementation plan with child task graph, blockers, owners, and acceptance criteria, then save it as the issue `plan` document.
- recommendedForRoles
- [ "manager", "engineer", "product" ]
02 资源文件 18
- 参考文档references/1-a-project-analysis.md5.7 KB
- 参考文档references/1-b-entry-point.md2.3 KB
- 参考文档references/1-c-eval-criteria.md7.5 KB
- 参考文档references/2a-instrumentation.md7.3 KB
- 参考文档references/2b-implement-runnable.md7.4 KB
- 参考文档references/2c-capture-and-verify-trace.md5.7 KB
- 参考文档references/3-define-evaluators.md10.3 KB
- 参考文档references/4-build-dataset.md21.6 KB
- 参考文档references/5-run-tests.md6.0 KB
- 参考文档references/6-analyze-outcomes.md16.2 KB
- 参考文档references/evaluators.md17.6 KB
- 参考文档references/runnable-examples/cli-app.md2.0 KB
- 参考文档references/runnable-examples/fastapi-web-server.md4.1 KB
- 参考文档references/runnable-examples/standalone-function.md1.8 KB
- 参考文档references/testing-api.md16.3 KB
- 参考文档references/wrap-api.md8.8 KB
- 脚本resources/setup.sh3.1 KB
- 脚本resources/verify_step6_completion.py4.4 KB
03 SKILL.md 正文
Task Planning
Produce implementation plans that the Paperclip executor can actually run: explicit child issues, real blockers, named owners, and a defined acceptance bar. Avoid plans that read well but cannot be split into work.
When to use
- An issue asks you to "plan", "scope", "break down", "design the rollout", "propose the work", or similar.
- A user wants a written plan before approving implementation.
- A manager needs to delegate non-trivial work and the shape of the work is not obvious yet.
- You inherited an issue too large to deliver in one heartbeat and need to split it.
When not to use
- The issue is a single small change you can ship in the same heartbeat. Just ship it.
- The issue is forensic ("why did this break"). Use a diagnosis skill first; plan only after the root cause is named.
- A current
plandocument already exists and the change is minor. Update that document; do not start fresh.
Outputs
- An updated issue document with key
plan(markdown). - A short comment on the issue that links to the plan document and names the next action.
- Where the plan requires approval, an issue-thread interaction of kind
request_confirmationbound to the latest plan revision.
Do not create implementation subtasks until the plan is accepted.
Plan structure
Required sections, in order:
- Goal — one paragraph. What changes for the user, the operator, or the system once this work lands.
- Context reviewed — bullet list of documents, files, and prior issues you read. Lets reviewers spot missing inputs.
- Constraints and non-goals — what must hold (compatibility, security, performance) and what this plan deliberately will not do.
- Approach — the chosen path, with a short rationale. If you considered alternatives, name them and why you rejected them.
- Work breakdown — ordered list of child issues. Each child has:
- Title in imperative form.
- Owner specialty (Engineer, QA, Designer, Security, DevRel, Manager, etc.).
- Scope and deliverables.
- Acceptance criteria.
- Blocks/blocked-by relationships expressed by phase letter or child title.
- Acceptance — the bar for the parent issue. How the user knows the whole thing is done.
- Risks and mitigations — short list. Skip if there are none.
- Deferrals — what is intentionally pushed to follow-up issues, with why.
Rules of thumb for splitting
- One child issue, one specialty. If two specialties have to coordinate inside the same issue, split it.
- One child issue, one acceptance verdict. If a reviewer would say "this is half done", split it.
- A child must be checkout-able by the owner from its title and description alone. Reviewers should not have to re-read the parent plan to understand a child.
- Order children by real blocker chains, not by author preference. Parallel children should explicitly say
blockers: none. - Avoid
polishorcleanupchild issues without acceptance criteria — they never close.
Filing the plan
Use the Paperclip API to write the plan document, then comment:
PUT /api/issues/{issueId}/documents/planwith the markdown body. Ifplanalready exists, include the latestbaseRevisionId.POST /api/issues/{issueId}/commentswith a short summary that links the plan:/<prefix>/issues/<issue-id>#document-plan.- If approval is required:
POST /api/issues/{issueId}/interactionswithkind: request_confirmation,targetRevisionIdset to the new plan revision,continuationPolicy: wake_assignee, andidempotencyKey: "confirmation:{issueId}:plan:{revisionId}". - Set the issue to
in_reviewafter creating the confirmation. Stay assigned so the acceptance wakes the planner.
When the plan is accepted, see the companion skill for converting accepted plans into Paperclip executable tasks.
Anti-patterns
- Plan disguised as a description edit. Use the
plandocument. - "Phases A–Z" with no work breakdown inside the phases.
- Children with descriptions that say "see parent" — they fail at delegation time.
- Acceptance written as "code review approval". Reviewers need a behavior bar, not a process bar.
- Plans that bury blocker chains in prose. Use explicit blocked-by lines.
04 同仓库更多 Skills
Terminal-Bench 循环迭代修复诊断
terminal-bench-loop
通过 Paperclip,以有界、人工参与的改进循环运行单个 Terminal-Bench 题目,直到冒烟测试通过、评审委员会拒绝下一项修复、迭代预算耗尽,或明确指出真正的阻塞点。每次迭代都会针对隔离的 Paperclip App 工作树运行有界冒烟测试、捕获产物、使用 `/diagnose-why-work-stopped` 诊断确切的停止点、在任何产品修复前请求评审委员会确认,然后在同一工作树上重新运行。当某个 issue 要求“循环运行 Terminal-Bench”“驱动 Terminal-Bench 直到通过”“通过 Paperclip 循环修复 fix-git”,或以其他方式指向 Terminal-Bench 任务并要求带诊断的有界迭代时使用。
PARA 记忆文件管理
para-memory-files
基于文件的记忆系统,采用 Tiago Forte 的 PARA 方法。当你需要跨会话存储、检索、更新或组织知识时使用此技能。涵盖三个记忆层:(1) PARA 文件夹中的知识图谱与原子化 YAML 事实,(2) 作为原始时间线的每日笔记,(3) 关于用户行为模式的隐性知识。还处理计划文件、记忆衰减、每周综合以及通过 qmd 进行的检索。在任何记忆操作时触发:保存事实、写每日笔记、创建实体、运行每周综合、回忆过去的上下文或管理计划。
Paperclip 任务协调管理
paperclip
与 Paperclip 控制平面 API 交互,以管理任务、与其他智能体协调并遵循公司治理。当你需要检查任务分配、更新任务状态、委派工作、发布评论、设置或管理例程(周期性计划任务),或调用任何 Paperclip API 端点时使用。请勿将其用于实际的领域工作本身(编写代码、研究等)——仅用于 Paperclip 协调。
Paperclip 本地实例开发运维
paperclip-dev
开发并运维本地 Paperclip 实例——启动和停止服务器、从 master 拉取更新、运行构建和测试、管理工作树、备份数据库以及诊断问题。当你需要在 Paperclip 代码库本身上工作,或需要保持运行中的实例健康时使用。
Paperclip 插件创建开发
paperclip-create-plugin
使用 CLI 优先的工作流创建和开发外部 Paperclip 插件。适用于搭建新插件、针对运行中的 Paperclip 实例开发本地插件,或更新插件编写文档。涵盖 `paperclipai plugin init`、通过 `paperclipai plugin install <path>` 进行的本地安装循环、worker/UI 的重建与重新加载语义,以及必需的成功检查清单。
Paperclip 智能体创建
paperclip-create-agent
在 Paperclip 中以治理感知的方式创建新智能体(招聘)。当你需要检查适配器配置选项、对比现有智能体配置、起草新的智能体提示/配置并提交招聘请求时使用。