implement-story

implement-story is a command for Claude Code from quay/ai-helpers. It costs 10 tokens per session (5,711 once invoked), scanned A, original, MIT.

A command for implementing a JIRA story from its issue details through code changes and tests. JIRA is a system for tracking software work items such as stories and bugs.

In plain words
What is it for?
It is for fetching a JIRA story, saving its context, implementing it, and verifying the result with tests.
Why use it?
It turns a tracked work item into a defined implementation process and makes tests a required part of the work.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the TodoWrite tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import MirrorConfig from '../MirrorConfig';.

Part of the jira plugin — 2 skills, 6 commands shipped together

Good fit It is for fetching a JIRA story, saving its context, implementing it, and verifying the result with tests.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/quay/ai-helpers
agentmods
npx agentmods add commands/quay/ai-helpers/implement-story

Made for: Claude Code.

Or install jira, the plugin that ships this one along with the rest of its 2 skills, 6 commands.

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 implement-story

README.md
[![agentmods](https://agentmods.dev/badge/commands/quay/ai-helpers/implement-story.svg)](https://agentmods.dev/commands/quay/ai-helpers/implement-story)
Your own site
<a href="https://agentmods.dev/commands/quay/ai-helpers/implement-story"><img src="https://agentmods.dev/badge/commands/quay/ai-helpers/implement-story.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,711 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.
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.00010 $0.05711
Opus 5 $0.00005 $0.02856
Sonnet 5 $0.00002 $0.01142
Haiku 4.5 $0.00001 $0.00571

Measured 2d ago against content hash 9193169a3133, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

implement-story 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 2d 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/jira/commands/implement-story.md · 744 lines

How it starts

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

Implement JIRA Story

EXECUTE IMMEDIATELY: Implement JIRA story $ARGUMENTS. Do NOT print examples or describe what you will do - actually DO each step.

⚠️ CRITICAL: Tests are MANDATORY for all story implementations unless explicitly exempted.


EXECUTE THESE STEPS NOW FOR: $ARGUMENTS

START NOW: Run acli jira workitem view $ARGUMENTS immediately. Do not describe what you will do.

Step 1: Fetch Story from JIRA

Run this command NOW:

acli jira workitem view $ARGUMENTS

Extract from JIRA output:

  • Story Title - The summary field
  • Story Description - The description section (should contain implementation details)
  • Story Type - The issue type
  • Parent Epic - The epic link field (if present)
  • Status - Current status
  • Assignee - Who it's assigned to

Save story content: Create .claude/implementation/<story-key>-context.md with:

  • Story title as H1
  • Full story description from JIRA
  • Link to JIRA issue: https://issues.redhat.com/browse/<story-key>

Step 2: Fetch Parent Epic (if exists)

If the story has a parent epic, fetch it:

acli jira workitem view <epic-key>

Save epic content: Append to .claude/implementation/<story-key>-context.md:

  • Epic title
  • Epic description
  • Epic scope (in-scope and out-of-scope)
  • Link to epic

This provides broader context for implementation.

Step 3: Analyze Requirements and Detect Story Type

First, determine if this is a UI story by checking for these indicators:

UI Story Indicators:

  • Story title contains: [UI], [Frontend], UI Component, User Interface
  • Files to create/modify include paths like:
    • web/src/, frontend/, ui/, static/js/
    • Files ending in .tsx, .jsx, .vue, .svelte
    • Component files, routes, pages
  • Acceptance criteria mention:
    • "User can click/see/interact"
    • "Form validation", "Button", "Dialog", "Modal"
    • "Responsive design", "Mobile view"
    • "E2E tests", "Playwright tests", "Cypress tests"
  • Technology mentions: React, Vue, Angular, TypeScript, PatternFly, Material-UI

Read the full file on GitHub · 744 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. 2d ago First seen · 744 lines · 10 tokens per session scan A 9193169a3133

Subscribe to this mod's changes

implement-story is a command published in the GitHub repository quay/ai-helpers (3 stars, last pushed 20d ago), licensed MIT. It adds 10 tokens to every session and 5,711 once invoked, about $0.0001 per session on Opus 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-09-04.