mattpocock/skills 编程技能体验

安装

  • opencode

    安装 https://github.com/mattpocock/skills
    弹窗选 setup-matt-pocock-skills
    # 安装完成后,用这个前置技能来继续完成安装
    运行 setup-matt-pocock-skills
    ---------------没看懂它要做什么----------------
    当前仓库状态:
    
    Remote: git.atibm.com:at/hermes-oracle-at.git(自托管 GitLab)
    AGENTS.md / CLAUDE.md: 都不存在
    CONTEXT.md / CONTEXT-MAP.md: 不存在
    docs/adr/ / docs/agents/ / .scratch/: 都不存在
    开始 Section A — Issue Tracker(问题跟踪器):
    
    工程类 skills(如 to-issues、triage、to-prd)需要知道 issue 存放在哪里——是调用 glab issue create、写入 .scratch/ 下的 markdown 文件,还是走其他工作流。
    
    你的 remote 指向 GitLab(git.atibm.com),推荐使用 GitLab。选项:
    
    GitLab — issue 存在 GitLab Issues(使用 glab CLI)
    Local markdown — issue 存为 .scratch/<feature>/ 下的文件(适合单人项目)
    其他(Jira、Linear 等)— 你描述工作流,我记录成自由文本
    你选哪个?
    已安装 diagnosing-bugs 到 ~/.config/opencode/skills/diagnosing-bugs/。
    
    包含 SKILL.md 和一个 scripts/ 目录。当你遇到 bug 时,说"诊断这个 bug"或"用 diagnosing-bugs 调试",AI 就会按照该技能的系统化流程(构建反馈回路 → 二分定位 → 假设验证等)帮你排查。