xiaohongshu
xiaohongshu
ln-400-story-executor
Orchestrates Story tasks. Prioritizes To Review -> To Rework -> Todo, delegates to ln-401/ln-402/ln-403/ln-404, hands Story quality to ln-500. Metadata-only loading up front.
Full skill instructions
Executes a Story end-to-end by looping through its tasks in priority order and delegating quality gates to ln-500-story-quality-gate.
| Aspect | Linear Mode | File Mode |
|---|---|---|
| Detection | Default (MCP Linear available) | docs/tasks/epics/ directory exists |
| Load tasks | list_issues(parentId=Story.id) | Glob("docs/tasks/epics/*/stories/*/tasks/*.md") + parse status |
| Source of truth | Linear API | Task files + kanban_board.md |
Auto-detection: Check if docs/tasks/epics/ exists → File Mode, otherwise Linear Mode.
File Mode status values: Backlog, Todo, In Progress, To Review, To Rework, Done, Canceled
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.
For each task by priority (To Review > To Rework > Todo):
Execute → Review → Next. Never skip review. Never batch reviews.
When all implementation tasks Done:
CRITICAL: All delegations use Task tool with subagent_type: "general-purpose" for context isolation.
| Status | Worker | Notes |
|---|---|---|
| To Review | ln-402-task-reviewer | Pass task ID only. Add: "CRITICAL: Load ALL context independently via get_issue(). Fresh eyes review." |
| 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 |
| Quality Gate | ln-500-story-quality-gate | "Pass 1" or "Pass 2" in prompt |
Prompt template:
Task(description: "[Action] task {ID}",
prompt: "Execute {skill-name} for task {ID}. Read skill from {skill-name}/SKILL.md.",
subagent_type: "general-purpose")
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/mastermypy/ruff/pytest directly instead of skill invocationZERO TOLERANCE: If running commands directly instead of invoking skills via Task tool, 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 | Executor | Reviewer |
|---|---------|-------|--------|----------|----------|
| 1 | {ID} | {Title} | {Status} | ln-40X | ln-402 |
### Sequence
1. [Execute] {Task-1} via ln-401-task-executor
2. [Review] {Task-1} via ln-402-task-reviewer
...
N. [Quality Gate Pass 1/2] via ln-500-story-quality-gate
../ln-500-story-quality-gate/SKILL.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 (Restructured: removed duplications, consolidated sections, ~35% reduction) Last Updated: 2026-01-29
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience