skills
为 Claude Code 提供可复用 skill 的集合,通过 npx 安装后可直接用 /命令调用,覆盖重写 CLAUDE.md、React 类型收窄、构建迭代式 agent 工作流、设计 agentic control loop 等场景。亮点是让开发者把工程实践沉淀成 repo 内可直接复用的 skill,提升 Coding Agent 的指令遵循和代码质量;改进 CLAUDE.md 的 skill 用条件块机制解决提示漂移问题,近期新增热度较高。
README
技能
来自 HumanLayer 的 Claude Code 技能。
安装
npx skills add humanlayer/skills --skill SKILLNAME
可用技能
improve-claude-md
使用 <important if> 块重写你的 CLAUDE.md,以提高指令遵循度。
npx skills add humanlayer/skills --skill improve-claude-md
然后在你的项目中:
/improve-claude-md
narrow-react-prop-types
收窄 React 组件的 prop 类型,使其匹配实际代码路径,而不是仅存在于 Storybook、测试或 mock 中的状态。
npx skills add humanlayer/skills --skill narrow-react-prop-types
然后在你的项目中:
/narrow-react-prop-types
build-iterated-agentic-loop
构建一个仓库本地技能,并附带可迭代的 coding-agent(编码智能体)GitHub Actions 工作流、提示词、记忆文件和参考模板。
npx skills add humanlayer/skills --skill build-iterated-agentic-loop
然后在你的项目中:
/build-iterated-agentic-loop
design-control-loop
以访谈方式帮你设计一个 agentic control loop(智能体控制回路)——包括 sensor(传感器)、controller(控制器)、actuator(执行器)和 disturbances(干扰)——并针对你的代码库进行定制,然后将其构建为可在本地运行的组件,外加一个定时触发的 coding-agent(编码智能体)工作流。
npx skills add humanlayer/skills --skill design-control-loop
然后在你的项目中:
/design-control-loop
show-me
用简洁的图表、代码结构草图和聚焦的 HTML 产物来解释当前主题。
npx skills add humanlayer/skills --skill show-me
然后调用:
/show-me