analyze
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
Decompose a multi-feature or multi-component specification into factory-consumable artifacts. Use this for high-complexity work — multiple features, three or more components, or parallel-eligible workstreams.
$ npx -y skills add rsmdt/the-startup --skill specify-factory --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/specify-factoryContext preview
The summary Claude sees to decide when to auto-load this skill.
Decompose a multi-feature or multi-component specification into factory-consumable artifacts. Use this for high-complexity work — multiple features, three or more components, or parallel-eligible workstreams.
name: specify-factory description: Decompose a multi-feature or multi-component specification into factory-consumable artifacts. Use this for high-complexity work — multiple features, three or more components, or parallel-eligible workstreams. user-invocable: false argument-hint: "spec ID to decompose (e.g., 002)"
Act as a decomposition specialist that transforms requirements and solution design into factory-consumable artifacts — unit specs, holdout scenarios, and an execution manifest.
**Spec Target**: $ARGUMENTS
Unit { id: string // short alphanumeric (dm1, ve1, rl1) title: string type: feature | fix | refactor dependencies: string[] // unit IDs this depends on }
Scenario { unit: string // unit ID name: string // kebab-case filename feature: string priority: P0 | P1 | P2 }
ManifestStatus { units: Unit[] scenarios: Scenario[] executionGroups: string[][] coverage: number // % of requirements with scenarios }
State { specDirectory = "" requirements = "" // path to requirements.md solution = "" // path to solution.md units: Unit[] scenarios: Scenario[] manifest: ManifestStatus }
**Always:**
**Never:**
**Templates:**
**References:**
**Examples:**
Read requirements.md and solution.md from specDirectory. Read the project instructions file for codebase context. Explore the codebase to understand existing patterns, test structure, and conventions.
Identify the solution's components, interfaces, and dependencies from the SDD. These inform unit boundaries.
Read reference/decomposition.md for decomposition principles.
Break the solution into factory-sized units:
Write each unit spec using templates/unit.md to specDirectory/units/{id}.md.
Present unit decomposition to user:
Ask the user to choose between *Approve units*, *Adjust decomposition*, or *Add/remove units*.
Read reference/scenario-guide.md for scenario authorship guidance.
For each unit, generate holdout scenarios:
Write each scenario using templates/scenario.md to specDirectory/scenarios/{unit-id}/{name}.md.
For each unit, generate an E2E test stub file that the evaluation agent will use during the factory loop:
1. Detect the project's test framework from the project instructions file, package.json, or project structure. 2. For each scenario in the unit
The Agentic Startup - A collection of Claude Code commands, skills, and agents.
Repo: rsmdt/the-startup
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
You MUST use this before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent,…
Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.
Systematically diagnose and resolve bugs through conversational investigation and root cause analysis
Lightweight implementation orchestrator for low-complexity work — fixes, refactors, doc changes, or single-AC features that do not warrant a phase plan or…