From 3106cc16962d5abb1605cd241c5aed2c0b2c6f0b Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 27 Feb 2026 10:04:03 +0000 Subject: [PATCH] story-kit: create 228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding --- ...e_component_sections_during_scaffolding.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .story_kit/work/1_upcoming/228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding.md diff --git a/.story_kit/work/1_upcoming/228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding.md b/.story_kit/work/1_upcoming/228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding.md new file mode 100644 index 0000000..007de3a --- /dev/null +++ b/.story_kit/work/1_upcoming/228_story_auto_detect_tech_stack_and_generate_component_sections_during_scaffolding.md @@ -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