.claude/skills/ln-400-story-executor/SKILL.md
Orchestrates Story tasks. Prioritizes To Review -> To Rework -> Todo, delegates to ln-401/ln-402/ln-403/ln-404. Sets Story to To Review when all tasks Done (NOT Done — quality gate handles that). Metadata-only loading up front.
npx skillsauth add cbbkrd-tech/jl-finishes ln-400-story-executorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
Executes a Story end-to-end by looping through its tasks in priority order. Sets Story to To Review when all tasks Done (quality gate decides Done).
MANDATORY READ: Load shared/references/storage_mode_detection.md for Linear vs File mode detection and operations.
feature/{identifier}-{story-title-slug} (lowercase, spaces→dashes, no special chars)git branch --show-currentgit checkout feature/{identifier}-{slug}git checkout -b feature/{identifier}-{slug}Fetch Story metadata and all child task metadata (ID/title/status/labels only):
list_issues(parentId=Story.id)Glob("docs/tasks/epics/*/stories/{story-slug}/tasks/*.md") + parse **Status:**Summarize counts (e.g., "2 To Review, 1 To Rework, 3 Todo"). NO analysis — proceed immediately.
Before delegating a Todo task, verify its plan against current codebase:
Skip Context Review for: To Review tasks, To Rework tasks, test tasks when impl freshly Done, tasks created <24h ago.
Priority order: To Review > To Rework > Todo (foundation-first within each status).
Group-based dispatch for Todo tasks:
**Parallel Group:** {N} from each Todo task. Tasks without this field = each gets its own group (sequential, backward compatible).Execute → Review → Next. Never skip review. Reviews are always sequential (ln-402 inline).
When all tasks Done:
update_issue(id, state: "To Review"); File: Edit the **Status:** line)CRITICAL: Executors (ln-401/ln-403/ln-404) use Task tool for context isolation. Reviewer (ln-402) runs inline via Skill tool in main flow.
| Status | Worker | Notes | |--------|--------|-------| | To Review | ln-402-task-reviewer | Inline (Skill tool). Load task by ID, review in main flow. No subagent. | | To Rework | ln-403-task-rework | Then immediate ln-402 on same task | | Todo (tests) | ln-404-test-executor | Then immediate ln-402 on same task | | Todo (impl) | ln-401-task-executor | Then immediate ln-402 on same task | Prompt templates:
Executors (ln-401/ln-403/ln-404) — Task tool (isolated context):
Task(description: "[Action] task {ID}",
prompt: "Execute {skill-name} for task {ID}. Read skill from {skill-name}/SKILL.md.",
subagent_type: "general-purpose")
Reviewer (ln-402) — Skill tool (main flow):
Skill(skill: "ln-402-task-reviewer", args: "{task-ID}")
Before each task, add BOTH steps:
Execute [Task-ID]: [Title] — mark in_progress when startingReview [Task-ID]: [Title] — mark in_progress after executor, completed after ln-402feature/{story-id}-{slug}. Never commit to main/master**Parallel Group:** missing on any task, fall back to fully sequential execution.mypy/ruff/pytest directly instead of skill invocationZERO TOLERANCE: If running commands directly instead of invoking skills, STOP and correct.
When invoked in Plan Mode (agent cannot execute), generate execution plan instead:
Plan Output Format:
## Execution Plan for Story {STORY-ID}: {Title}
| # | Task ID | Title | Status | Group | Executor | Reviewer |
|---|---------|-------|--------|-------|----------|----------|
| 1 | {ID} | {Title} | {Status} | {N} | ln-40X | ln-402 |
### Sequence
1. [Execute] {Task-1} via ln-401-task-executor
2. [Review] {Task-1} via ln-402-task-reviewer
...
shared/references/orchestrator_pattern.mdshared/references/task_delegation_pattern.mdshared/references/auto_discovery_pattern.mdshared/references/plan_mode_pattern.mdshared/references/storage_mode_detection.md../ln-401-task-executor/SKILL.md, ../ln-403-task-rework/SKILL.md, ../ln-404-test-executor/SKILL.md../ln-402-task-reviewer/SKILL.mdCLAUDE.md, docs/tasks/kanban_board.mdVersion: 4.0.0 Last Updated: 2026-01-29
testing
When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," or "content planning." For writing individual pieces, see copywriting. For SEO-specific audits, see seo-audit.
development
When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' or 'competitive landing pages.' Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. Emphasizes deep research, modular content architecture, and varied section types beyond feature tables.
development
Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Covers subject lines, opening lines, body copy, CTAs, personalization, and multi-touch follow-up sequences.
development
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,' or 'involuntary churn.' This skill covers voluntary churn (cancel flows, save offers, exit surveys) and involuntary churn (dunning, payment recovery). For post-cancel win-back email sequences, see email-sequence. For in-app upgrade paywalls, see paywall-upgrade-cro.