setup-skills
Configure AGENTS/CLAUDE and docs/agents for tracker, triage labels, and domain docs. Use before issue, PRD, triage, TDD, or diagnosis skills.
- License 许可
- Apache-2.0
- 所属仓库
- r3dlex/skills
- 最近更新
- 2026-10-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- setup-skills
- description
- Configure AGENTS/CLAUDE and docs/agents for tracker, triage labels, and domain docs. Use before issue, PRD, triage, TDD, or diagnosis skills.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档domain.md1.9 KB
- 参考文档issue-tracker-ado.md1.9 KB
- 参考文档issue-tracker-github.md1.0 KB
- 参考文档issue-tracker-gitlab.md1.4 KB
- 参考文档issue-tracker-jira.md2.7 KB
- 参考文档issue-tracker-local.md838 B
- 参考文档triage-labels.md1.0 KB
03 SKILL.md 正文
Setup Skills
Scaffold the per-repo configuration that the engineering skills assume:
- Issue tracker — where issues live (GitHub by default; Azure DevOps, GitLab, Jira, and local markdown are also supported out of the box)
- Triage labels — the strings used for the five canonical triage roles
- Domain docs — where
CONTEXT.mdand ADRs live, and the consumer rules for reading them
This is a prompt-driven skill, not a deterministic script. Explore, auto-detect sensible defaults, present everything in one summary, then write. Only ask the user when a genuine ambiguity requires their judgment.
Process
1. Explore
Look at the current repo to understand its starting state. Read whatever exists; don't assume:
git remote -vand.git/config— is this a GitHub repo? Which one?AGENTS.mdandCLAUDE.mdat the repo root — does either exist? Is there already an## Agent skillssection in either?CONTEXT.mdandCONTEXT-MAP.mdat the repo rootdocs/adr/and anysrc/*/docs/adr/directoriesdocs/agents/— does this skill's prior output already exist?.jira/, Jira issue URLs/config files, or docs mentioning a Jira project key/site — signs that Jira Cloud is already in use.scratch/— sign that a local-markdown issue tracker convention is already in use
2. Auto-detect and present defaults
Summarise what's present and what's missing in ONE round. Auto-detect sensible defaults:
Section A — Issue tracker. Explicit tracker evidence wins over repository hosting. If .jira/, Jira issue URLs, Jira config, or explicit Jira tracker docs are present, default to Jira Cloud even when the git remote is GitHub, Azure DevOps, or GitLab. Otherwise infer from git remote: GitHub defaults to GitHub Issues, dev.azure.com or visualstudio.com defaults to Azure DevOps Boards, and GitLab defaults to GitLab Issues. If none of these are clear, default to local markdown (.scratch/). Only ask the user if none of these are clearly right.
Section B — Triage labels. Default to the five canonical names: needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. Only ask if the repo already uses different label strings that need mapping.
Section C — Domain docs. Default to single-context (one CONTEXT.md + docs/adr/ at repo root). Only switch to multi-context if CONTEXT-MAP.md exists.
Present all auto-detected defaults together. If the defaults are clearly correct, proceed without asking. Only ask for confirmation when there's genuine ambiguity.
3. Write
Auto-detect the correct file to edit (CLAUDE.md or AGENTS.md) and write the configuration. Only present a draft for review if the auto-detected defaults are ambiguous.
Auto-detect the file to edit (CLAUDE.md if it exists, else AGENTS.md), then write the ## Agent skills block and the docs/agents/ files. Use the seed templates in this skill folder as starting points, including issue-tracker-ado.md for Azure Boards and issue-tracker-jira.md for Jira Cloud. Mention which skills will now read from these files.
04 同仓库更多 Skills
skill
Fixture.
stable-skill
Fixture stable-skill.
experimental-skill
Fixture experimental-skill.
deprecated-skill
Fixture deprecated-skill.
karpathy-guidelines
Apply think-before-coding, simplicity, surgical-change, and goal-driven engineering rules. Use when planning, implementing, or reviewing code.
karpathy-guidelines
Apply think-before-coding, simplicity, surgical-change, and goal-driven engineering rules. Use when planning, implementing, or reviewing code.