본문으로 건너뛰기
cccskills
무료GitHub에 공개

setup-matt-pocock-skills

Set up the repository settings that engineering skills read: where work is tracked, which triage labels to use, and where domain documents belong. Review existing files and confirm drafts before writing configuration documents.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

为此仓库配置 engineering skills:设置其 issue tracker、triage labels 词汇与 domain docs 布局。在首次使用其他 engineering skills 前运行一次。

연동 도구GitHubGitLab

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Prepare a repository before using engineering skills
  • Configure GitHub, GitLab, or local Markdown issue tracking
  • Match triage labels to an existing workflow
  • Choose document locations for a multi-package repository

포함된 파일(7)

  • SKILL.md6.4 KB
  • agents/openai.yaml144 B
  • domain.md2.0 KB
  • issue-tracker-github.md3.7 KB
  • issue-tracker-gitlab.md3.8 KB
  • issue-tracker-local.md1.8 KB
  • triage-labels.md1.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

配置 Matt Pocock 的 Skills

搭建 engineering skills 所假定的每仓库配置:

  • Issue tracker - issues 存放在哪里(默认 GitHub;也原生支持 local markdown)
  • Triage labels - 五个 canonical triage roles 使用的字符串
  • Domain docs - GLOSSARY.md 与 ADRs 的位置,以及读取它们的 consumer rules

这是 prompt-driven skill,不是确定性脚本。先探索,展示发现,与用户确认,然后写入。

流程

1. 探索

