CLAUDE MD Initializer
Use this skill when a repo needs onboarding documentation for future agent sessions.
Workflow
- 1. Read the repository structure, README, existing instructions, and tooling config.
- Identify key build, test, and run commands.
- Summarize the high-level architecture and important conventions.
- Create or improve
CLAUDE.md without stuffing it with generic advice. - Suggest follow-on skills, hooks, or verifier setup if they materially help.
Guardrails
- - Do not invent commands or conventions.
- Focus on repo-specific knowledge, not generic coding advice.
- Keep the file practical for future agent sessions.
Example Requests
- - Analyze this repo and produce a strong CLAUDE.md for future agent sessions.
- Upgrade the existing CLAUDE.md so future coding agents onboard faster.
Inputs
- - Repository structure
- Existing docs and config
- Important commands and conventions
Outputs
- - New or improved CLAUDE.md
- Optional follow-up recommendations
Success Criteria
- - Repo-specific commands are captured correctly.
- Architecture notes are practical, not generic.
- The file helps future agents move faster.
Non-Goals
- - Generic engineering advice
- Invented commands or undocumented workflows
Source Provenance
Derived from
src/commands/init.ts.
CLAUDE MD 初始化器
当仓库需要为未来的智能体会话创建入职文档时,使用此技能。
工作流程
- 1. 读取仓库结构、README、现有指令和工具配置。
- 识别关键的构建、测试和运行命令。
- 总结高层架构和重要约定。
- 创建或改进 CLAUDE.md,避免填充通用建议。
- 如果确实有帮助,建议后续技能、钩子或验证器设置。
约束条件
- - 不要编造命令或约定。
- 专注于仓库特定知识,而非通用编码建议。
- 保持文件对未来的智能体会话具有实用性。
示例请求
- - 分析此仓库并为未来的智能体会话生成一份高质量的 CLAUDE.md。
- 升级现有的 CLAUDE.md,使未来的编码智能体能够更快入职。
输入
输出
- - 新的或改进的 CLAUDE.md
- 可选的后续建议
成功标准
- - 正确捕获仓库特定命令。
- 架构说明具有实用性,而非通用内容。
- 文件能帮助未来的智能体更快工作。
非目标
来源追溯
源自 src/commands/init.ts。