# Setup Tracker

Configure issue tracking and domain documentation setup for a repository by identifying and writing necessary files for the Decomposition and Wayfinder playbooks.

**Canonical URL:** https://skillshunter.net/skills/discovered-4c1de8432bd96a64973bcdfae9162b829b44cba51bb95190

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-4c1de8432bd96a64973bcdfae9162b829b44cba51bb95190

**Markdown URL:** https://skillshunter.net/skills/discovered-4c1de8432bd96a64973bcdfae9162b829b44cba51bb95190.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-4c1de8432bd96a64973bcdfae9162b829b44cba51bb95190/download

**Category:** Software & Development

**Source URL:** https://github.com/jueyi6/empstack/blob/74181e31d2f00313f8683ba157966efcabbe109e/skills/setup-tracker/SKILL.md

**Source commit:** 74181e31d2f00313f8683ba157966efcabbe109e

**Listing approved at:** 2026-12-02

**Created at:** 2026-11-30T08:56:44.000000Z

**Updated at:** 2026-12-02T09:15:14.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before running, ensure the repository has a remote (GitHub, GitLab, or local markdown under `.scratch/`). If using GitHub or GitLab, confirm the repo is reachable with `gh repo view` or `glab repo view`.

### When to use it

- Configure issue tracking for a GitHub repository
- Set up domain documentation for a monorepo
- Migrate from a local markdown tracker to a remote issue tracker

## Skill instructions

---
name: setup-tracker
description: Point the Wayfinder and Decomposition playbooks at this repo's tracker and docs.
disable-model-invocation: true
---

# Set up the tracker

Write the per-repo files that the Decomposition and Wayfinder playbooks and ticket-driven builds read. Explore, present what you found, confirm, then write.

## 1. Explore

- `git remote -v`: GitHub, GitLab, or no remote.
- `CLAUDE.md` and `AGENTS.md` at the root, and any `## Agent skills` section in them.
- `GLOSSARY.md`, `GLOSSARY-MAP.md`, `docs/adr/`, any `src/*/docs/adr/`.
- `docs/agents/`: this skill's earlier output.
- `.scratch/`: a local markdown tracker already in use.
- Monorepo signals: `pnpm-workspace.yaml`, a `workspaces` field in `package.json`, or populated `packages/*`.

## 2. Ask

Lead each section with the recommended answer so the user can accept it in a word. Skip a section exploration already settled.

**Issue tracker.** A remote on GitHub → propose GitHub (`gh`). On GitLab → GitLab (`glab`). No remote → local markdown under `.scratch/<feature>/`. Another tracker (Jira, Linear) → have the user say how it does each operation in [issue-tracker-github.md](./issue-tracker-github.md), and ask for any they leave out.

A GitHub or GitLab tracker needs a reachable repo. Done when `gh repo view` or `glab repo view` prints the project from this directory. If it cannot, stop and say what is missing.

**Domain docs.** Default to single-context (one `GLOSSARY.md` and `docs/adr/` at the root) and write it without asking. Offer multi-context (a root `GLOSSARY-MAP.md` pointing to per-context glossaries) only when exploration found monorepo signals.

## 3. Confirm

Show a draft of the `## Agent skills` block and of `docs/agents/issue-tracker.md` and `docs/agents/domain.md`. Let the user edit before you write.

## 4. Write

Edit `CLAUDE.md` if it exists, else `AGENTS.md`, else create `CLAUDE.md`. Update an existing `## Agent skills` block in place and leave the surrounding sections alone.

```markdown
## Agent skills

### Issue tracker

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

### Domain docs

[single-context or multi-context]. See `docs/agents/domain.md`.
```

Write the docs from the seed templates in this folder: [issue-tracker-github.md](./issue-tracker-github.md), [issue-tracker-gitlab.md](./issue-tracker-gitlab.md), [issue-tracker-local.md](./issue-tracker-local.md), [domain.md](./domain.md). For another tracker, write `docs/agents/issue-tracker.md` from the user's description, keeping every heading and bold label of the GitHub seed and replacing its commands. On a rerun with the doc already there, add only the headings and labels it lacks, ask the user only about those, and keep its hand edits.

## 5. Done

Say which files were written and that they can be edited by hand. Rerun this skill to switch trackers or to add a newer seed's sections to an existing doc.