查看当前 repo,理解起始状态。读取已有内容,不要假设:

  • git remote -v 和 .git/config - 这是 GitHub repo 吗?是哪一个?
  • repo root 的 AGENTS.md 和 CLAUDE.md - 是否存在?其中是否已有 ## Agent skills section?
  • repo root 的 GLOSSARY.md 和 GLOSSARY-MAP.md
  • docs/adr/ 以及任何 src/*/docs/adr/ directories
  • docs/agents/ - 这个 skill 之前是否已经输出过内容?
  • .scratch/ - 表明已经在使用 local-markdown issue tracker 约定
  • 是否已安装 triage skill(本 skill 旁边有 triage folder,或 available skills 中存在 triage)?这决定 Section B 是否运行。
  • Monorepo signals:pnpm-workspace.yaml、package.json 的 workspaces field,或已有内容且各自带 src/ 的 packages/*。只有真正的大型 multi-package repo 才算;没有这些 signal 就是 single-context,几乎所有 repo 都如此。

2. 呈现发现并询问

总结已有内容和缺失内容。按顺序处理 sections:每次一个 section、一个回答,再进入下一个。

每个 section 都先给 recommended answer,让用户一个词就能接受。只有 choice 真正分叉时才给一行 explainer;exploration 已经确定答案时跳过整个 section(未安装 triage 时跳过 Section B;没有 monorepo 时跳过 Section C)。

Section A - Issue tracker.

Explainer: "issue tracker" 是这个 repo 存放 issues 的地方。to-tickets、triage 和 to-spec 等 skills 会从中读取并写入;它们需要知道是调用 gh issue create、在 .scratch/ 下写 markdown 文件,还是遵循你描述的其他工作流。请选择你实际用于跟踪这个 repo 工作的位置。

默认姿态:这些 skills 是为 GitHub 设计的。如果 git remote 指向 GitHub,推荐 GitHub。如果 git remote 指向 GitLab(gitlab.com 或 self-hosted host),推荐 GitLab。否则(或用户偏好),提供:

  • GitHub - issues 位于 repo 的 GitHub Issues(使用 gh CLI)
  • GitLab - issues 位于 repo 的 GitLab Issues(使用 glab CLI)
  • Local markdown - issues 作为文件位于本 repo 的 .scratch/<feature>/ 下(适合个人项目或没有 remote 的 repos)
  • Other(Jira、Linear 等)- 让用户用一段话描述工作流;skill 会把它记录为 freeform prose

把选择记录到 docs/agents/issue-tracker.md。GitHub 和 GitLab templates 带有 “PRs as a request surface” flag,默认 off;保持关闭且不要提问。想把 external PRs 放入 triage queue 的用户可以之后直接修改文件。

Section B - Triage label vocabulary. 如果未安装 triage,完全跳过本 section;未安装的 skill 不需要 labels。

如果已安装,只问一个问题:

是否保留默认 triage labels?(recommended: yes)

默认值是五个 canonical roles,label string 与 role name 相同:needs-triage、needs-info、ready-for-agent、ready-for-human、wontfix。回答 yes 就原样写入。只有用户说 no(通常因为 tracker 已使用其他名称,例如用 bug:triage 表示 needs-triage)时,才收集 overrides,避免 triage 创建重复 labels。

Section C - Domain docs. 默认 single-context:repo root 下一个 GLOSSARY.md + docs/adr/。这适合几乎所有 repo,直接写入,无需提问。

只有 exploration 找到 monorepo signals 时,才提供 multi-context(root 下 GLOSSARY-MAP.md 指向每个 context 的 GLOSSARY.md files),并确认用户想要哪种 layout。

3. 确认并编辑

向用户展示草稿:

  • 要添加到 CLAUDE.md / AGENTS.md 的 ## Agent skills block(选择规则见 step 4)
  • docs/agents/issue-tracker.md、docs/agents/domain.md,以及仅在安装了 triage 时才有的 docs/agents/triage-labels.md 内容

写入前允许用户修改。

4. 写入

选择要编辑的文件:

  • 如果 CLAUDE.md 存在,编辑它。
  • 否则如果 AGENTS.md 存在,编辑它。
  • 如果两者都不存在,询问用户要创建哪一个;不要替用户选择。

当 CLAUDE.md 已存在时,绝不创建 AGENTS.md(反之亦然);始终编辑已经存在的那个。

如果所选文件已有 ## Agent skills block,就原地更新其内容,而不是追加重复 block。不要覆盖周围 sections 的用户编辑。

Block:

## Agent skills

### Issue tracker

[one-line summary of where issues are tracked]. See `docs/agents/issue-tracker.md`.

### Triage labels

[one-line summary of the label vocabulary]. See `docs/agents/triage-labels.md`.

### Domain docs

[one-line summary of layout - "single-context" or "multi-context"]. See `docs/agents/domain.md`.

只有安装了 triage 且 Section B 实际运行时,才包含 ### Triage labels sub-block 并写入 docs/agents/triage-labels.md;否则两者都省略。

然后使用本 skill folder 中的 seed templates 作为起点写 docs files:

对于 "other" issue trackers,根据用户描述从头写 docs/agents/issue-tracker.md。

5. 完成

告诉用户 setup 已完成,以及哪些 engineering skills 现在会读取这些文件。说明他们之后可以直接编辑 docs/agents/*.md;只有当他们想切换 issue trackers 或从头开始时,才需要重新运行此 skill。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

ask-matt

무료

Find the right skill and sequence for your current development task, from shaping an idea to implementation, debugging, and review. The guide also explains when to prototype, prepare specifications, or move work into a fresh session.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Choose a workflow for turning an idea into working software
  • Find the starting point for a difficult bug investigation
  • Plan specifications and tickets for work across multiple sessions
vinvcn/mattpocock-skills-zh-CN5.2천2026년 10월 20일 업데이트

Summarize the current conversation and launch a fresh background agent to continue the work. The handoff includes references to existing artifacts and suggested skills, removes sensitive information, and can emphasize the next session’s intended focus.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Continue ongoing work with a fresh agent
  • Focus the next session on a specific task
  • Hand off work using references to existing documents
vinvcn/mattpocock-skills-zh-CN5.2천2026년 10월 20일 업데이트

Review changes from a chosen Git reference against both project coding standards and issue or specification requirements. Separate parallel reviews report rule violations, possible design problems, missing requirements, and changes beyond the intended scope.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review a branch or pull request
  • Check changes since a specific commit
  • Find missing requirements or unintended scope
vinvcn/mattpocock-skills-zh-CN5.2천2026년 10월 20일 업데이트

Design modules that expose simple interfaces while hiding substantial behavior. Use shared terms and principles to assess interface complexity, decide where behavior can be swapped, and organize code so callers and tests use the same interface.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Simplify a module interface
  • Review module structure during refactoring
  • Decide where behavior should be swappable
vinvcn/mattpocock-skills-zh-CN5.2천2026년 10월 20일 업데이트

Diagnose difficult bugs and performance regressions by first building a repeatable check for the exact symptom. Minimize the reproduction, test ranked hypotheses, apply a fix, and verify the original scenario with regression tests where suitable.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Investigating persistent errors or incorrect output
  • Increasing reproduction rates for intermittent bugs
  • Measuring and diagnosing performance regressions
vinvcn/mattpocock-skills-zh-CN5.2천2026년 10월 20일 업데이트

Clarify project terminology and the relationships between business concepts. Check definitions against concrete scenarios and code, update GLOSSARY.md as terms are agreed, and record significant design decisions with their trade-offs when the stated criteria are met.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Clarifying ambiguous project terminology
  • Creating or updating GLOSSARY.md
  • Checking concept boundaries against code and edge cases
vinvcn/mattpocock-skills-zh-CN5.2천2026년 10월 20일 업데이트

vinvcn의 스킬 모두 보기

이 스킬의 문제 신고