cdd-index

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

CDD Index (explicit-only)

CDD 索引(仅显式操作)

Regenerate
docs/INDEX.md
in one run.
一次性重新生成
docs/INDEX.md

Flow

流程

  1. Read the target repo
    AGENTS.md
    ,
    README.md
    , and
    docs/prompts/PROMPT-INDEX.md
    .
  2. Treat
    docs/prompts/PROMPT-INDEX.md
    as the source of truth for
    docs/INDEX.md
    content and
    AGENTS.md
    as the source of truth for response format.
  3. Emit a concise preflight plan before writing:
    • intended
      docs/INDEX.md
      changes
    • source files and repo signals you will use
    • exact validation commands you will run
  4. Update
    docs/INDEX.md
    immediately according to
    docs/prompts/PROMPT-INDEX.md
    .
    • Do not ask for approval for this write.
    • Ask only if a required input is missing or the target path is genuinely ambiguous.
  5. Run validation:
    • use checks required by
      docs/prompts/PROMPT-INDEX.md
      when specified
    • otherwise run minimal repo-safe validation for the regenerated index
  6. Return a post-action review using the target repo's
    AGENTS.md
    output contract.
    • Explicitly state what changed, what was validated, and any assumptions or limits.
  1. 读取目标仓库的
    AGENTS.md
    README.md
    以及
    docs/prompts/PROMPT-INDEX.md
    文件。
  2. docs/prompts/PROMPT-INDEX.md
    作为
    docs/INDEX.md
    内容的可信来源,将
    AGENTS.md
    作为响应格式的可信来源。
  3. 在写入前输出一份简洁的预检计划:
    • 拟对
      docs/INDEX.md
      做出的更改
    • 将使用的源文件和仓库信号
    • 将执行的具体验证命令
  4. 根据
    docs/prompts/PROMPT-INDEX.md
    立即更新
    docs/INDEX.md
    • 无需请求批准即可执行此写入操作。
    • 仅当缺少必要输入或目标路径确实存在歧义时才询问。
  5. 执行验证:
    • docs/prompts/PROMPT-INDEX.md
      中指定了所需检查,则使用这些检查
    • 否则,对重新生成的索引执行最小化的仓库安全验证
  6. 根据目标仓库的
    AGENTS.md
    输出约定返回事后审查报告。
    • 明确说明更改内容、验证内容以及任何假设或限制。