360 Secure SkillHub
360 安全技能中心

CLAUDE MD Initializer

读取仓库结构、README、现有说明与工具配置,提取构建、测试、运行命令并总结架构与关键约定,据此创建或改进仓库专属的 CLAUDE.md,并可选择性建议后续技能、钩子或校验器配置;要求不编造命令、不写入通用编程建议。

wimi321
wimi321
热度 53.14
最近更新 2026-05-11 17:39:34
分类:开发依赖:读写文件应用场景:模板 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add 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.

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.