brainstorming
Structured design dialogue that validates ideas before implementation begins.
ln-310-story-validator
Validates Stories/Tasks: GO/NO-GO verdict, Readiness Score (1-10), Penalty Points (Before/After), Anti-Hallucination. Auto-fixes fixable violations, FLAGs unfixable. Delegates to ln-002 for docs.
Full skill instructions
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.
Validate Stories/Tasks with explicit GO/NO-GO verdict, Readiness Score, and Anti-Hallucination verification.
| Input | Required | Source | Description |
|---|---|---|---|
storyId | Yes | args, git branch, kanban, user | Story to process |
Resolution: Story Resolution Chain. Status filter: Backlog
Goal: Quantitative assessment of Story/Tasks quality. Before score = raw quality; After score = post-fix quality.
| Severity | Points | Description |
|---|---|---|
| CRITICAL | 10 | RFC/OWASP/security violations |
| HIGH | 5 | Outdated libraries, architecture issues |
| MEDIUM | 3 | Best practices violations |
| LOW | 1 | Structural/cosmetic issues |
Workflow:
Detect operating mode at startup:
Plan Mode Active:
Normal Mode:
When operating in any mode, skill MUST create detailed todo checklist tracking ALL phases and steps.
Rules:
in_progress before starting step, completed after finishingTodo Template (~21 items):
Phase 1: Discovery & Loading
- Auto-discover configuration (Team ID, docs)
- Load Story metadata (ID, title, status, labels)
- Load Tasks metadata (1-8 implementation tasks)
Phase 2: Research & Audit
- Extract technical domains from Story/Tasks
- Delegate documentation creation to ln-002
- Research via MCP Ref (RFC, OWASP, library versions)
- Verify technical claims (Anti-Hallucination)
- Calculate Penalty Points (22 criteria)
Phase 3: Audit Results & Fix Plan
- Display Penalty Points table and fix plan
- Wait for user approval (Plan Mode only)
Phase 4: Auto-Fix (8 groups)
- Fix Structural violations (#1-#4)
- Fix Standards violations (#5)
- Fix Solution violations (#6, #21)
- Fix Workflow violations (#7-#13)
- Fix Quality violations (#14-#15)
- Fix Dependencies violations (#18-#19/#19b)
- Fix Risk violations (#20)
- Fix Traceability violations (#16-#17)
Phase 5: Agent Review (MANDATORY — delegated to ln-311)
- [MANDATORY] Invoke ln-311-agent-reviewer with story_ref + tasks_ref
- [MANDATORY] Process and apply accepted suggestions to Story/Tasks
Phase 6: Approve & Notify
- Set Story/Tasks to Todo status in Linear
- Update kanban_board.md with APPROVED marker
- Add Linear comment with validation summary
- Display tabular output to terminal
MANDATORY READ: Load shared/references/tools_config_guide.md, shared/references/storage_mode_detection.md, and shared/references/input_resolution_pattern.md
Extract: task_provider = Task Management → Provider (linear | file).
All subsequent phases use task_provider to select operations per storage_mode_detection.md.
Step 1: Resolve storyId (per input_resolution_pattern.md):
feature/{id}-* → extract idStep 2: Configuration & Metadata Loading
docs/tasks/kanban_board.md), project docs (CLAUDE.md), epic from Story.projecttask_provider = linear: get_issue(storyId) + list_issues(parentId=storyId)task_provider = file: Read story.md + Glob("docs/tasks/epics/*/stories/*/tasks/*.md")MANDATORY READ: Load references/phase2_research_audit.md for complete research and audit procedure:
Always execute for every Story - no exceptions.
Display audit results:
Mode handling:
Execute fixes for ALL 22 criteria on the spot.
MANDATORY STEP: This phase MUST execute regardless of Phase 4 results. Skipping agent review is a workflow violation. If agents unavailable, ln-311 returns SKIPPED — acceptable. But invocation MUST happen.
Invoke Skill(skill="ln-311-agent-reviewer", args="{storyId}").
.agent-review/{agent}/.SUGGESTIONS → apply ACCEPTED suggestions to Story/Tasks text.SKIPPED (no agents or all failed) → proceed to Phase 6 unchanged."Agent Review: {agent_stats summary}"kanban_board.md with APPROVED marker
task_provider = linear: save_issue({id, state: "Todo"}) for Story + each Tasktask_provider = file: Edit **Status:** line to Todo in story.md + each task filetask_provider = linear: create_comment({issueId, body}) on Storytask_provider = file: Write comment to docs/tasks/epics/.../comments/{ISO-timestamp}.mdln-400-story-executor to start Story executionMANDATORY READ: Load references/phase2_research_audit.md for complete 22-criteria table with:
Maximum Penalty: 88 points (sum of all 22 criteria; #20 capped at 15)
Two-stage assessment: Before (raw audit) and After (post auto-fix).
| Metric | Before | After | Meaning |
|---|---|---|---|
| Penalty Points | Raw audit total | Remaining after fixes | 0 = all fixed; >0 = unfixable items |
| Readiness Score | 10 - (Before / 5) | 10 - (After / 5) | Quality confidence (1-10) |
| Anti-Hallucination | — | VERIFIED / FLAGGED | Technical claims verified |
| AC Coverage | — | N/N (target 100%) | All ACs mapped to Tasks |
| Gate | — | GO / NO-GO | Final verdict |
| Gate | Condition |
|---|---|
| GO | After Penalty Points = 0 AND no FLAGGED criteria |
| NO-GO | After Penalty Points > 0 OR any criterion FLAGGED as unfixable |
FLAGGED criteria: If auto-fix is impossible (MCP Ref unavailable, external dependency), penalty stays — it is NOT zeroed out. User must resolve manually before re-validation.
Verify technical claims have evidence:
| Claim Type | Verification |
|---|---|
| RFC/Standard reference | MCP Ref search confirms existence |
| Library version | Context7 query confirms version |
| Security requirement | OWASP/CWE reference exists |
| Performance claim | Benchmark/doc reference |
Status: VERIFIED (all claims sourced) or FLAGGED (unverified claims listed)
Output explicit mapping:
| AC | Task(s) | Coverage |
|----|---------|----------|
| AC1: Given/When/Then | T-001, T-002 | ✅ |
| AC2: Given/When/Then | T-003 | ✅ |
| AC3: Given/When/Then | — | ❌ UNCOVERED |
Coverage: {covered}/{total} ACs (target: 100%)
Verify all 22 criteria (#1-#22) from Auto-Fix Actions pass with concrete evidence (doc path, MCP result, Linear update) before proceeding to Phase 6.
Story: "Create user management API with rate limiting"
Templates: story_template.md, task_template_implementation.md
Loading Logic:
docs/templates/{template}.md exists in target projectdocs/templates/ directory if missing
b. Copy shared/templates/{template}.md → docs/templates/{template}.md
c. Replace placeholders in the LOCAL copy:
{{TEAM_ID}} → from docs/tasks/kanban_board.md{{DOCS_PATH}} → "docs" (standard)docs/templates/{template}.md) for all validation operationsRationale: Templates are copied to target project on first use, ensuring:
shared/references/tools_config_guide.mdshared/references/storage_mode_detection.mdshared/references/ac_validation_rules.mdshared/references/plan_mode_pattern.mdreferences/readiness_scoring.md (GO/NO-GO rules, Readiness Score calculation)shared/templates/story_template.md, shared/templates/task_template_implementation.mddocs/templates/ (in target project)references/structural_validation.md (criteria #1-#4)references/standards_validation.md (criterion #5)references/solution_validation.md (criterion #6)references/workflow_validation.md (criteria #7-#13)references/quality_validation.md (criteria #14-#15)references/dependency_validation.md (criteria #18-#19/#19b)references/risk_validation.md (criterion #20)references/traceability_validation.md (criteria #16-#17)references/domain_patterns.md (pattern registry for ln-002 delegation)references/penalty_points.md (penalty system details)shared/references/creation_quality_checklist.md (creator-facing mapping of 22 criteria)../shared/templates/linear_integration.mdshared/references/research_tool_fallback.mdVersion: 7.0.0 Last Updated: 2026-02-03
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs