Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计未展示

spec%3aplan规格%3a 计划

Agent Skill

spec%3aplan 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

198

周安装

8

GitHub Stars

20

下载量

62
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:spec%3aplan(规格%3a 计划)
来源仓库:https://github.com/martinffx/atelier
仓库路径:skills/spec%3Aplan
安装命令:
npx skills add https://github.com/martinffx/atelier --skill spec:plan
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/martinffx/atelier --skill spec:plan

简介

spec%3aplan 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Spec Plan

Write a plan so detailed that an engineer with zero codebase context and questionable taste could follow it. Let the human tear it apart through annotation cycles until it's right. Then create structured tasks. This skill does not write code.

Artifacts

docs/specs/YYYY-MM-DD-<feature-name>/
├── spec.md    ← From spec:research (approved)
└── plan.json  ← This skill's output

The plan starts as a markdown draft for human annotation, then gets converted to structured plan.json when approved.

plan.json Schema

{
  "feature": "user-authentication",
  "spec": "docs/specs/2026-03-08-user-auth/spec.md",
  "goal": "Add email/password authentication with session management",
  "phases": [
    {
      "id": "P1",
      "name": "Domain Model",
      "tasks": [
        {
          "id": "T1",
          "name": "Implement UserEntity with validation",
          "depends_on": [],
          "files": {
            "create": ["src/entities/user.ts", "tests/entities/user.test.ts"],
            "modify": []
          },
          "steps": [
            {
              "action": "write_test",
              "description": "Write failing test for UserEntity validation",
              "code": "describe('UserEntity', () => {\n  it('rejects empty email', () => {\n    const user = User.fromRequest({ email: '', password: 'valid123' });\n    expect(user.validate().ok).toBe(false);\n  });\n});",
              "file": "tests/entities/user.test.ts"
            },
            {
              "action": "verify_fail",
              "command": "npx vitest run tests/entities/user.test.ts",
              "expected": "FAIL — User not defined"
            },
            {
              "action": "implement",
              "description": "Write minimal UserEntity to pass test",
              "code": "class User {\n  static fromRequest(req: CreateUserRequest): User { ... }\n  validate(): Result<User> { ... }\n}",
              "file": "src/entities/user.ts"
            },
            {
              "action": "verify_pass",
              "command": "npx vitest run tests/entities/user.test.ts",
              "expected": "PASS"
            },
            {
              "action": "commit",
              "message": "feat(auth): add UserEntity with email validation"
            }
          ]
        }
      ]
    }
  ]
}

Field reference

FieldTypeDescription
featurestringKebab-case feature name (matches requirements.json)
specstringPath to the approved spec.md
goalstringOne-sentence goal
phasesPhase[]Implementation phases in dependency order
phases[].idstringPhase identifier (P1, P2...)
phases[].namestringPhase name (e.g. "Domain Model", "Data Access")
phases[].tasksTask[]Tasks within this phase

Task fields

FieldTypeDescription
idstringTask identifier (T1, T2...)
namestringWhat this task implements
depends_onstring[]Task IDs that must complete first
files.createstring[]Files to create
files.modifystring[]Files to modify
stepsStep[]Bite-sized steps (2-5 min each)

Step fields

FieldTypeDescription
action"write_test" \"verify_fail" \"implement" \"verify_pass" \"commit"Step type
descriptionstringWhat to do (optional for verify/commit)
codestringComplete code to write (for write_test and implement)
filestringTarget file path (for write_test and implement)
commandstringCommand to run (for verify steps)
expectedstringExpected output (for verify steps)
messagestringCommit message (for commit steps)

Step 1: Write the Plan Draft

Read the approved spec.md, then write a detailed implementation plan as a markdown section at the bottom of spec.md (or as a separate draft — whichever the human prefers).

Plan quality

Write assuming the implementer:

  • Is a skilled developer but knows nothing about this codebase
  • Doesn't know good test design very well
  • Will take the path of least resistance if the plan is vague
  • Needs exact file paths, complete code, and exact commands

Task structure

Each task should be bite-sized (2-5 minutes) and include:

  • Files: Exact paths to create, modify, and test
  • Test: The failing test to write first, with exact command and expected output
  • Implementation: The minimal code to make the test pass
  • Verification: Exact command and what passing looks like
  • Commit: Message following project conventions

Task ordering

Follow bottom-up dependency ordering from oracle:architect:

Entity → Repository → Service → Router/Consumer

Task granularity

Each step is one action:

  • "Write the failing test" — one step
  • "Run it to verify it fails" — one step
  • "Implement the minimal code" — one step
  • "Run tests to verify pass" — one step
  • "Commit" — one step

If a task takes longer than 5 minutes, break it down further.

DRY. YAGNI. TDD. Frequent commits.

Tell the human: "Plan draft is ready for review."

STOP. Wait for human review.


Step 2: The Annotation Cycle

The human annotates the plan draft directly — adding corrections, rejections, domain knowledge, business constraints, or "remove this entirely."

You write plan → Human adds inline notes → You address all notes → Repeat 1-6x

When the human says "I added notes":

  1. Re-read the entire document
  2. Address every single note
  3. Update the plan
  4. Do not create tasks. Do not implement.

The "don't implement yet" guard is sacred. The plan is not ready until the human explicitly approves it.

Steering patterns

PatternExampleWhat to do
Correct assumptions"use PATCH not PUT"Fix it
Reject approaches"remove caching, we don't need it"Cut cleanly
Add constraints"queue consumer already handles retries"Restructure
Override choices"use drizzle:generate, not raw SQL"Direct override
Redirect sections"visibility on the list, not items"Rethink section
Trim scope"remove download, not implementing now"Remove, no stubs

Step 3: Create Structured Tasks

When the human approves — "looks good", "approved", "create tasks" — convert the plan into plan.json.

Skill Loading

Check available skills for task tracking support. If a task tracking skill exists (e.g., beads, task-tracking), load it and use it for task creation and progress tracking. If no task tracking skill is available, use TodoWrite as fallback.

What to do

  1. Convert the annotated plan draft into structured plan.json following the schema
  2. Each task maps to a bite-sized unit with steps, files, code, and commands
  3. Dependencies between tasks are captured in depends_on fields
  4. Use the loaded task tracking skill (or TodoWrite fallback) to create tasks:

- Create an epic for the feature - Create tasks per phase - Add dependencies between tasks (e.g., Entity before Repository)

  1. Follow the task tracking skill's conventions or TodoWrite structure

Verification

After creating plan.json, verify:

  • Every task has an ID and depends_on field
  • Dependencies form a valid DAG (no cycles)
  • Every task has at least one step
  • File paths are complete and specific
  • Code snippets are complete (not "add validation here")

Handoff

When plan.json is created and tasks exist, the next step is spec:implement.

Tell the human:

"Plan is approved and tasks are created. Ready to start implementation?" Autonomous — I'll work through all tasks, only stopping if blocked. Batched — I'll do 3-5 tasks at a time, then report and wait for feedback.

Do not start implementing. That's spec:implement's job.

If implementation reveals missing tasks, update plan.json. If design is wrong, loop back to research. See spec:orchestrator for iteration patterns.


Quick Reference

Human saysYou do
"write a plan" / "plan this"Step 1 → write plan draft, stop
"I added notes"Re-read, address all notes, do NOT implement
"don't implement yet"Update plan only
"looks good" / "approved" / "create tasks"Step 3 → create plan.json + beads tasks

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.27%
按下载量换算24

Claude

27.52%
按下载量换算17

Cursor

20.78%
按下载量换算13

Gemini CLI

9.22%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills