git-guardrails-claude-code
作者: mattpocock
在 Claude Code 中设置钩子,阻止危险的 git 命令(如 push、reset --hard、clean、branch -D 等)执行。当用户希望防止破坏性 git 操作、添加 git 安全钩子,或在 Claude Code 中阻止 git push/reset 时使用。
npx skills add https://github.com/mattpocock/skills --skill git-guardrails-claude-code来自 mattpocock 的更多技能
grill-me
mattpocock
对用户的计划或设计进行持续追问,直到达成共识,解决决策树的每个分支。当用户想要对计划进行压力测试、接受设计拷问,或提到“grill me”时使用。
researchcommunicationproject-management
grill-with-docs
mattpocock
一场烧烤式讨论,用现有领域模型挑战你的计划,打磨术语,并在决策成型时同步更新文档(CONTEXT.md、ADRs)。当用户希望用项目的语言和已有决策对计划进行压力测试时使用。
developmentdocumentresearch
improve-codebase-architecture
mattpocock
在代码库中发现深层优化机会,依据CONTEXT.md中的领域语言和docs/adr/中的决策。适用于用户希望改进架构、寻找重构机会、整合紧耦合模块,或使代码库更易于测试和AI导航时使用。
developmentcode-reviewapi
teach
mattpocock
在此工作空间内,教授用户一项新技能或新概念。
communicationproductivity
tdd
mattpocock
采用红绿重构循环的测试驱动开发。当用户希望使用TDD构建功能或修复缺陷、提及“红绿重构”、需要集成测试或要求测试优先开发时使用。
developmenttesting
to-prd
mattpocock
将当前对话上下文转化为PRD并发布到项目问题追踪器。当用户希望从当前上下文创建PRD时使用。
developmentdocumentproject-management
handoff
mattpocock
将当前对话压缩为交接文档,供其他代理接手处理。
communicationproject-managementdocument
diagnose
mattpocock
Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.
developmenttestingcode-review