mcpField
I
issue-spec

issue-spec

github.com/onsager-aiDevelopment762 installsUpdated 2d ago
Repository

About issue-spec

issue-spec is a skill for drafting and managing change specifications within a repository’s existing workflow. It guides discovery, scope and test definition, validation, publication, and handoff while respecting repository-specific rules.

Key features

  1. 01Discover existing code, issues, and specs
  2. 02Structure scope, design, and test plans
  3. 03Clarify boundaries and unresolved decisions
  4. 04Validate scope, dependencies, and labels
  5. 05Publish or update specs and link child work
  6. 06Hand off ready work to delivery workflows

Use cases

  1. 01Writing a change spec in a repository
  2. 02Updating a related existing specification
  3. 03Preparing scoped work for implementation and review

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/onsager-ai/dev-skills --skill issue-spec

After installing, type/issue-specin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
spec-format.md
scripts/
spec-list.sh
spec-show.sh
templates/
issue-spec-template.md

Details

From the project README

Issue specification

Scope

This skill owns specification method, not which changes require a spec. Read AGENTS.md and the relevant repo workflow overlay for the target repository, always-spec surfaces, labels, required sections and exceptions. An explicit request to write a spec is sufficient to start; do not re-ask whether to do it. Use the repository's declared spec medium. Use GitHub issues when it adopts the issue-based SDD loop; do not migrate another repository's spec format by inference.

Prerequisites

Know the intended change, target repo and applicable contract. For GitHub work, use harness-operations only if capability mapping is needed. No personal installation or particular GitHub tool is required. Read the format reference when drafting and use the template as a starting point, not extra policy.

Procedure

  1. Discover relevant code, recent changes and existing issues/specs. Reuse or amend related work instead of creating a duplicate. Resolve the target repo from its checkout/remote and contract; do not infer it from the skill's source repo.
  2. Capture intent with Overview, Design, independently verifiable Plan items, matching Test items, Alignment and optional Notes. Include the repo's required impact/example sections. Keep the spec near 2000 tokens or less; split a larger feature into a parent and independently scoped children.
  3. State boundaries in Alignment. Proceed with already authorized implementation decisions. For a concrete unresolved human boundary needed for the work, use the structured question capability mapped by harness-operations; name its source, affected Plan items, options and tradeoffs. A plain-text question or Human decides checklist alone does not request the decision. Wait for an explicit answer before dependent work; continue independent authorized work. Reconcile the answer into the spec in the same sitting and clear answered blockers. If no permitted question tool exists, state that limitation and use the established handoff channel without assuming an answer.
  4. Validate scope, invariants, test coverage, dependencies and required labels. In GitHub bodies keep each prose paragraph or list item on one source line; blank lines separate blocks. Do not mark Plan items complete before delivery.
  5. Publish or update the spec through an available authorized tool. Apply existing repo labels, priority and area conventions; do not create a new taxonomy merely because this procedure uses one in an example. Establish child relationships with native sub-issues where supported, otherwise record explicit links.
  6. Hand ready work to pre-push and pr-lifecycle. Use the repository's worktree/branch rules. The common procedure does not choose a harness branch prefix.

Completion

Report the spec path/URL, scope, decisions and any blocked publication capability. A local draft is not a published issue. Under issue-based SDD, link final delivery with Closes #N, partial delivery with Part of #N, and reconcile Plan progress only after landing. If the repository has no spec gate, do not impose one.

Optional helpers

The list helper and show helper are optional CLI conveniences requiring authenticated GitHub CLI and jq. Use connected GitHub tools instead when those prerequisites are unavailable.

Comments

Markdown supported