to-issues

to-issues is a skill for Claude Code from bartolli/kmd. It costs 140 tokens per session (2,035 once invoked), scanned A, original, MIT.

A skill that breaks a wiki user story into small end-to-end implementation slices, where each slice crosses all needed layers and can be completed independently.

In plain words
What is it for?
Use it to refine slice boundaries, record dependencies, decide whether human input is needed, and optionally create matching issue-tracker items.
Why use it?
It turns broad stories into manageable work items and can mirror ready slices to GitHub or GitLab, with links back to the wiki.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wiki-sdd plugin — 10 skills, 5 hooks shipped together

Good fit Use it to refine slice boundaries, record dependencies, decide whether human input is needed, and optionally create matching issue-tracker items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bartolli/kmd/to-issues
View source ↗ bartolli/kmd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bartolli/kmd --skill to-issues
Clone the repo
git clone --depth 1 https://github.com/bartolli/kmd

Made for: Claude Code.

Or install wiki-sdd, the plugin that ships this one along with the rest of its 10 skills, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for to-issues

README.md
[![agentmods](https://agentmods.dev/badge/skills/bartolli/kmd/to-issues/github.svg)](https://agentmods.dev/skills/bartolli/kmd/to-issues)
Your own site
<a href="https://agentmods.dev/skills/bartolli/kmd/to-issues"><img src="https://agentmods.dev/badge/skills/bartolli/kmd/to-issues/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for to-issues

Your own site · 80×15
<a href="https://agentmods.dev/skills/bartolli/kmd/to-issues"><img src="https://agentmods.dev/badge/skills/bartolli/kmd/to-issues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.02035
Opus 5.5 $0.00056 $0.00814
Sonnet 5.5 $0.00028 $0.00407
Haiku 4.5 $0.00014 $0.00203

Measured 1mo ago against content hash 0d11c80ba81f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

to-issues scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/claude/wiki-sdd/skills/to-issues/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

To Issues — Break Stories into Vertical Slices (and Optionally Mirror to GitHub/GitLab)

Take a wiki user story and decompose it into independently-grabbable vertical slices using tracer bullets. In GitHub/GitLab mode, also mirror ready-for-agent slices to the remote tracker.

Hand-off from /to-stories: /to-stories writes a rough slice draft (1-3 coarse slices) when synthesizing stories. /to-issues is the refinement pass — validates vertical-slice rules, splits coarse slices, sets blocked_by dependencies, and mirrors to GH/GitLab. Run /to-issues after /triage promotes a story to ready-for-agent, or earlier if the user wants to refine slicing before triage.

Prerequisites

  • WIKI_SCOPE: <scope> declared in the project instructions.
  • The target story file exists at projects/<scope>/plan/<plan-name>/story-N-<slug>.md.
  • WIKI_ISSUE_TRACKER declared in the project instructions (github, gitlab, or local).

What is a vertical slice (tracer bullet)?

A slice is a thin path that cuts through ALL integration layers end-to-end, NOT a horizontal slice of one layer.

  • Each slice delivers a narrow but COMPLETE path through every layer (schema · API · UI · tests).
  • A completed slice is independently demoable or verifiable.
  • Prefer many thin slices over few thick ones.

Slices may be AFK (autonomous-runnable) or HITL (needs human interaction — architectural decision, design review, manual testing). Prefer AFK over HITL where possible.

Anti-pattern: "Slice 1: build the schema. Slice 2: build the API. Slice 3: build the UI." That's horizontal — none of those slices is independently demoable. Convert to vertical: "Slice 1: end-to-end happy path. Slice 2: validation rules. Slice 3: error handling."

Process

1. Gather context

  • Read the target story file: frontmatter + body (User Story, Scenarios, existing Slices, References).
  • Read the parent plan/plan-{name}.md for context.
  • Read glossary.md for vocabulary; ADRs and specs referenced by the story for technical constraints.
  • Check WIKI_ISSUE_TRACKER to determine remote-mirror behavior.

Read the full file on GitHub · 183 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 0d11c80ba81f
  2. 1mo ago Changed 3389ea2f3e36
  3. 1mo ago Changed 6a832ad988aa
  4. 2mo ago First seen · 183 lines · 140 tokens per session scan A 574ca782435b

Subscribe to this mod's changes

to-issues is a skill published in the GitHub repository bartolli/kmd (7 stars, last pushed 1mo ago), licensed MIT. It adds 140 tokens to every session and 2,035 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.