story-kit: create 78_story_create_spike_mcp_tool

This commit is contained in:
Dave
2026-02-23 14:49:40 +00:00
parent 7fd9388b69
commit 1f5a384cbb

View File

@@ -0,0 +1,22 @@
---
name: "Create spike MCP tool"
test_plan: pending
---
# Story 78: Create spike MCP tool
## User Story
As a user, I want to create spikes via the MCP API, so that spike work items are created consistently with proper YAML front matter just like stories and bugs.
## Acceptance Criteria
- [ ] A create_spike MCP tool exists with name and description parameters
- [ ] create_spike_file function in server/src/http/workflow.rs generates a properly formatted spike markdown file with YAML front matter
- [ ] The spike file is created in .story_kit/work/1_upcoming/ with the naming pattern N_spike_slug.md
- [ ] The name value is quoted in front matter to handle YAML-special characters
- [ ] cargo clippy and cargo test pass
## Out of Scope
- TBD