360 Secure SkillHub
360 安全技能中心

CLAUDE MD Initializer

核心功能是分析仓库结构、文档及配置,提取关键命令与架构信息,生成或优化专属CLAUDE.md,还可按需建议后续技能配置。典型场景为仓库接入Claude Code时的文档搭建,或优化现有CLAUDE.md加速后续Agent会话。输入为仓库结构、现有文档等,输出为新/优化的CLAUDE.md及可选跟进建议。

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

安装技能

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