360 Secure SkillHub
360 安全技能中心

CLAUDE MD Initializer

读取仓库结构、README、现有指令与工具配置,识别构建、测试、运行命令,概括架构与约定,创建或改进 CLAUDE.md,并可建议后续 skills、hooks 或 verifier 设置;强调只写仓库特有信息,不臆造命令。

wimi321
wimi321
热度 45.19
最近更新 2026-05-11 17:39:12
分类:知识依赖:读写文件应用场景:笔记整理 / 工作流 / 研究

安装技能

复制下面的话术发给你的 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.