From issues
Bootstrap a docs/issues/ folder in the current repo for tracking bugs, features, and incidents as one markdown file per issue. Use whenever the user wants to set up issue tracking inside a repo, asks for a "ticket folder" / "bug tracker folder" / "docs/issues directory", or before they file the first ticket. /issue-new auto-inits if missing, so /issue-init is primarily for explicit setup or for refreshing the seed README/INDEX. This is the bug-write-up cousin of /plan-init — pick this one when issues need a full diagnosis record (symptom, repro, root cause, fix, verification) and a branch-on-start workflow.
How this skill is triggered — by the user, by Claude, or both
Slash command
/issues:issue-initThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create the `docs/issues/` directory and seed `README.md` + `INDEX.md`. After this runs, the user can file tickets with `/issue-new`.
Create the docs/issues/ directory and seed README.md + INDEX.md. After this runs, the user can file tickets with /issue-new.
Find the repo root:
ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"
If the user isn't in a git repo, stop and ask whether they want to git init first — issue history without version control is fragile, and the branch-on-start workflow assumes git is present. Don't proceed silently.
Target directory: $ROOT/docs/issues/.
If docs/issues/ already exists, scan for ticket files:
ls "$ROOT/docs/issues"/[0-9][0-9][0-9][0-9]-*.md 2>/dev/null | head -1
**Status:** line in each file) and stop. The user probably wanted /issue-new or to look at INDEX.md.mkdir -p "$ROOT/docs/issues"
Write $ROOT/docs/issues/README.md with this content verbatim:
# Issues
One markdown file per issue. Use this folder for anything that benefits from its own page: a reproducible bug, a regression investigation, a one-off incident, or a fix with non-obvious context.
The board lives in [`INDEX.md`](./INDEX.md) — open that to see what's in-flight, what's queued, and what's done.
## File naming
`NNNN-short-kebab-slug.md` — zero-padded 4-digit sequence, then a slug.
Examples:
- `0001-uploads-static-route-leaks-evidence.md`
- `0002-activity-log-missing-ip-address.md`
## Template
```markdown
# <title>
- **Status:** open
- **Reported:** YYYY-MM-DD
- **Type:** bug | feature | question | discovery
- **Severity:** low | medium | high | critical
- **Area:** <e.g. frontend, server, db, infra>
- **Source:** <where this came from — meeting, PR review, support ticket>
- **Fixed:** <set on close — YYYY-MM-DD (commit <short-sha>)>
## Symptom
What the user sees / what's broken.
## Reproduction
Steps, role, environment, sample data.
## Root cause
Why it happens — not what the fix is.
## Fix
What changed, and which files.
## Verification
How you confirmed it's fixed (test name, manual steps, screenshot reference).
```
## Commands
- `/issue-new <title>` — file a new ticket. Auto-numbers, asks for type / area / severity.
- `/issue-start <id-or-slug>` — begin work. Aligns the plan with you first, then creates a `{domain}/{kebab}` branch and flips status to in-progress.
- `/issue-close <id-or-slug>` — mark fixed after the change has shipped. Fills commit SHA, prompts for Verification, moves the INDEX line to Done.
Edit individual tickets and `INDEX.md` directly when needed — the commands are conveniences, not gatekeepers.
Write $ROOT/docs/issues/INDEX.md with this content verbatim:
# Issues — Board
At-a-glance status across all tickets in this folder. Hand-maintained: when you flip a ticket's `**Status:**`, move its line to the matching section here. Convention and template live in [`README.md`](./README.md).
Each line: `[NNNN](./NNNN-slug.md) — title — \`branch/name\` — notes`.
## In progress
_(none)_
## Open
_(none yet — use `/issue-new` to create one)_
## Awaiting input
_(blocked on external decision or info)_
## Done
_(closed tickets with commit SHA)_
A flat "Open" section is the default. Once a project accumulates enough tickets that triage by priority would help, split Open into tiers (Open — P0, Open — high, Open — medium). Don't impose tiers up front.
Tell the user:
docs/issues/.README.md and INDEX.md are seeded./issue-new <title> to file the first ticket.git add docs/issues/ (don't run it yourself — let them review).Do not commit.
npx claudepluginhub mikersays/mikersays-plugins --plugin issuesGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.