Token导航 LogoToken导航

Agent Skill · 研究检索

cdd-init-project(cdd 初始化项目)

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

cdd-init-project 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 69,087。

总安装 220周安装 9GitHub Stars 1下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:cdd-init-project(cdd 初始化项目)
来源仓库:https://github.com/ruphware/cdd-skills
仓库路径:skills/cdd-init-project
安装命令:
npx skills add https://github.com/ruphware/cdd-skills --skill cdd-init-project
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ruphware/cdd-skills --skill cdd-init-project

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

cdd-init-project 用于为新项目或转型项目建立 CDD 工作流基础,生成 AGENTS.md、TODO.md 等契约文件,适合在 Codex、Claude、Cursor、Gemini CLI 中启动规范化开发时使用。它适用于全新目录、原始文档文件夹或 boilerplate 克隆后的首次配置场景。

采用 canonical contract 确保格式稳定,保留模板痕迹的同时适配具体项目需求。使用前应确认目标路径为空或可覆盖,避免与已有工程冲突。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/cdd-init-project

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ruphware/cdd-skills --skill cdd-init-project;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cdd-init-project 怎么安装?

在终端执行 npx skills add https://github.com/ruphware/cdd-skills --skill cdd-init-project。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cdd-init-project 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cdd-init-project 需要什么权限?

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

cdd-init-project 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cdd-init-project 用的人多吗?

公开数据是累计安装 220 次,近一周安装 9 次,下载 71 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cdd-init-project 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cdd-init-project

cdd 初始化项目 · 本页

2201需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

CDD Init Project (explicit-only)

This skill is designed for:

  • a brand-new project directory
  • a folder with raw source/reference documents but no substantive code yet
  • a repo freshly created from cdd-boilerplate
  • an existing repo that wants to adopt the CDD workflow

Canonical contract (do not duplicate)

Use these repo files as the authoritative workflow and format:

  • AGENTS.md
  • README.md
  • TODO.md (and/or TODO-*.md)
  • docs/JOURNAL.md
  • docs/specs/prd.md
  • docs/specs/blueprint.md
  • docs/prompts/PROMPT-INDEX.md (if present)

For methodology-stable contract surfaces, materialize from cdd-boilerplate and preserve the CDD workflow language under the drift rules below instead of freehand rewriting.

High-impact action guardrails

  • Stay read-only until the user approves a concrete apply plan.
  • Require a separate explicit confirmation before any networked or repo-admin action, including:

- cloning or downloading bootstrap material - creating a GitHub repo or remote - git init, connecting a remote, or git push - moving or restoring user documents to resolve template path conflicts

  • When asking for that confirmation, list the exact commands or operations, the affected paths, and whether network access is required.
  • Never infer approval for clone/remote/init/push operations from general interest in adopting CDD.
  • If the user approves document edits but not repo-admin or networked actions, stop at that boundary and report the blocked next step.

Canonical bootstrap source

  • Treat https://github.com/ruphware/cdd-boilerplate as the canonical bootstrap source when boilerplate material is needed.
  • Even when that canonical source is identified, do not copy, download, clone, or otherwise materialize boilerplate from it until the user gives separate explicit confirmation.
  • If the user explicitly prefers a local checkout or network access is unavailable, ask for a local path to an existing cdd-boilerplate checkout as the fallback bootstrap source.

Required README CDD header block

  • For fresh/bootstrap repos, require this exact README.md block under the title and short project description, before the rest of the runbook content:
