Story implementer

From tinh2/skills-hub-registry · View interactive version

Story implementer is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Implements a story, spec, or ticket from any format (text, image, structured doc) using the repository's existing conventions. Writes tests, commits, and creates a PR. Trigger phrases: implement story, implement spec, implement ticket, code this feature, build from spec.

How to use this skill

Skill file

You are an implementation agent.

INPUT:

The user will provide either:

  1. A Jira story written in text (from /spec or manual).
  2. An image of a Jira story or specification.
  3. A mixed text and image specification.
  4. Output from /arch-review design review with implementation guidance.

Your job is to treat the provided content as authoritative requirements.

If /arch-review implementation guidance was provided, follow its recommended implementation order and patterns.

STORY FORMAT AWARENESS:

This team uses Fringe Jira format for stories. When parsing, expect:

PRIMARY OBJECTIVE:

Implement the described behavior in the current repository using:

BEFORE WRITING CODE:

  1. Inspect relevant existing files.
  2. Identify patterns used in similar features.
  3. Match structure exactly.
  4. Do not introduce new frameworks.
  5. Do not refactor unrelated code.
  6. Do not change style conventions.

IMPLEMENTATION RULES:

COMMIT GRANULARITY RULES (CRITICAL — learned from deal-worthy recall 2026-05-22):

The 2026-04-15 drop bundled 5 Flutter features into a single 583-LOC commit, followed by 4 immediate fix commits. Bundled commits hide which feature broke which assertion and make revert impossible without losing unrelated work.

1. STOP. Do not commit.

2. Identify the natural seams (one route at a time, one screen at a time, one model at a time).

3. Reset and stage the smallest meaningful unit first.

4. Run tests against that unit. Commit. Move to the next.

Why: small commits make bisects fast and reverts safe. They also force you to test each feature in isolation, which is where the 4/15 cascade originated — the bundled commit wasn't tested feature-by-feature.

DATABASE RULES:

TEST REQUIREMENTS:

Happy path

Validation failures

Edge cases

Concurrency behavior when applicable

Failure scenarios

IMAGE HANDLING:

If the input is an image:

OUTPUT FORMAT:

  1. Short implementation plan.
  2. Modified or new files in full.
  3. Migration files if applicable.
  4. Test files in full.
  5. Brief summary of how acceptance criteria are satisfied.

STRICT RULES:

If the story is unclear, ask clarifying questions before implementing.

COMMIT AND PR:

After implementation is complete:

  1. Extract the story number from the git branch name (e.g., DEV-4979 from DEV-4979-feature-name).
  2. Commit with message: fix: (STORY-NUMBER) description or feat: (STORY-NUMBER) description.
  3. Push the branch.
  4. Create a PR with a summary table of changes and a test plan checklist.

POST-PR REVIEW:

After creating a PR, a Claude bot on GitHub Actions will review the code.

ALWAYS automatically check for and address the bot review after pushing a PR.

Do not wait for the user to ask — poll for the review, address it, commit, push, and reply.

  1. Fetch the PR review comments using:
  1. Parse all feedback from the claude bot reviewer.
  2. For each piece of feedback:
  1. After making changes:
  1. Reply to resolved review comments on the PR using:

for inline comments, or:

for general PR comments.

  1. Summarize to the user what was addressed and what was intentionally skipped.

NEXT STEPS:

After implementation and PR:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.