跳到正文
cccskills
免费在 GitHub 公开

new-ddd

Initialize a new project using Documentation-Driven Development. Research, then write user-facing docs (SPEC.md) as the spec, then user validates docs, then phases derive from doc sections. Best for CLIs, libraries, SDKs, APIs, plugin systems, anything with a well-defined user-facing surface.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

<runtime_note> Copilot (VS Code): Use vscode_askquestions wherever this workflow calls AskUserQuestion. They are equivalent, vscode_askquestions is the VS Code Copilot implementation of the same interactive question API. </runtime_note>

<context> **Documentation-Driven Development (DDD) mode for project initialization.** Differs from `/gsd:new-project`:
  1. Users validate SPEC.md (user-facing docs: README, USAGE, CONCEPTS, API surface) rather than REQUIREMENTS.md (REQ-IDs + acceptance criteria).
  2. Phases derive from SPEC.md sections / chapters rather than REQ-ID clusters.
  3. Each phase's success criterion is "implementation matches the corresponding SPEC.md section" rather than "tests pass and UAT satisfied."

When to use DDD vs. standard new-project:

  • CLIs (the help text IS the spec)
  • Libraries / SDKs (README + API reference is the contract)
  • APIs (OpenAPI-style docs-as-spec)
  • Plugin / extension systems (extension API surface = docs)
  • Any project where the user-facing surface is the deliverable

When to skip DDD and use standard new-project:

  • Exploratory research where the system shape is unknown
  • Pure refactors or performance optimization
  • Backend services with no human-readable interface

Flags:

  • --auto, Automatic mode. After config questions, runs research → docs → roadmap without further interaction. Expects idea document via @ reference. </context>
<objective> Initialize a new project through Documentation-Driven Development:
  1. Questioning (deep context gathering, same as new-project)
  2. Research (parallel, same as new-project)
  3. SPEC.md drafting (NEW, writes user-facing documentation as the spec)
  4. User validation of SPEC.md (NEW, read-through and approve before any phase work)
  5. Roadmap generation (phases derived from SPEC.md sections)
  6. STATE.md initialization

Creates:

  • .planning/PROJECT.md, project context
  • .planning/config.json, workflow preferences (mode: ddd set)
  • .planning/research/, domain research (optional)
  • docs/SPEC.md, user-facing documentation as the spec
  • .planning/REQUIREMENTS.md, thin traceability shell, each entry pointing at a SPEC.md section
  • .planning/ROADMAP.md, phase structure derived from SPEC.md sections
  • .planning/STATE.md, project memory (with mode: ddd marker)

After this command: Run /gsd:plan-phase 1 to start execution. Per-phase work proceeds as standard GSD; SPEC.md is the spec each phase implements against. Manual doc updates during execution are expected; per-phase doc-sync automation is held for a future release. </objective>

<execution_context> @${CLAUDE_PLUGIN_ROOT}/workflows/new-ddd.md @${CLAUDE_PLUGIN_ROOT}/workflows/new-project.md @${CLAUDE_PLUGIN_ROOT}/references/questioning.md @${CLAUDE_PLUGIN_ROOT}/references/ui-brand.md @${CLAUDE_PLUGIN_ROOT}/templates/project.md </execution_context>

<process> Execute the new-ddd workflow from @${CLAUDE_PLUGIN_ROOT}/workflows/new-ddd.md end-to-end. Where the workflow says "as in new-project step N", follow the matching step from @${CLAUDE_PLUGIN_ROOT}/workflows/new-project.md to avoid duplicated logic. Preserve all workflow gates (validation, approvals, commits, routing). </process>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add an idea to the backlog parking lot (999.x numbering)

中文简介正在准备中。当前显示原文说明。

buildomator/buildomator962026年10月20日 更新

add-phase

免费

Add phase to end of current milestone in roadmap

中文简介正在准备中。当前显示原文说明。

buildomator/buildomator962026年10月20日 更新

add-tests

免费

Generate tests for a completed phase based on UAT criteria and implementation

中文简介正在准备中。当前显示原文说明。

buildomator/buildomator962026年10月20日 更新

add-todo

免费

Capture idea or task as todo from current conversation context

中文简介正在准备中。当前显示原文说明。

buildomator/buildomator962026年10月20日 更新

Generate AI design contract (AI-SPEC.md) for phases that involve building AI systems — framework selection, implementation guidance from official docs, and evaluation strategy

中文简介正在准备中。当前显示原文说明。

buildomator/buildomator962026年10月20日 更新

Analyze phase dependencies and suggest Depends on entries for ROADMAP.md

中文简介正在准备中。当前显示原文说明。

buildomator/buildomator962026年10月20日 更新

查看 buildomator 的全部技能

报告此技能的问题