.claude/skills/flow-spec/SKILL.md
Create structured specification for large features using phased decomposition. Produces documents/spec-{name}.md with dependency-ordered phases, atomic tasks, explicit boundaries, and per-phase status tracking.
npx skillsauth add korchasa/ai-skel-ts flow-specInstall 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.
Create a structured, decomposed specification in ./documents/spec-{name}.md for
features too large for a single agent session.
flow-spec when feature spans >3 files AND requires >2 sessions, OR has >5 phasesflow-plan for tasks completable within one agent sessionflow-plan; if it outgrows whiteboard.md, upgrade to flow-spec<step_by_step>
Initialize
todo_write, todowrite) to create a plan based on these steps.Deep Context & Research
Proactive Resolution from AGENTS.md: analyze prompt, codebase, docs.glob, grep, ripgrep, search, webfetch) for gaps.Draft Spec Header
documents/spec-{name}.md the following sections:
Decompose into Phases (Chat Only)
Detail Phases
Critique
Refine & Finalize
documents/spec-{name}.md with accepted improvements.TOTAL STOP
</step_by_step>
# Spec: {Feature Name}
| Field | Value |
|---------|-----------------------------|
| Status | Draft/Ready/In-Progress/Done |
| Created | YYYY-MM-DD |
| Updated | YYYY-MM-DD |
## Goal
{Why are we building this? Business/user value.}
## Overview
{Current state, why now, relevant context.}
## Non-Goals
<!-- Examples: "No backward compatibility with v1 API", "No UI changes in this phase", "No performance optimization", "No migration of existing data" -->
- {Explicit exclusion 1}
- {Explicit exclusion 2}
## Architecture & Boundaries
### Always (agent autonomy)
- {Things agent can always do}
### Ask First
- {Things requiring user confirmation}
### Never
- {Things agent must never do}
## Definition of Done
- [ ] {Measurable criterion 1}
- [ ] {Measurable criterion 2}
---
## Phase 1: {Name}
**Status:** not-started | **Prerequisites:** none
### Goal
{What this phase achieves.}
### Scope
- {file/component 1}
- {file/component 2}
### Tasks
1. {Atomic, testable task}
2. {Atomic, testable task}
### Verification
- [ ] {Specific check or command}
### Notes
- {Implementation hints, gotchas}
---
## Phase 2: {Name}
...
tools
Scaffold a complete AI agent application skeleton with LLM integration, tool calling, observability, cost tracking, session management, and content fetching using @korchasa/ai-skel-ts. Use when the user asks to create an AI agent, add LLM integration, scaffold an AI application, or mentions "ai-skel", "agent skeleton", or "AI scaffold". Works with any programming language.
documentation
Guidelines for writing comprehensive Product Requirements Documents (PRD)
development
How to write in informational style
development
How to write tasks using GODS framework