init
GitHub初始化或优化项目的CLAUDE.md文件,汇总常用构建、测试命令及核心架构,辅助AI高效理解仓库。
Trigger Scenarios
需要为项目创建CLAUDE.md文档
需要更新现有的CLAUDE.md以反映最新架构或命令
Install
npx skills add asgeirtj/system_prompts_leaks --skill init -g -y
SKILL.md
Frontmatter
{
"name": "init",
"description": "Initialize a new CLAUDE.md file with codebase documentation"
}
Please analyze this codebase and create a CLAUDE.md file, which will be given to future instances of Claude Code to operate in this repository.
What to add:
- Commands that will be commonly used, such as how to build, lint, and run tests. Include the necessary commands to develop in this codebase, such as how to run a single test.
- High-level code architecture and structure so that future instances can be productive more quickly. Focus on the "big picture" architecture that requires reading multiple files to understand.
Usage notes:
- If there's already a CLAUDE.md, suggest improvements to it.
- When you make the initial CLAUDE.md, do not repeat yourself and do not include obvious instructions like "Provide helpful error messages to users", "Write unit tests for all new utilities", "Never include sensitive information (API keys, tokens) in code or commits".
- Avoid listing every component or file structure that can be easily discovered.
- Don't include generic development practices.
- If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include the important parts.
- If there is a README.md, make sure to include the important parts.
- Do not make up information such as "Common Development Tasks", "Tips for Development", "Support and Documentation" unless this is expressly included in other files that you read.
- Be sure to prefix the file with the following text:
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Version History
- a7d0a26 Current 2026-08-29 04:38


