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.
How do I install this agent skill?
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-221-story-creatorIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a structured framework for generating and validating story documents based on Epic data. It utilizes local Node.js scripts for state management, artifact persistence, and workflow validation without exhibiting any malicious patterns or external network dependencies.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerpass
1/1 file flagged
- ZeroLeakspass
1 finding · Score: 86/100
What does this agent skill do?
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.mdreferences/coordinator_summary_contract.mdreferences/environment_state_contract.mdreferences/storage_mode_detection.mdreferences/creation_quality_checklist.mdreferences/template_loading_pattern.md
Inputs
Core inputs:
epicDataidealPlanorappendMode + newStoryDescriptionstandardsResearchteamIdautoApprove
Optional transport inputs:
runIdsummaryArtifactPath
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:
PHASE_0_CONFIGPHASE_1_RESOLVE_CONTEXTPHASE_2_LOAD_TEMPLATEPHASE_3_GENERATE_STORIESPHASE_4_VALIDATE_STORIESPHASE_5_CONFIRM_OR_AUTOAPPROVEPHASE_6_APPLY_CREATEPHASE_7_UPDATE_KANBANPHASE_8_WRITE_SUMMARYPHASE_9_SELF_CHECK
Managed child-run mode:
- caller starts the runtime with
--run-idand--summary-artifact-path - runtime writes the final summary artifact directly to the caller-provided path
- parent coordinator records the resulting
story-plan-workerartifact
Standalone mode:
- runtime generates its own
run_id - runtime still returns the same structured summary envelope
- artifact writing is optional unless
summaryArtifactPathis provided
Output Contract
Always build a structured summary envelope:
schema_versionsummary_kind=story-plan-workerrun_ididentifierproducer_skill=ln-221produced_atpayload
Payload fields:
modeepic_idstories_plannedstories_createdstories_updatedstories_canceledstory_urlswarningskanban_updatedresearch_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
- Resolve task provider and Epic context if not already provided.
- Load the Story template.
- Generate Story documents with exactly the template sections.
- Insert standards research into Technical Notes only.
- Validate INVEST and AC limits before creation.
- Show preview unless
autoApprove=true. - Create Stories via the configured tracker provider.
- Update kanban.
- Write
story-plan-workersummary. - 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
summaryArtifactPathis provided
Version: 3.0.0 Last Updated: 2025-12-23
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/levnikolaevich/claude-code-skills/ln-221-story-creator">View ln-221-story-creator on skillZs</a>