rai-story-implement

Execute story plan tasks with TDD cycles and verification gates.

71|8|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/humansys/raise --skill rai-story-implement-humansys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rai-story-implement
Source: https://github.com/humansys/raise/tree/main/packages/raise-cli/src/raise_cli/skills_base/rai-story-implement
Command: npx skills add https://github.com/humansys/raise --skill rai-story-implement-humansys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces disciplined, per-task implementation of a story plan using test-driven development and verification gates so that changes are validated locally before they are committed, reducing regressions and inconsistent quality.

Core Features & Use Cases

  • TDD-driven workflow: Follow RED → GREEN → REFACTOR for each plan task to drive clear, testable implementation.
  • Automated verification gates: Run tests, lint, formatting, and type checks after each task with configurable manifest-driven commands.
  • Process & observability: Commit individual task changes, update progress logs, surface design intent, and escalate when retries fail.
  • Use Case: Implementing a story from a generated plan where each subtask must be verified and recorded before moving on.

Quick Start

Implement the next uncompleted task from the story plan using a RED→GREEN→REFACTOR cycle, run tests, lint, format and type checks, commit the change, and update the story progress log.

Frequently Asked Questions about rai-story-implement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement story tasks using TDD and automated verification gates?

Story task implementation using TDD follows a RED, GREEN, REFACTOR cycle for each task, running tests, lint, format, and type checks as verification gates before committing changes to reduce regressions.

What is the best way to enforce test-driven development when executing a story plan?

Enforcing test-driven development during story plan execution requires applying per-task RED, GREEN, and REFACTOR cycles, running automated verification checks, and committing changes only after local validation passes.

How do I automate code quality checks and git commits for each task in a story implementation plan?

Automating code quality checks and git commits for story tasks involves running configurable manifest-driven commands for tests, lint, formatting, and type checks, then committing individual task changes upon successful verification.

Can I use this TDD workflow to track story implementation progress and escalate repeated test failures?

Yes, this TDD workflow tracks story implementation progress by updating progress logs after each task and escalates automatically when repeated test, lint, format, or type check failures occur during the cycle.

Do I need a pre-existing plan file to start implementing story tasks with TDD verification?

Yes, you need a pre-existing story plan file defining sequential tasks, as this workflow executes those tasks individually using TDD and verification gates to produce tested and committed code.

What happens when refactoring fails the type checks or lint gates during story implementation?

When refactoring fails type checks or lint gates during story implementation, the workflow escalates after repeated failures to prevent inconsistent quality, ensuring changes are fully validated locally before committing.