[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7883Y2Z3MBCPZ50B5N1R16N":3,"skill-same:01M7883Y2Z3MBCPZ50B5N1R16N":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M7883Y2Z3MBCPZ50B5N1R16N","setup-skills",null,"Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.","officialunofficial\u002Fskills","officialunofficial","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F127067914?v=4","01M78827JABEMMN63AC8J1RCXV","Official Unofficial, Inc.","01M78827KC164SFKN4DXTCKK7N",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: setup-skills\ndescription: Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.\ndisable-model-invocation: true\n---\n\n# Set up skills\n\nLay down the per-repo configuration the engineering skills rely on:\n\n- **Issue tracker** — where issues live (GitHub by default; local markdown also works out of the box)\n- **Triage labels** — the strings that stand in for the five canonical triage roles\n- **Domain docs** — where `CONTEXT.md` and ADRs live, and how consumers should read them\n\nThis is prompt-driven, not a deterministic script. Explore, show what you found, confirm with the user, then write.\n\n## Process\n\n### 1. Explore\n\nInspect the repo to learn its starting state. Read what's actually there rather than assuming:\n\n- `git remote -v` and `.git\u002Fconfig` — is this a GitHub repo? Which one?\n- `AGENTS.md` and `CLAUDE.md` at the repo root — does either exist? Does either already carry an `## Agent skills` section?\n- `CONTEXT.md` and `CONTEXT-MAP.md` at the repo root\n- `docs\u002Fadr\u002F` and any `src\u002F*\u002Fdocs\u002Fadr\u002F` directories\n- `docs\u002Fagents\u002F` — has this skill already produced output here?\n- `.scratch\u002F` — a sign a local-markdown issue tracker convention is already in play\n\n### 2. Present findings and ask\n\nSummarise what exists and what's missing. Then walk the user through the three decisions **one at a time** — show a section, take the user's answer, then move on. Don't dump all three at once.\n\nAssume the user hasn't met these terms before. Open each section with a short explainer (what it is, why these skills need it, what shifts if they choose otherwise). Then lay out the choices and the default.\n\n**Section A — Issue tracker.**\n\n> Explainer: The \"issue tracker\" is where this repo's issues live. Skills like `to-issues`, `triage`, and `to-prd` read from and write to it — they need to know whether to reach for `gh issue create`, drop a markdown file under `.scratch\u002F`, or follow some other workflow you describe. Pick the place you genuinely track work for this repo.\n\nDefault posture: these skills were built for GitHub. If a `git remote` points at GitHub, propose that. If a `git remote` points at GitLab (`gitlab.com` or a self-hosted host), propose GitLab. Otherwise (or if the user prefers), offer:\n\n- **GitHub** — issues live in the repo's GitHub Issues (uses the `gh` CLI)\n- **GitLab** — issues live in the repo's GitLab Issues (uses the [`glab`](https:\u002F\u002Fgitlab.com\u002Fgitlab-org\u002Fcli) CLI)\n- **Local markdown** — issues live as files under `.scratch\u002F\u003Cfeature>\u002F` in this repo (good for solo projects or repos without a remote)\n- **Other** (Jira, Linear, etc.) — ask the user to describe the workflow in one paragraph; the skill records it as freeform prose\n\nIf — and only if — the user picked **GitHub** or **GitLab**, ask one follow-up:\n\n> Explainer: Open-source repos often get feature requests as pull requests, not just issues — a PR is an issue with code attached. Turn this on and `\u002Ftriage` folds *external* PRs into the same queue, running them through the same labels and states as issues (collaborators' in-flight PRs are left alone). Leave it off if PRs aren't a request surface for you.\n\n- **PRs as a request surface** — yes \u002F no (default: no). Record the answer in `docs\u002Fagents\u002Fissue-tracker.md`. For local-markdown and other trackers, skip this question — there are no PRs.\n\n**Section B — Triage label vocabulary.**\n\n> Explainer: When the `triage` skill handles an incoming issue, it walks it through a state machine — needs evaluation, waiting on reporter, ready for an AFK agent to grab, ready for a human, or won't fix. To do that it applies labels (or your tracker's equivalent) that match strings *you've actually set up*. If your repo already uses different names (say `bug:triage` instead of `needs-triage`), map them here so the skill reaches for the right ones instead of minting duplicates.\n\nThe five canonical roles:\n\n- `needs-triage` — maintainer needs to evaluate\n- `needs-info` — waiting on reporter\n- `ready-for-agent` — fully specified, AFK-ready (an agent can grab it with no human context)\n- `ready-for-human` — needs human implementation\n- `wontfix` — will not be actioned\n\nDefault: each role's string equals its name. Ask whether the user wants to override any. If their tracker has no existing labels, the defaults are fine.\n\n**Section C — Domain docs.**\n\n> Explainer: Some skills (`improve-codebase-architecture`, `diagnosing-bugs`, `tdd`) read a `CONTEXT.md` file to pick up the project's domain language, and `docs\u002Fadr\u002F` for past architectural decisions. They need to know whether the repo runs one global context or several (say a monorepo with separate frontend\u002Fbackend contexts) so they look in the right place.\n\nConfirm the layout:\n\n- **Single-context** — one `CONTEXT.md` + `docs\u002Fadr\u002F` at the repo root. Most repos are this.\n- **Multi-context** — `CONTEXT-MAP.md` at the root pointing to per-context `CONTEXT.md` files (typically a monorepo).\n\n### 3. Confirm and edit\n\nShow the user a draft of:\n\n- The `## Agent skills` block to add to whichever of `CLAUDE.md` \u002F `AGENTS.md` you're editing (selection rules in step 4)\n- The contents of `docs\u002Fagents\u002Fissue-tracker.md`, `docs\u002Fagents\u002Ftriage-labels.md`, `docs\u002Fagents\u002Fdomain.md`\n\nLet them edit before you write.\n\n### 4. Write\n\n**Pick the file to edit:**\n\n- If `CLAUDE.md` exists, edit it.\n- Else if `AGENTS.md` exists, edit it.\n- If neither exists, ask the user which to create — don't decide for them.\n\nNever create `AGENTS.md` when `CLAUDE.md` already exists (or vice versa) — always edit the one already there.\n\nIf an `## Agent skills` block already exists in the chosen file, update its contents in place rather than appending a duplicate. Leave the user's edits to the surrounding sections alone.\n\nThe block:\n\n```markdown\n## Agent skills\n\n### Issue tracker\n\n[one-line summary of where issues are tracked, plus whether external PRs are a triage surface]. See `docs\u002Fagents\u002Fissue-tracker.md`.\n\n### Triage labels\n\n[one-line summary of the label vocabulary]. See `docs\u002Fagents\u002Ftriage-labels.md`.\n\n### Domain docs\n\n[one-line summary of layout — \"single-context\" or \"multi-context\"]. See `docs\u002Fagents\u002Fdomain.md`.\n```\n\nThen write the three docs files, seeding them from the templates in this skill folder:\n\n- [issue-tracker-github.md](.\u002Fissue-tracker-github.md) — GitHub issue tracker\n- [issue-tracker-gitlab.md](.\u002Fissue-tracker-gitlab.md) — GitLab issue tracker\n- [issue-tracker-local.md](.\u002Fissue-tracker-local.md) — local-markdown issue tracker\n- [triage-labels.md](.\u002Ftriage-labels.md) — label mapping\n- [domain.md](.\u002Fdomain.md) — domain doc consumer rules + layout\n\nFor \"other\" issue trackers, write `docs\u002Fagents\u002Fissue-tracker.md` from scratch out of the user's description.\n\n### 5. Done\n\nTell the user setup is complete and which engineering skills will now read from these files. Note that they can edit `docs\u002Fagents\u002F*.md` directly later — re-running this skill is only needed to switch issue trackers or start over.\n","# Set up skills\n\nLay down the per-repo configuration the engineering skills rely on:\n\n- **Issue tracker** — where issues live (GitHub by default; local markdown also works out of the box)\n- **Triage labels** — the strings that stand in for the five canonical triage roles\n- **Domain docs** — where `CONTEXT.md` and ADRs live, and how consumers should read them\n\nThis is prompt-driven, not a deterministic script. Explore, show what you found, confirm with the user, then write.\n\n## Process\n\n### 1. Explore\n\nInspect the repo to learn its starting state. Read what's actually there rather than assuming:\n\n- `git remote -v` and `.git\u002Fconfig` — is this a GitHub repo? Which one?\n- `AGENTS.md` and `CLAUDE.md` at the repo root — does either exist? Does either already carry an `## Agent skills` section?\n- `CONTEXT.md` and `CONTEXT-MAP.md` at the repo root\n- `docs\u002Fadr\u002F` and any `src\u002F*\u002Fdocs\u002Fadr\u002F` directories\n- `docs\u002Fagents\u002F` — has this skill already produced output here?\n- `.scratch\u002F` — a sign a local-markdown issue tracker convention is already in play\n\n### 2. Present findings and ask\n\nSummarise what exists and what's missing. Then walk the user through the three decisions **one at a time** — show a section, take the user's answer, then move on. Don't dump all three at once.\n\nAssume the user hasn't met these terms before. Open each section with a short explainer (what it is, why these skills need it, what shifts if they choose otherwise). Then lay out the choices and the default.\n\n**Section A — Issue tracker.**\n\n> Explainer: The \"issue tracker\" is where this repo's issues live. Skills like `to-issues`, `triage`, and `to-prd` read from and write to it — they need to know whether to reach for `gh issue create`, drop a markdown file under `.scratch\u002F`, or follow some other workflow you describe. Pick the place you genuinely track work for this repo.\n\nDefault posture: these skills were built for GitHub. If a `git remote` points at GitHub, propose that. If a `git remote` points at GitLab (`gitlab.com` or a self-hosted host), propose GitLab. Otherwise (or if the user prefers), offer:\n\n- **GitHub** — issues live in the repo's GitHub Issues (uses the `gh` CLI)\n- **GitLab** — issues live in the repo's GitLab Issues (uses the [`glab`](https:\u002F\u002Fgitlab.com\u002Fgitlab-org\u002Fcli) CLI)\n- **Local markdown** — issues live as files under `.scratch\u002F\u003Cfeature>\u002F` in this repo (good for solo projects or repos without a remote)\n- **Other** (Jira, Linear, etc.) — ask the user to describe the workflow in one paragraph; the skill records it as freeform prose\n\nIf — and only if — the user picked **GitHub** or **GitLab**, ask one follow-up:\n\n> Explainer: Open-source repos often get feature requests as pull requests, not just issues — a PR is an issue with code attached. Turn this on and `\u002Ftriage` folds *external* PRs into the same queue, running them through the same labels and states as issues (collaborators' in-flight PRs are left alone). Leave it off if PRs aren't a request surface for you.\n\n- **PRs as a request surface** — yes \u002F no (default: no). Record the answer in `docs\u002Fagents\u002Fissue-tracker.md`. For local-markdown and other trackers, skip this question — there are no PRs.\n\n**Section B — Triage label vocabulary.**\n\n> Explainer: When the `triage` skill handles an incoming issue, it walks it through a state machine — needs evaluation, waiting on reporter, ready for an AFK agent to grab, ready for a human, or won't fix. To do that it applies labels (or your tracker's equivalent) that match strings *you've actually set up*. If your repo already uses different names (say `bug:triage` instead of `needs-triage`), map them here so the skill reaches for the right ones instead of minting duplicates.\n\nThe five canonical roles:\n\n- `needs-triage` — maintainer needs to evaluate\n- `needs-info` — waiting on reporter\n- `ready-for-agent` — fully specified, AFK-ready (an agent can grab it with no human context)\n- `ready-for-human` — needs human implementation\n- `wontfix` — will not be actioned\n\nDefault: each role's string equals its name. Ask whether the user wants to override any. If their tracker has no existing labels, the defaults are fine.\n\n**Section C — Domain docs.**\n\n> Explainer: Some skills (`improve-codebase-architecture`, `diagnosing-bugs`, `tdd`) read a `CONTEXT.md` file to pick up the project's domain language, and `docs\u002Fadr\u002F` for past architectural decisions. They need to know whether the repo runs one global context or several (say a monorepo with separate frontend\u002Fbackend contexts) so they look in the right place.\n\nConfirm the layout:\n\n- **Single-context** — one `CONTEXT.md` + `docs\u002Fadr\u002F` at the repo root. Most repos are this.\n- **Multi-context** — `CONTEXT-MAP.md` at the root pointing to per-context `CONTEXT.md` files (typically a monorepo).\n\n### 3. Confirm and edit\n\nShow the user a draft of:\n\n- The `## Agent skills` block to add to whichever of `CLAUDE.md` \u002F `AGENTS.md` you're editing (selection rules in step 4)\n- The contents of `docs\u002Fagents\u002Fissue-tracker.md`, `docs\u002Fagents\u002Ftriage-labels.md`, `docs\u002Fagents\u002Fdomain.md`\n\nLet them edit before you write.\n\n### 4. Write\n\n**Pick the file to edit:**\n\n- If `CLAUDE.md` exists, edit it.\n- Else if `AGENTS.md` exists, edit it.\n- If neither exists, ask the user which to create — don't decide for them.\n\nNever create `AGENTS.md` when `CLAUDE.md` already exists (or vice versa) — always edit the one already there.\n\nIf an `## Agent skills` block already exists in the chosen file, update its contents in place rather than appending a duplicate. Leave the user's edits to the surrounding sections alone.\n\nThe block:\n\n```markdown\n## Agent skills\n\n### Issue tracker\n\n[one-line summary of where issues are tracked, plus whether external PRs are a triage surface]. See `docs\u002Fagents\u002Fissue-tracker.md`.\n\n### Triage labels\n\n[one-line summary of the label vocabulary]. See `docs\u002Fagents\u002Ftriage-labels.md`.\n\n### Domain docs\n\n[one-line summary of layout — \"single-context\" or \"multi-context\"]. See `docs\u002Fagents\u002Fdomain.md`.\n```\n\nThen write the three docs files, seeding them from the templates in this skill folder:\n\n- [issue-tracker-github.md](.\u002Fissue-tracker-github.md) — GitHub issue tracker\n- [issue-tracker-gitlab.md](.\u002Fissue-tracker-gitlab.md) — GitLab issue tracker\n- [issue-tracker-local.md](.\u002Fissue-tracker-local.md) — local-markdown issue tracker\n- [triage-labels.md](.\u002Ftriage-labels.md) — label mapping\n- [domain.md](.\u002Fdomain.md) — domain doc consumer rules + layout\n\nFor \"other\" issue trackers, write `docs\u002Fagents\u002Fissue-tracker.md` from scratch out of the user's description.\n\n### 5. Done\n\nTell the user setup is complete and which engineering skills will now read from these files. Note that they can edit `docs\u002Fagents\u002F*.md` directly later — re-running this skill is only needed to switch issue trackers or start over.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","e1e71e8aa302edca3e052370aefa9272f86d07ee","skills\u002Fengineering\u002Fsetup-skills",0,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills","https:\u002F\u002Fgithub.com\u002Fofficialunofficial","officialunofficial.com","2026-11-06 10:07:10",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add officialunofficial\u002Fskills --skill setup-skills",{"tool":39,"command":40},"bunx","bunx skills add officialunofficial\u002Fskills --skill setup-skills",{"tool":42,"command":43},"pnpm","pnpm dlx skills add officialunofficial\u002Fskills --skill setup-skills","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002FSKILL.md",[46,52,56,60,64],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"domain.md","REFERENCE","参考文档",2070,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002Fdomain.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"issue-tracker-github.md",1967,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002Fissue-tracker-github.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"issue-tracker-gitlab.md",2249,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002Fissue-tracker-gitlab.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"issue-tracker-local.md",836,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002Fissue-tracker-local.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"triage-labels.md",1090,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fsetup-skills\u002Ftriage-labels.md",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7887BDP2BC5HFHEKCNMBZ4Q","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M788772K4QYXCZX3Y2P2AX9V","technical-writing","House style for technical writing — the voice, sentence craft, formatting, and user-facing-copy rules that make docs and product text clear, direct, and consistent. Use when writing or editing a README, docs, a spec, release notes, a changelog, help text, or any error\u002FCLI\u002FUI copy a person reads; when reviewing a diff that touches prose or messages; or when a project needs a writing standard. Reference-heavy mechanics live in REFERENCE.md.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M78875087F1XKP7C6VRC49CY","teach","Teach the user a new skill or concept, within this workspace.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M78872Z38MACN22AQDY9410P","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M78870FVRDYRT1WVP9HJ6FQ3","grilling","Interrogate the user's plan or design one decision at a time until you both share the same understanding. Use when the user wants to pressure-test an idea before building it, or reaches for any 'grill' trigger phrase.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7886XGPEWXZYDA6K310HNYP","grill-me","A relentless, one-decision-at-a-time interview that sharpens a plan or design.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrill-me\u002FSKILL.md",[],[]]