SKILL.md 与 CLAUDE.md:有什么区别?
这两个文件都用于定制 Claude Code 的行为,但它们的工作方式不同。CLAUDE.md 是项目上下文,SKILL.md 是可复用能力。以下是详细解析。

这两个文件都用于定制 Claude Code 的行为,但它们的工作方式不同。CLAUDE.md 是项目上下文,SKILL.md 是可复用能力。以下是详细解析。
- Author: Shahrukh — Creator of PromptSpace, AI researcher & prompt engineer since 2024. 159+ articles published.
- Methodology: Claims in this article are based on hands-on testing with live AI models, publicly available benchmarks, and official model documentation.
- Last tested: Content reviewed and verified against current model versions as of the publication date above.
- Sources: Official model docs, published research, and curated community examples. Links open in context where available.
- Updates: PromptSpace updates articles when models change significantly. Check the "Updated" date in the header for recency.
Written by Shahrukh
Creator of PromptSpace · AI Researcher & Prompt Engineer
Building the largest free AI prompt library with 4,000+ prompts. Covering AI image generation, prompt engineering, and tool comparisons since 2024. 159+ articles published.