Skip to content
Back to skills

Sdd Tojira

ASecurity

Export an SDD Specification to a Jira Story (and optionally subtasks).

  • 34 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
ai-agentsgoshellrailsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add phenobarbital/ai-parrot --skill sdd-tojira --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sdd Tojira?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sdd Tojira
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phenobarbital-sdd-tojira/badge)](https://www.skillsdirectory.com/skills/phenobarbital-sdd-tojira)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sdd-tojira
description: Export an SDD Specification to a Jira Story (and optionally subtasks).
---

# SDD To Jira

## Full procedure and host adaptations

Before executing, read the [full sdd-tojira procedure](../../../.claude/commands/sdd-tojira.md)
and your host's adaptation contract: the [Codex adaptation contract](../../../docs/sdd/CODEX.md#codex-adaptation-contract)
on Codex, or the [Antigravity adaptation contract](../../../docs/sdd/AGY.md#antigravity-adaptation-contract) on Google Antigravity (`agy`).
Follow the full procedure for details omitted from this summary. The adaptation
contract and the Codex-specific instructions below override Claude runtime syntax
and legacy shell examples; retain all workflow gates and evidence requirements.

Use this skill when the user asks to export an SDD spec to Jira, sync tasks as subtasks, or run `sdd-tojira`.

Invocation: `sdd-tojira <spec-path-or-FEAT-ID> [--ticket KEY] [--with-subtasks] [--project KEY]`.

## Purpose

Export an approved specification (`sdd/specs/*.spec.md`) to Jira as a Story, optionally creating Jira subtasks for each decomposed task in `sdd/tasks/index/<feature>.json`, linking the Jira key in the spec, and committing the change.

## Guardrails

- Spec should be `status: approved` (confirm if draft).
- Check for existing ticket linkage to run in idempotent UPDATE mode.
- Resolve the target in order: `--ticket`, spec metadata/linkage, then search
  by Feature ID. For a search match, ask whether to UPDATE, link only (SKIP),
  or CREATE separately; wait for the choice. CREATE directly only with no match.
  Default project/component/type are `NAV` / `Nav-AI` / `Story`; honor `--project`.
  Update an existing ticket only when explicitly requested or resolved through
  `--ticket` or spec metadata; never guess a matching ticket to overwrite.
- Map acceptance criteria into Jira custom fields (`customfield_10021`, etc.).
- Commit only the modified spec and task index files.

## Workflow

1. Resolve specification:
   - Accept spec path or `FEAT-NNN`.
   - Read spec frontmatter, motivation, architecture, acceptance criteria, and test spec.
2. Check Jira connection:
   - Prefer Jira MCP tools (`jira_create_issue`, `jira_update_issue`).
   - Fallback to curl with `JIRA_INSTANCE`, `JIRA_USERNAME`, `JIRA_API_TOKEN`.
3. Create or update Story:
   - Set summary, description, component, and AC.
   - Add labels = frontmatter `projects` ∪ `tags` (FEAT-576); on update only add, never remove.
4. Create Subtasks (if `--with-subtasks`):
   - Fetch existing subtasks before creating any. Match each TASK-ID against
     the stored Jira key and the existing subtask's `[TASK-NNN]` summary.
   - Create only missing subtasks with the original estimate; reuse existing
     keys, including when a previous run created the subtask but did not save
     the index. Stop on ambiguous matches instead of creating duplicates.
   - Record created Jira keys in the task index.
5. Update spec with Jira link:
   - Add `jira: <KEY>` to frontmatter and link in markdown body.
6. Commit changes:
   - Stage spec and index file only.
   - Commit: `sdd: export FEAT-<ID> to Jira <JIRA_KEY>`.

## References

- `sdd/specs/*.spec.md`
- `sdd/tasks/index/<feature>.json`
- `sdd/WORKFLOW.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.