Best for
- Decompose a story into atomic executable tasks with dependencies, verification criteria, and a deterministic execution order.
humansys/raise/packages/raise-cli/src/raise_cli/skills_base/rai-story-plan/SKILL.md
Decompose story into atomic tasks with TDD verification. Use after story design.
Decision brief
Decompose story into atomic tasks with TDD verification. Use after story design.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/humansys/raise --skill "packages/raise-cli/src/raise_cli/skills_base/rai-story-plan"Inspect the Agent Skill "rai-story-plan" from https://github.com/humansys/raise/blob/88a77d6e4065e3c8bdbae9be4aff5b84e6a7a5eb/packages/raise-cli/src/raise_cli/skills_base/rai-story-plan/SKILL.md at commit 88a77d6e4065e3c8bdbae9be4aff5b84e6a7a5eb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
JIT: Before verifying design completeness, query graph for complexity assessment patterns → aspects/introspection.md § JIT Protocol
Divide story into atomic, individually verifiable tasks. One commit per task.
JIT: Before ordering dependencies, query graph for risk-first ordering patterns → aspects/introspection.md § JIT Protocol
Publish work/epics/e{N}-{name}/stories/s{N}.{M}-plan.md via CLI:
Decompose a story into atomic executable tasks with dependencies, verification criteria, and a deterministic execution order.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 94/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 71 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Decompose a story into atomic executable tasks with dependencies, verification criteria, and a deterministic execution order.
See raise.mastery in frontmatter.
When to use: After /rai-story-design has grounded integration decisions (or directly for simple stories).
Prerequisite: Design document at work/epics/e{N}-{name}/stories/s{N}.{M}-design.md (optional for simple stories).
Inputs: Story with acceptance criteria, design document (if exists).
Before starting Step 1, you MUST execute the PRIME protocol:
raise_graph_query MCP tool with cwd="{project_or_worktree_path}". If MCP tools are not available, fall back to:
rai graph query
0 results is valid.ls work/epics/e*/stories/{story_id}-design.md 2>/dev/null || echo "INFO: No design"
JIT: Before verifying design completeness, query graph for complexity assessment patterns →
aspects/introspection.md § JIT Protocol
| Condition | Action |
|---|---|
| Design exists | Load and reference |
| No design + simple story | Continue |
| No design + complex story | Run /rai-story-design first |
Divide story into atomic, individually verifiable tasks. One commit per task.
| Story Size | Tasks | Rationale |
|---|---|---|
| XS (1-2 SP) | 1-2 | Single-pass implementation |
| S (3-5 SP) | 2-3 | Avoid over-decomposition |
| M (5-8 SP) | 3-5 | Balance granularity and overhead |
| L (8+ SP) | 5-8 | Consider splitting the story |
Per task:
story.md Gherkin scenario (if exists)--scope (see Gate Policy below)Always include as final task: Manual integration test — validate end-to-end with running software.
Gate Policy (mandatory in every plan):
Include this section verbatim in the plan document — it keeps the test execution rules in context during /rai-story-implement:
| When | Command | Scope |
|---|---|---|
| Per task | rai gate check gate-tests --scope <test_dir>/ | Only tests for the changed module (e.g. packages/raise-cli/tests/storage/) |
| Per task | rai gate check gate-lint | Full project (fast) |
| Per task | rai gate check gate-format | Full project (fast) |
| Per task | rai gate check gate-types | Full project |
| End of story | rai gate check gate-tests --scope packages/<pkg>/ | Changed package only — NOT full suite |
| MR creation | /rai-mr-create | Full suite — the ONLY place where unscoped tests run |
NEVER run test commands directly (e.g. uv run pytest, npm test) — always use rai gate check. Direct invocation floods context with raw output and bypasses gate tracking.
Each task's Verification section MUST use rai gate check gate-tests --scope <path> with the concrete test path for that task. Generic or unscoped test commands are not acceptable.
JIT: Before ordering dependencies, query graph for risk-first ordering patterns →
aspects/introspection.md § JIT Protocol
Publish work/epics/e{N}-{name}/stories/s{N}.{M}-plan.md via CLI:
Use raise_docs_write MCP tool with doc_type="story-plan", title="S{N}.{M}: {story-name} plan", content="[plan content: overview, ordered task list, execution order, risks, duration tracking table]", output_path="work/epics/e{N}-{name}/stories/s{N}.{M}-plan.md", cwd="{project_or_worktree_path}".
If MCP tools are not available, fall back to:
rai docs write story-plan \
--title "S{N}.{M}: {story-name} plan" \
--stdin \
--output-path work/epics/e{N}-{name}/stories/s{N}.{M}-plan.md << 'EOF'
[plan content below]
EOF
Content to include:
| Item | Destination |
|---|---|
| Implementation plan | work/epics/e{N}-{name}/stories/s{N}.{M}-plan.md |
| Signal | WorkLifecycle event emitted (start on entry, complete here) |
Backlog transition to implement status is engine-owned (RAISE-15034):
Engine performs the transition via apply_phase_transition at phase completion.
No skill-initiated transition call required or allowed.
STOP HERE. Return your summary to the orchestrator. Do NOT invoke any further skill.
uv run pytest / npm test in verification — always rai gate check gate-tests --scopegates/gate-plan.md/rai-story-design/rai-story-implementFrequently asked questions
Decompose story into atomic tasks with TDD verification. Use after story design.
The source record exposes this install command: npx skills add https://github.com/humansys/raise --skill "packages/raise-cli/src/raise_cli/skills_base/rai-story-plan". Inspect the command and pinned source before running it.
Alternatives
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
coreyhaines31/marketingskills
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o
prowler-cloud/prowler
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre