中国三峡大学硕士刘战 (@sanxialiuzhan)【ClaudeCode技巧】写 Skill 的 description,比正文还重要 中发帖

Claude Code Skills 里我觉得最容易被低估的是 description。很多人会认真写正文,但 description 随手写一句,结果技能很难被正确触发。 
不好的 description
description: A powerful skill for frontend development.

问题是太泛。模型不知道什么时候该加载,也不知道什么时候不该加载。 
更好的 description
description: Implement or modify React frontend UI, then verify the result with browser screenshots across desktop and mobile viewports. Use when the user asks for visible UI changes.

这里包含...
 
 
Back to Top