360 Secure SkillHub
360 安全技能中心

CLAUDE MD Initializer

核心功能:读取仓库结构、文档及配置,提取关键构建/测试/运行命令、架构信息,创建或优化贴合仓库实际的CLAUDE.md,按需建议后续适配的技能、钩子或验证器配置,确保文档实用。典型场景:仓库首次接入Claude Code,需为后续Agent会话准备专属指引文档时。输入为仓库相关资料,输出为CLAUDE.md文件及可选配套建议。

wimi321
wimi321
热度 45.24
最近更新 2026-05-11 17:39:12
分类:开发依赖:读写文件 / 内部调用大模型应用场景:摘要总结 / 模板 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add claude-code-claude-md-initializer
Metadata
name
claude_md_initializer
description
Use when onboarding a repository into Claude Code by creating or improving CLAUDE.md, and optionally identifying useful skills, hooks, and verifier setup.

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.
  2. Identify key build, test, and run commands.
  3. Summarize the high-level architecture and important conventions.
  4. Create or improve CLAUDE.md without stuffing it with generic advice.
  5. 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.

Source Provenance

Derived from src/commands/init.ts.