AGENT SKILL

ln-221-story-creator

Creates Story documents with 9-section structure and INVEST validation via the configured tracker provider. Use when Epic has an IDEAL plan ready for Story generation.

License 许可
MIT
最近更新
2026-06-15
Stars
★ 2
Forks
1

01 前言 Front Matter

name
ln-221-story-creator
license
MIT
description
Creates Story documents with 9-section structure and INVEST validation via the configured tracker provider. Use when Epic has an IDEAL plan ready for Story generation.

02 资源文件 20

03 SKILL.md 正文

Paths: File paths (references/, ../ln-*) are relative to this skill directory.

Story Creator

Type: L3 Worker Category: 2XX Planning

Standalone-first worker for Story creation. It may be called directly or as part of a coordinator flow, but its public contract is the same in both cases.

MANDATORY READ

Load these before execution:

  • references/planning_worker_runtime_contract.md
  • references/coordinator_summary_contract.md
  • references/environment_state_contract.md
  • references/storage_mode_detection.md
  • references/creation_quality_checklist.md
  • references/template_loading_pattern.md

Inputs

Core inputs:

  • epicData
  • idealPlan or appendMode + newStoryDescription
  • standardsResearch
  • teamId
  • autoApprove

Optional transport inputs:

  • runId
  • summaryArtifactPath

The worker must remain fully usable without caller-provided runId and without summaryArtifactPath. In standalone mode it generates its own run_id before emitting the summary envelope.

Runtime

Runtime family: planning-worker-runtime

Identifier:

  • epic-{epicId}

Phases:

  1. PHASE_0_CONFIG
  2. PHASE_1_RESOLVE_CONTEXT
  3. PHASE_2_LOAD_TEMPLATE
  4. PHASE_3_GENERATE_STORIES
  5. PHASE_4_VALIDATE_STORIES
  6. PHASE_5_CONFIRM_OR_AUTOAPPROVE
  7. PHASE_6_APPLY_CREATE
  8. PHASE_7_UPDATE_KANBAN
  9. PHASE_8_WRITE_SUMMARY
  10. PHASE_9_SELF_CHECK

Managed child-run mode:

  • caller starts the runtime with --run-id and --summary-artifact-path
  • runtime writes the final summary artifact directly to the caller-provided path
  • parent coordinator records the resulting story-plan-worker artifact

Standalone mode:

  • runtime generates its own run_id
  • runtime still returns the same structured summary envelope
  • artifact writing is optional unless summaryArtifactPath is provided

Output Contract

Always build a structured summary envelope:

  • schema_version
  • summary_kind=story-plan-worker
  • run_id
  • identifier
  • producer_skill=ln-221
  • produced_at
  • payload

Payload fields:

  • mode
  • epic_id
  • stories_planned
  • stories_created
  • stories_updated
  • stories_canceled
  • story_urls
  • warnings
  • kanban_updated
  • research_path_used

If summaryArtifactPath is provided:

  • write the same JSON summary to that path

If summaryArtifactPath is not provided:

  • return the same summary in structured output only

Managed artifact path pattern:

  • .hex-skills/runtime-artifacts/runs/{parent_run_id}/story-plan-worker/ln-221--{identifier}.json

Workflow

  1. Resolve task provider and Epic context if not already provided.
  2. Load the Story template.
  3. Generate Story documents with exactly the template sections.
  4. Insert standards research into Technical Notes only.
  5. Validate INVEST and AC limits before creation.
  6. Show preview unless autoApprove=true.
  7. Create Stories via the configured tracker provider.
  8. Update kanban.
  9. Write story-plan-worker summary.
  10. Return structured summary.

Critical Rules

  • Keep exactly the template-defined Story structure.
  • Insert standards research into Technical Notes, not into ACs.
  • Reject Stories that fail INVEST or exceed AC limits.
  • STOP before tracker createStory: verify all 9 sections present in body: Story, Context, Acceptance Criteria, Implementation Tasks, Test Strategy, Technical Notes, Definition of Done, Dependencies, Assumptions. PreToolUse hook will BLOCK creation without them.
  • Remain standalone-capable.
  • Never require coordinator runtime state to operate.

Definition of Done

  • [ ] Story template loaded and respected
  • [ ] Story documents generated
  • [ ] INVEST validation passed
  • [ ] Stories created in provider-specific storage
  • [ ] kanban updated
  • [ ] Structured summary returned
  • [ ] Summary artifact written when summaryArtifactPath is provided

Version: 3.0.0 Last Updated: 2025-12-23

04 同仓库更多 Skills

vitalikpestov
vitalikpestov/Skills-Catalog

solana-dev

Use when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "deploy to devnet", or "explain Solana concepts" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor/Pinocchio programs, Codama client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana/client + @solana/react-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana/kit for client/RPC code, and @solana/web3-compat for legacy boundaries.

★ 2
vitalikpestov
vitalikpestov/Skills-Catalog

generating-trading-signals

Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.). Combines multiple indicators into composite signals with confidence scores. Use when analyzing assets for trading opportunities or checking technical indicators. Trigger with phrases like "get trading signals", "check indicators", "analyze for entry", "scan for opportunities", "generate buy/sell signals", or "technical analysis".

★ 2
vitalikpestov
vitalikpestov/Skills-Catalog

prediction-monitor

Prediction Monitor - Auto-activating skill for ML Deployment. Triggers on: prediction monitor, prediction monitor Part of the ML Deployment skill category.

★ 2
vitalikpestov
vitalikpestov/Skills-Catalog

strategy-advisor

High-level strategic thinking and business decision guidance for planning and direction-setting. Use when: making strategic decisions, evaluating business options, setting direction, analyzing trade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.

★ 2
vitalikpestov
vitalikpestov/Skills-Catalog

app-paywall-pilot

Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans/prices/trials, review RevenueCat/Adapty/Apphud/Superwall setup, calculate LTV/ROAS, or build paywall implementation.

★ 2
vitalikpestov
vitalikpestov/Skills-Catalog

figma

Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.

★ 2