story-kit: start 228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: "Auto-detect tech stack and generate component sections during scaffolding"
|
||||
---
|
||||
|
||||
# Story 228: Auto-detect tech stack and generate component sections during scaffolding
|
||||
|
||||
## User Story
|
||||
|
||||
As a user setting up a new project, I want the scaffold to auto-detect my tech stack and generate [[component]] sections in project.toml, so that worktree setup, quality gates, and the build pipeline work out of the box without manual configuration.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Scaffolding inspects the project root for known markers (Cargo.toml, package.json, pyproject.toml, go.mod, etc.) and generates a [[component]] entry for each detected stack
|
||||
- [ ] Each generated component includes sensible default setup commands (e.g. pnpm install for Node, cargo check for Rust)
|
||||
- [ ] If no known tech stack is detected, a single root component with empty setup is generated so the pipeline doesn't break
|
||||
- [ ] The generated components are written into project.toml alongside the agent sections
|
||||
- [ ] Existing project.toml files with components already defined are not overwritten
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user