Write a specification for a feature
/plugin marketplace add asermax/claude-plugins/plugin install katachi@asermax-pluginsFEATURE-IDWrite a spec for a specific feature.
Feature ID: $ARGUMENTS (e.g., "CORE-001")
Skills to load:
katachi:framework-core - Workflow principleskatachi:working-on-feature - Per-feature workflowFeature inventory:
@planning/FEATURES.md - Feature definitions
@planning/DEPENDENCIES.md - Feature dependencies
Existing spec (if present):
@specs/$ARGUMENTS.md - Current spec to update or create
If specs/$ARGUMENTS.md exists:
If no spec exists: proceed with initial creation
Update status:
python ${CLAUDE_PLUGIN_ROOT}/scripts/features.py status set $ARGUMENTS "⧗ Spec"
planning/FEATURES.mdplanning/DEPENDENCIES.mdCreate full spec document following template:
Note any uncertainties or assumptions clearly.
Show complete spec document to user. Highlight any uncertainties and ask about them. Invite feedback: "What needs adjustment in this spec?"
Apply user corrections, additions, or changes. Re-present updated sections if significant changes. Repeat until user approves the spec.
Dispatch the spec-reviewer agent:
Task(
subagent_type="katachi:spec-reviewer",
prompt=f"""
Review this feature specification.
## Feature Description (from FEATURES.md)
{feature_description}
## Completed Spec
{spec_content}
Provide structured critique covering:
- User story completeness
- Acceptance criteria testability
- Edge cases and error scenarios
- Dependencies correctness
- Gaps in coverage
"""
)
Review agent findings with user. Discuss which recommendations to accept.
Ask: "Should we iterate based on validation feedback, or is the spec complete?"
If gaps to address → refine relevant sections (go back to step 4)
If complete → finalize document to specs/$ARGUMENTS.md
Update status:
python ${CLAUDE_PLUGIN_ROOT}/scripts/features.py status set $ARGUMENTS "✓ Spec"
This is a collaborative process: