跳到正文
cccskills
免费在 GitHub 公开

init-project

Organize project architecture, conventions, and module details into root and module-level CLAUDE.md files. Add a structure diagram and navigation links, track scanning coverage, and update existing documentation incrementally when the skill runs again.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

初始化项目 AI 上下文,生成/更新根级与模块级 CLAUDE.md 索引

查看安装方法

适用场景

  • Preparing project context for an AI agent
  • Documenting a repository with multiple modules
  • Updating existing CLAUDE.md files
  • Finding areas that need further scanning

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

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

用法

/init-project <项目摘要或名称>

目标

以"根级简明 + 模块级详尽"的混合策略初始化项目 AI 上下文:

  • 在仓库根生成/更新 CLAUDE.md(高层愿景、架构总览、模块索引、全局规范)。
  • 在识别的各模块目录生成/更新本地 CLAUDE.md(接口、依赖、入口、测试、关键文件等)。
  • ✨ 为了提升可读性,会在根 CLAUDE.md 中自动生成 Mermaid 结构图,并为每个模块 CLAUDE.md 添加导航面包屑。

编排说明

步骤 1:调用 get-current-datetime 子智能体获取当前时间戳。

步骤 2:调用一次 init-architect 子智能体,输入:

  • project_summary: $ARGUMENTS
  • current_timestamp: (来自步骤1的时间戳)

执行策略(由 Agent 自适应决定,不需要用户传参)

  • 阶段 A:全仓清点(轻量) 快速统计文件与目录,识别模块根(package.json、pyproject.toml、go.mod、apps/、packages/、services/* 等)。
  • 阶段 B:模块优先扫描(中等) 对每个模块做"入口/接口/依赖/测试/数据模型/质量工具"的定点读取与样本抽取。
  • 阶段 C:深度补捞(按需) 若仓库较小或模块规模较小,则扩大读取面;若较大,则对高风险/高价值路径分批追加扫描。
  • 覆盖率度量与可续跑 输出"已扫描文件数 / 估算总文件数、已覆盖模块占比、被忽略/跳过原因",并列出"建议下一步深挖的子路径"。重复运行 /init-project 时按上次索引做增量更新与断点续扫。

安全与边界

  • 只读/写文档与索引,不改源代码。
  • 默认忽略常见生成物与二进制大文件。
  • 结果在主对话打印"摘要",全文写入仓库。

输出要求

  • 在主对话中打印"初始化结果摘要",包含:
    • 根级 CLAUDE.md 是否创建/更新、主要栏目概览。
    • 识别的模块数量及其路径列表。
    • 每个模块 CLAUDE.md 的生成/更新情况。
    • ✨ 明确提及"已生成 Mermaid 结构图"和"已为 N 个模块添加导航面包屑"。
    • 覆盖率与主要缺口。
    • 若未读全:说明"为何到此为止",并列出推荐的下一步(例如"建议优先补扫:packages/auth/src/controllers")。

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

bmad-init

免费

Set up or update BMad-Method V6 in a project, detect older installations, fix a known output folder issue, and adjust Git ignore rules, with guidance on what to do next.

中文简介正在准备中。当前显示英语简介。

  • Installing BMad-Method V6 in a project
  • Updating an existing V6 installation
  • Checking for an older V4 installation
UfoMiao/zcf60812026年8月31日 更新

bmad-init

免费

Install or update BMad-Method (V6) in a project after checking existing installations. The skill also fixes a known output-folder issue, updates Git ignore rules, and provides next steps for using the installed workflows.

中文简介正在准备中。当前显示英语简介。

  • Set up BMad-Method (V6) for Claude Code
  • Run a quick update on an existing V6 installation
  • Check for an older V4 installation before setup
UfoMiao/zcf60812026年8月31日 更新

feat

免费

Turn feature requests into documented plans, revise them through discussion, and carry out implementation with progress tracking. Frontend work includes checking for a UI design and arranging design work when needed.

中文简介正在准备中。当前显示英语简介。

  • Turning a feature idea into a development plan
  • Revising a plan after feedback
  • Implementing tasks from an agreed plan
UfoMiao/zcf60812026年8月31日 更新

feat

免费

Guide new feature work from requirements and planning through revisions and implementation. Create Markdown plans with acceptance criteria, track progress, and ensure frontend tasks have a UI design before development begins.

中文简介正在准备中。当前显示英语简介。

  • Turn a feature idea into an implementation plan
  • Revise a plan based on feedback
  • Start implementation from an agreed plan
UfoMiao/zcf60812026年8月31日 更新

Find merged or inactive Git branches, preview cleanup candidates, and delete selected branches after confirmation. Choose a comparison branch, protect important branches with configurable rules, and optionally include remote branches.

中文简介正在准备中。当前显示英语简介。

  • Previewing branch cleanup candidates
  • Removing branches already merged into a release branch
  • Finding branches with no recent commits
UfoMiao/zcf60812026年8月31日 更新

Find Git branches that have been merged or inactive for a chosen period. Preview cleanup candidates, exclude protected branches, and delete local or remote branches using a selected base branch and confirmation options.

中文简介正在准备中。当前显示英语简介。

  • Find merged branches to clean up
  • Review branches with no recent commits
  • Clean up branches merged into a release
UfoMiao/zcf60812026年8月31日 更新

查看 UfoMiao 的全部技能

报告此技能的问题