/nonoise:spec-to-workitemfrom nonoise
Translates macro functional tasks from a NONoise sprint manifest (`docs/sprints/Sprint-N/sprint-manifest.md`) into work items on an external issue tracker via a pluggable adapter pattern. Ships adapters for GitHub Issues (default), Azure DevOps, Jira, Linear, plus `dry-run` mode that prints what would be created without touching any remote system. Idempotent — searches for existing work items matching a task ID before creating new ones. Use when the user mentions "export to tracker", "create issues from sprint manifest", "push work items", "sync sprint to GitHub / Azure DevOps / Jira / Linear", "spec to workitem", "dry-run work items", or wants to translate a manifest into an external backlog. Commands — `/spec-to-workitem sprint N`, `/spec-to-workitem sprint N adapter=github-issues`, `/spec-to-workitem sprint N dry-run`. Auth is always per-adapter via environment variables — never hardcoded.
Ships in nonoise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill is the export bridge between a NONoise sprint manifest and any external issue tracker. It reads the aggregated sprint manifest produced by sprint-manifest, asks the user which tracker adapter to use, and creates one work item per macro functional task — with title, description, labels, effort, and dependency links where the adapter supports them.
The skill is tracker-agnostic: all tracker-specific logic is isolated in adapters (see references/adapter-*.md). Adding a new tracker means adding a new adapter reference and a minimal code stub — the core flow stays the same.
┌─────────────┐ ┌──────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ arch- │──▶│ arch- │──▶│ sprint-manifest │──▶│ spec-to-workitem │
│ brainstorm │ │ decision │ │ │ │ (THIS SKILL) │
│ │ │ │ │ produces │ │ │
│ produces │ │ FPF gate → │ │ aggregated │ │ exports manifest │
│ PRDs as │ │ Haft or │ │ manifest + │ │ to external │
│ draft │ │ lightweight │ │ macro tasks │ │ tracker │
│ │ │ │ │ │ │ │
└─────────────┘ └──────────────┘ └──────────────────┘ └──────────────────┘
STEP 1 STEP 2 STEP 3 STEP 4
docs/sprints/Sprint-N/sprint-manifest.md and, optionally, the promoted PRDs under docs/sprints/Sprint-N/<area>/ for richer context.sprint-manifest's job.dry-run; a live push requires explicit user confirmation.$ARGUMENTS can be:
sprint N — process all macro tasks of Sprint N (adapter defaults to dry-run unless otherwise specified)sprint N adapter=<name> — use a specific adapter (github-issues, azure-devops, jira, linear, dry-run)sprint N adapter=<name> area=<slug> — only tasks from a given areasprint N adapter=<name> confidence=CL1 — only tasks at a given confidence levelsprint N adapter=<name> tasks=T1,T3,T7 — only specific task IDssprint N dry-run — alias for adapter=dry-run; no external call, just prints what would be doneIf arguments are missing, ask the user for sprint number and adapter via AskUserQuestion.
Every adapter must implement the following four operations. This is the contract — the core flow of the skill calls these operations regardless of the underlying tracker.
| Operation | Input | Output | Purpose |
|---|---|---|---|
create_item(work_item) | WorkItem object | Tracker ID + URL | Create a new work item on the tracker |
list_items(filter) | Filter (labels, area, sprint) | List of WorkItem summaries | Enumerate existing items (used for context and reports) |
update_item(tracker_id, patch) | Tracker ID + partial WorkItem | Updated ID + URL | Apply changes to an existing item (used only on explicit user approval) |
search_by_external_id(task_id) | Task ID string (e.g. T1) | Matching item or null | Idempotency check — find existing items created by a previous run |
Before handing off to an adapter, the skill normalizes every task into this tracker-agnostic shape:
external_id: "T1" # matches manifest section 4 task ID
title: "[T1] Operator starts signup with email and receives an OTP"
description: | # markdown body
**Functional description**: ...
**Acceptance test**: ...
**Dependencies**: T2, T5
**Manifest ref**: docs/sprints/Sprint-5/sprint-manifest.md §4 T1
labels: ["sprint-5", "user-signup", "CL2"]
effort_days: 3.5
components: ["auth-service", "notifications"]
depends_on: ["T2", "T5"] # resolved to tracker IDs by the adapter
user_story_ref: "US1" # manifest section 3 reference
The adapter translates this canonical shape into the tracker's native format (see the per-adapter references).
| Adapter | Status | Default? | Reference |
|---|---|---|---|
dry-run | Implemented | Yes (when no adapter configured) | references/adapter-dryrun.md |
github-issues | Implemented | Yes (live default for v1) | references/adapter-github.md |
azure-devops | Implemented | No | references/adapter-azuredevops.md |
jira | Stub — schema documented, wiring pending | No | references/adapter-jira.md |
linear | Stub — schema documented, wiring pending | No | references/adapter-linear.md |
Stub adapters document the target shape and authentication model. Their create_item prints the translated payload to the console (so the user can copy-paste it or run a side integration). Promoting a stub to a full adapter is non-breaking — the contract stays the same.
Authentication is always per-adapter, from environment variables or CLI sessions — never hardcoded. If the required variables are missing, the skill stops and explains what to set.
| Adapter | Required env vars / auth source | Optional fallback |
|---|---|---|
github-issues | GH_TOKEN (Personal Access Token with repo scope) | gh CLI if authenticated (gh auth status) |
azure-devops | AZURE_DEVOPS_PAT (Personal Access Token, scopes: Work Items R/W) | none |
jira | JIRA_API_TOKEN, JIRA_EMAIL, JIRA_HOST | none |
linear | LINEAR_API_KEY | none |
dry-run | none | n/a |
The adapter-specific reference files document exactly how each variable is used and what scopes / permissions are needed.
docs/sprints/Sprint-N/sprint-manifest.md. If missing, stop and redirect to sprint-manifest.dry-run and announce it explicitly.sprint, areas_covered, prd_refs, total_effort_days).user_story_ref field.depends_on.docs/sprints/Sprint-N/<area>/NN-<study>.md to enrich the description if the task references a specific PRD section. Do not duplicate the full PRD in the description — just cite the reference.Use AskUserQuestion for:
github-issues: "Export to repo <owner>/<repo>? Use milestone Sprint 5? Use labels sprint-5, <area-slug>, CL{confidence}?"Present a short preview table (task ID, title, area, confidence, effort, existing?) before making any remote call.
For every task to export, call search_by_external_id(task_id) on the adapter. Classify each task into:
| Class | Meaning | Action |
|---|---|---|
| NEW | No existing item matches the task ID | Queue for create_item |
| EXISTS | Existing item found by external ID | Skip by default. Ask the user if they want to update_item. |
| AMBIGUOUS | Multiple items match the ID | Flag, ask the user which one to update (or skip) |
The canonical idempotency key is the [T<N>] prefix in the work item title. Adapters that expose custom fields (Azure DevOps, Jira) should also stamp the external_id in a custom field for robust matching; the fallback is a title search.
Present the full impact table to the user before calling create_item on anything.
For each NEW task (and each approved UPDATE):
WorkItem shape (see above).create_item(work_item) (or update_item).depends_on, once all items are created, call update_item on each created item to add dependency links — two-pass to avoid forward references.On each call, handle errors gracefully:
Print a summary to the user:
spec-to-workitem — Sprint <N> / adapter: <name>
Created: <N> items
Updated: <N> items
Skipped: <N> items (already tracked)
Ambiguous: <N> items (user review needed)
Failed: <N> items
Detail:
[T1] Operator starts signup with email and receives an OTP
-> <tracker URL> (status: created)
[T2] Operator verifies OTP and receives a session token
-> <tracker URL> (status: skipped — already #142)
...
Dependencies linked: <N>
Dependencies skipped (missing target): <N>
If the mode was dry-run, the same table is produced but no remote call was made; the "tracker URL" column is replaced with (dry-run).
Optionally, write a summary file at docs/sprints/Sprint-N/export/spec-to-workitem-<adapter>-<YYYY-MM-DD>.md so the user has a local audit trail of what was pushed. This is a read-only artifact; do not mutate it after creation.
WorkItemThis is the mapping applied before calling the adapter:
| Manifest field (section 4) | Canonical WorkItem field | Notes |
|---|---|---|
Task ID (e.g. T1) | external_id | Used for idempotency |
| Functional name | Part of title | Title format: [{task_id}] {functional name} |
| Area | labels[] (as <area-slug>) | Also available separately as area metadata |
| User story ref | user_story_ref | Cited in description as "Linked user story: US1" |
| Description | description (top section) | Verbatim |
| Acceptance test | description (second section) | Under "Acceptance test" heading |
| Confidence | labels[] (as CL1 / CL2 / CL3) | Also part of description metadata |
| Estimated effort | effort_days | Adapter maps to its native field (story points / effort hours / estimate) — see per-adapter reference |
| Dependencies | depends_on[] | Resolved to tracker IDs in step 4 |
| Components touched | components[] | Adapter maps to tags/areas where supported |
| Relevant PRD sections | description (footer) | Cited as "Manifest ref: ... / PRD ref: ..." |
| Sprint number (frontmatter) | labels[] (as sprint-<N>) and / or sprint/milestone field | Adapter-specific |
Sprint field mapping per adapter:
github-issues → milestone named Sprint <N>azure-devops → System.IterationPath set to the project's iteration matching Sprint <N>jira → custom sprint field in the active boardlinear → cycle named Sprint <N>Every created work item uses this structure for its description/body, rendered as Markdown:
## Functional description
<verbatim "Description" field from manifest task>
## Acceptance test
<verbatim "Acceptance test" field from manifest task>
## Meta
- **Task**: T<N>
- **Area**: <area-slug>
- **User story**: US<M> — <user story name>
- **Confidence**: CL<k>
- **Estimated effort**: <X> days
- **Components touched**: <component list>
- **Dependencies**: T<A>, T<B> (linked as tracker references when supported)
## References
- Sprint manifest: `docs/sprints/Sprint-<N>/sprint-manifest.md` §4 T<N>
- Promoted PRD: `docs/sprints/Sprint-<N>/<area>/NN-<study>.md` (if task cites one)
- Generated by: spec-to-workitem skill (NONoise) — <YYYY-MM-DD>
The description is stable — re-running on an existing item shows no diff unless the underlying manifest task changed.
external_id. No duplicates.dry-run.sprint-manifest first.needs-decision-record and still exported, or held back.sprint-manifest, then run this skill.references/adapter-dryrun.md — the default no-op adapter (always works)references/adapter-github.md — GitHub Issues adapter (default live adapter)references/adapter-azuredevops.md — Azure DevOps adapter (REST API, PAT auth)references/adapter-jira.md — Jira adapter (schema documented, wiring pending)references/adapter-linear.md — Linear adapter (schema documented, wiring pending)sprint-manifest — produces the input for this skillatr — acceptance testing of tasks after exportarch-decision / arch-brainstorm — upstream skills that produce validated PRDsFor architectural validation, route through arch-decision, which first
evaluates the FPF gate. Haft (via quint-fpf) is required only when the gate
fires; a PRD with decision.mode: lightweight is a valid basis and carries no
haft refs. When haft refs are present, retain the PRD haft IDs and
repository-root-relative paths in handoffs/work items; do not copy .haft/
records into an audit folder. If the gate fires and Haft is missing, stop that
validation with create-nonoise --upgrade . and create-nonoise doctor ..
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
27 skills in this plugin
/arch-brainstormDialogic architectural brainstorming skill. Helps an architect study how to implement something starting from just an area name, exploring the existing codebase, reading the project's source of truth at `docs/architecture/` plus `docs/requirements/` and `docs/calls/`, and producing a narrative PRD (story of the decision, inline Mermaid diagrams, explicit anti-scope) under `docs/prd/<area>/`. USE AS STEP 1 of the end-to-end architectural workflow — brainstorm → arch-decision (Haft FPF validation via `quint-fpf`) → sprint-manifest (promotion to sprint). Triggers — "I want to study how to implement X", "how should we handle Y", "brainstorm on area Z", "open a PRD for W", "arch-brainstorm area <slug>". Also triggers without explicit mention when the user is defining a new architectural work area from scratch and wants to think it through together./arch-decisionValidate an existing draft PRD through Haft ProblemCard, solution variants and parity comparison, then route the operator's explicit Phase 5.5 choice through h-decide and project the result into PRD frontmatter. Use for architectural PRD validation when the FPF gate fires; otherwise records a lightweight decision in the PRD with no Haft run. Creates no duplicate FPF audit register.npx claudepluginhub russosalv/nonoise --plugin nonoise