[![CDD Project](https://img.shields.io/badge/CDD-Project-ecc569?style=flat-square&labelColor=0d1a26)](https://github.com/ruphware/cdd-boilerplate)
[![CDD Skills](https://img.shields.io/badge/CDD-Skills-ecc569?style=flat-square&labelColor=0d1a26)](https://github.com/ruphware/cdd-skills)
> This repo follows the [`CDD Project`](https://github.com/ruphware/cdd-boilerplate) + [`CDD Skills`](https://github.com/ruphware/cdd-skills) workflow with the local [`AGENTS.md`](./AGENTS.md) contract.
> Start with `$cdd-boot`. Use `$cdd-plan` + `$cdd-implement-todo` for feature work, `$cdd-maintain` for upkeep and drift control, and `$cdd-refactor` for structured refactors.
  • For existing-repo adoption, consider adding that full CDD header block to the current README.md, but ask the user for explicit confirmation before proposing or applying that README edit.
  • Avoid duplicating the block if it or its badges already exist.

Contract-surface taxonomy and drift rules

  • Treat these files as methodology-stable contract surfaces that should be materialized from cdd-boilerplate and kept aligned with its CDD workflow language:

- AGENTS.md - TODO.md - docs/JOURNAL.md - docs/prompts/PROMPT-INDEX.md

  • Treat these files as repo-specific contract surfaces that must be filled from the actual target repo rather than copied verbatim:

- README.md - docs/specs/prd.md - docs/specs/blueprint.md

  • AGENTS.md: start from the boilerplate AGENTS.md and preserve the CDD methodology, rule numbering, method structure, and output contract. Limited repo-fit edits are allowed only for project facts such as language, framework, repo layout, runbook entrypoints, or a short repo note; do not rewrite the methodology.
  • TODO.md: start from the boilerplate TODO.md and preserve its header, Step 00, and Step template. Add repo-specific work only as Step 01+ or TODO-*.md; do not replace Step 00 with a repo-specific adoption format.
  • docs/JOURNAL.md: start from the boilerplate journal and preserve its rules, entry format, and archive or summarize mechanics. Repo-specific content belongs in entries and summaries only.
  • docs/prompts/PROMPT-INDEX.md: start from the boilerplate prompt and preserve its role, analysis and generation workflow, quality bar, and template structure. Do not replace it with a repo-specific docs-index prompt.
  • README.md, docs/specs/prd.md, and docs/specs/blueprint.md are repo-specific outputs and should be written from the target repo's actual product, architecture, and runbook reality.

Interactive planning contract

Planning in this skill is interactive, review-driven, and continuously refined.

  • Start in planning mode when the runtime supports a native read-only or plan mode. If it does not, emulate that behavior by staying read-only until the user approves applying the plan.
  • Review the workspace before and during planning. Audit the relevant docs, code, manifests, configs, runbook files, and current TODO surfaces so the init or adoption plan reflects the real repo state.
  • Treat clarification as a way to resolve the right assumptions, goals, and implementation paths. Do not ask preference questions that do not materially affect the plan.
  • Ask at most one substantive clarification or decision question per message.
  • Keep refining the execution plan as new evidence appears. After each user answer or new repo finding, update state classification, source inputs, sequencing, assumptions, and validation requirements before continuing.
  • Keep messages easy to scan: concise, no fluff, and use lightweight Markdown emphasis such as **bold** and *italics* when helpful. Do not depend on color.
  • For every clarification or decision message, put the choices at the bottom under a final **Options** section:

- offer 2-4 concrete options grounded in the repo context - put the recommended option first and mark it clearly - prefix every option label with a visible selector in the label itself so plan-mode UIs still show a selectable key - default to letters: A., B., C. - use numbers only when the surrounding context is already numeric and that would be clearer - keep each option short and action-oriented - avoid open-ended options unless a free-form value is truly required - when practical, tell the user they can reply with just the selector

State detection (required)

Classify the workspace into exactly one state and tell the user which one you detected:

Use this precedence order; stop on the first matching state:

  1. Ignore non-substantive paths when classifying:

- .git/, .github/, .gitignore, .gitattributes, .editorconfig - editor/OS noise such as .DS_Store, .idea/, .vscode/ - LICENSE, empty directories, and CI-only files

  1. FRESH_BOILERPLATE_REPO if the full CDD contract exists and the repo is still in Step 00 initialization mode.

Minimum signal files:

  • AGENTS.md
  • TODO.md
  • docs/specs/prd.md
  • docs/specs/blueprint.md
  • docs/JOURNAL.md
  • docs/prompts/PROMPT-INDEX.md
  1. EXISTING_REPO_ADOPT_CDD if any substantive code/build/dependency signal exists, even if raw documents are also present.

Common code/build signals:

  • source trees such as src/, app/, lib/, cmd/, server/, client/, tests/, __tests__/
  • language source files such as .py, .ts, .tsx, .js, .jsx, .go, .rs, .java, .kt, .rb, .php, .swift, .c, .cc, .cpp
  • dependency/build manifests such as package.json, pyproject.toml, requirements*.txt, go.mod, Cargo.toml, pom.xml, build.gradle*, Gemfile, composer.json, Makefile, Dockerfile

Important boundary rule:

  • partial CDD contract files without the full boilerplate layout count as EXISTING_REPO_ADOPT_CDD, not a fresh init
  1. DOCS_SEEDED_INIT if no code/build signal exists but likely source/reference documents do exist.

Common source-document signals:

  • root docs such as README.md, notes*.md, requirements*.md, brief*.md, proposal*.md, spec*.md
  • document folders such as docs/, design/, adr/, research/, notes/
  • document files such as .md, .txt, .rst, .pdf, .docx, .odt, .pptx, .key, .xlsx, .csv, .drawio, .mmd
  1. EMPTY_DIR otherwise.

After classification:

  • tell the user which state was detected and the main evidence for that classification
  • if any nearby state was ruled out for an important reason, say so briefly
  • continue with the matching flow using the interactive planning contract above

A) EMPTY_DIR

No substantive files are present after applying the ignore rules above.

Flow A — Empty directory (approval-gated)

Goal: bootstrap cdd-boilerplate into the current folder, using this directory as the local repo root.

  1. Derive the current directory basename and propose it as the default repo name.
  2. Ask the user to confirm or edit that repo name before any bootstrap step, using the interaction contract above.
  3. Ask whether they want, using the interaction contract above:

- a GitHub-backed repo (default: private), or - a local-only repo for now

  1. If GitHub-backed and separately approved for networked/repo-admin actions:

- use https://github.com/ruphware/cdd-boilerplate as the canonical bootstrap source - ask for separate explicit approval before copying, downloading, cloning, or otherwise materializing boilerplate from that source - create the remote from ruphware/cdd-boilerplate using the confirmed repo name - materialize the approved boilerplate files into the current folder without cloning to a sibling directory and without changing directories - never keep the template repo's git history as part of the new project history - if the current folder already has local git history, preserve it and commit the imported boilerplate files into that history - otherwise, initialize locally if needed and create a fresh project-owned history after the boilerplate files are in place - connect/push the resulting project history so the remote matches the project history rather than the template history

  1. If local-only:

- default the bootstrap source to https://github.com/ruphware/cdd-boilerplate - ask for separate explicit approval before copying, downloading, cloning, or otherwise materializing boilerplate from that source - if the user explicitly prefers a local checkout or network access is unavailable, ask for a local path to an existing cdd-boilerplate checkout as the fallback bootstrap source - materialize the approved boilerplate into the current folder without changing directories - initialize git locally if needed, or preserve existing local history if .git/ already exists

  1. Continue directly with Step 00 in this repo; do not stop and do not ask the user to rerun the skill in another directory.
  2. Before drafting edits, present 2-3 setup shapes only when there is a real plan-shaping decision about source inputs, repo backing, or where bootstrap material should come from.

- Recommend one option based on the workspace review. - Keep the options at the bottom of the message under **Options**, with selector-prefixed labels such as A., B., C..

  1. Draft proposed edits (grouped by file) to:

- if needed, add only bounded repo-detail edits to AGENTS.md under the drift rules above - fill docs/specs/prd.md - fill docs/specs/blueprint.md - update README.md to match the PRD/Blueprint and include the required CDD header block - extend TODO.md with Step 01+ if needed, preserving the boilerplate header, Step 00, and Step template already in TODO.md - keep docs/JOURNAL.md and docs/prompts/PROMPT-INDEX.md aligned with their boilerplate methodology scaffolds instead of rewriting them

  1. Ask: Approve and apply these changes?
  2. After applying:
  • list the exact Step 00 Automated checks commands to run
  • provide a Step 00 UAT checklist
  • suggest the next step to implement via $cdd-implement-todo

Flow B — Docs-seeded init (approval-gated)

Goal: bootstrap cdd-boilerplate into the current folder, preserve the discovered source material, and build Step 00 from it inside this repo.

  1. Inventory the current folder for candidate source/reference documents before asking any questions.
  2. Show the detected document list grouped by likely importance (for example: core requirements, supporting notes, appendices) and ask only about, using the interaction contract above:

- documents to exclude - important external documents not present in the workspace

  1. Derive the current directory basename and propose it as the default repo name.
  2. Ask the user to confirm or edit that repo name before any bootstrap step, using the interaction contract above.
  3. Ask whether they want, using the interaction contract above:

- a GitHub-backed repo (default: private), or - a local-only repo for now

  1. Before materializing the boilerplate, and only after explicit apply approval, stage discovered source documents that would conflict with template paths.

- restore them afterward under docs/source-material/, preserving relative paths as much as possible - use docs/source-material/ as the default input set for Step 00

  1. If GitHub-backed and separately approved for networked/repo-admin actions:

- use https://github.com/ruphware/cdd-boilerplate as the canonical bootstrap source - ask for separate explicit approval before copying, downloading, cloning, or otherwise materializing boilerplate from that source - create the remote from ruphware/cdd-boilerplate using the confirmed repo name - materialize the approved boilerplate files into the current folder without cloning to a sibling directory and without changing directories - never keep the template repo's git history as part of the new project history - if the current folder already has local git history, preserve it and commit the imported boilerplate files into that history - otherwise, initialize locally if needed and create a fresh project-owned history after the boilerplate files are in place - connect/push the resulting project history so the remote matches the project history rather than the template history

  1. If local-only:

- default the bootstrap source to https://github.com/ruphware/cdd-boilerplate - ask for separate explicit approval before copying, downloading, cloning, or otherwise materializing boilerplate from that source - if the user explicitly prefers a local checkout or network access is unavailable, ask for a local path to an existing cdd-boilerplate checkout as the fallback bootstrap source - materialize the approved boilerplate into the current folder without changing directories - initialize git locally if needed, or preserve existing local history if .git/ already exists

  1. Continue directly with Step 00 in this repo using the discovered documents as the default source material.
  2. Before drafting edits, present 2-3 setup shapes only when there is a real plan-shaping decision about source inputs, bootstrap mode, or write location.

- Recommend one option based on the workspace review. - Keep the options at the bottom of the message under **Options**, with selector-prefixed labels such as A., B., C..

  1. Draft proposed edits (grouped by file) to:
  • if needed, add only bounded repo-detail edits to AGENTS.md under the drift rules above
  • fill docs/specs/prd.md
  • fill docs/specs/blueprint.md
  • update README.md to match the PRD/Blueprint and include the required CDD header block
  • extend TODO.md with Step 01+ if needed, preserving the boilerplate header, Step 00, and Step template already in TODO.md
  • keep docs/JOURNAL.md and docs/prompts/PROMPT-INDEX.md aligned with their boilerplate methodology scaffolds instead of rewriting them
  1. Ask: Approve and apply these changes?
  2. After applying:
  • list the exact Step 00 Automated checks commands to run
  • provide a Step 00 UAT checklist
  • suggest the next step to implement via $cdd-implement-todo

Flow C — Fresh boilerplate repo (approval-gated)

  1. Read the canonical contract files above.
  2. Use TODO.md Step 00 as the checklist (do not re-define it).
  3. Inventory the current workspace for candidate source/reference documents before asking questions.
  4. Show the detected document list and ask only about, using the interaction contract above:

- documents to exclude - important external documents not present in the workspace

  1. Before drafting edits, present 2-3 setup shapes only when there is a real plan-shaping decision about source inputs or Step 01+ sequencing.

- Recommend one option based on the workspace review. - Keep the options at the bottom of the message under **Options**, with selector-prefixed labels such as A., B., C..

  1. Draft proposed edits (grouped by file) to:

- if needed, add only bounded repo-detail edits to AGENTS.md under the drift rules above - fill docs/specs/prd.md - fill docs/specs/blueprint.md - update README.md to match the PRD/Blueprint and include the required CDD header block - extend TODO.md with Step 01+ if needed, preserving the boilerplate header, Step 00, and Step template already in TODO.md - keep docs/JOURNAL.md and docs/prompts/PROMPT-INDEX.md aligned with their boilerplate methodology scaffolds instead of rewriting them

  1. Ask: Approve and apply these changes?
  2. After applying:

- list the exact Step 00 Automated checks commands to run - provide a Step 00 UAT checklist - suggest the next step to implement via $cdd-implement-todo

If Step 00 is already complete and the repo is actively developed:

  • STOP and recommend using $cdd-plan instead.

Flow D — Existing repo adopting CDD (approval-gated)

Goal: add the CDD contract files and reorganize docs so the repo becomes CDD-operable.

Phase 1 — Audit (no writes)

  1. Read README.md and find the current runbook (setup/dev/test/build).
  2. Inventory existing docs (e.g., docs/, design/, adr/, root markdown files).
  3. Review the current implementation surfaces that shape adoption planning: manifests, entrypoints, test/lint/typecheck config, and any existing planning system (issues, backlog files, TODO docs).
  4. Ask only blocking questions one at a time using the interaction contract above (for example, docs that must keep their path due to external links).

Phase 2 — Draft migration plan (proposal)

Before drafting the patch proposal, present 2-3 migration shapes when there is a real decision about scope, doc reorganization, or TODO placement.

  • Recommend one option based on the workspace review.
  • Keep the options at the bottom of the message under **Options**, with selector-prefixed labels such as A., B., C..
  • Use https://github.com/ruphware/cdd-boilerplate as the source of truth for the CDD contract when migrating an existing repo.
  • If migration requires copying, downloading, cloning, or otherwise materializing contract files from that source, ask for separate explicit confirmation before doing so.
  • If the user explicitly prefers a local checkout or network access is unavailable, you may use a local cdd-boilerplate checkout as the migration fallback source.

Draft a patch proposal grouped by file, including:

  1. Add the CDD contract files using the taxonomy above:

- AGENTS.md: start from the boilerplate contract and allow only bounded repo-fit edits that do not change the CDD methodology - TODO.md, docs/JOURNAL.md, and docs/prompts/PROMPT-INDEX.md: materialize from https://github.com/ruphware/cdd-boilerplate and preserve their methodology scaffolds - docs/specs/prd.md and docs/specs/blueprint.md: fill from the actual repo rather than copying boilerplate placeholders forward

  1. Reorganize docs:

- keep README.md as the runbook entrypoint - if the current README.md does not already contain the required CDD header block, ask for explicit confirmation before proposing or applying that full-block README edit during adoption - move/normalize non-runbook docs under docs/ (or docs/archive/ if historical), preserving content and adding links

  1. Add repo-specific planning to TODO.md:

- preserve the boilerplate header, Step 00, and Step template - append repo-specific Step 01+ work, including a step to generate or refresh docs/INDEX.md via docs/prompts/PROMPT-INDEX.md (or $cdd-index)

Phase 3 — Apply

  1. Ask: Approve and apply this migration plan?
  2. If the approved plan includes clone, remote creation, git initialization, push, or path-moving operations, ask a second confirmation listing those exact operations before executing them.
  3. Apply only the approved changes.
  4. Provide exact Automated checks + UAT for the adoption step(s), and recommend $cdd-index as the next action.

平台分布

Codex

36.83%
按下载量换算26

Claude

30.69%
按下载量换算22

Cursor

17.64%
按下载量换算13

Gemini CLI

8.45%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills