feat: skip feature phase scaffold, list features instead (#159)#160
Merged
feat: skip feature phase scaffold, list features instead (#159)#160
Conversation
…159) Feature phase generation produced generic, placeholder-heavy scaffolds that LLM agents threw out and rebuilt from scratch every time. Replace with a simple features list that lets the implementing agent structure phases based on its own understanding of the project. - Replace generateFeaturePhases() with generateFeaturesSection() - Preserve lesson injection in the features section - Remove ~1500 lines of dead code (categorizeFeature, generateFeatureImplementation, getFeatureShortTitle, getLanguageExample, groupRelatedFeatures) - Use LLM-neutral language throughout plan output Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per Nellie lesson on git interleaving, git commands must be inline in every subtask rather than in a separate section. Add explicit instructions to the features section so LLMs structuring feature phases know to include branch creation, commit, and squash merge commands inline in each subtask. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per Nellie lesson on git interleaving, git commands are now inline in
every subtask rather than described only in summary sections:
- First subtask of each task: git checkout -b feature/{branch}
- Every subtask: git add + commit with subtask ID at end
- Task complete: full squash merge command block
- Special handling for 0.1.1 (repo init handles own git)
- Removed Completion Notes blocks (replaced by inline git)
- Applied to both template path and minimal scaffold path
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
generateFeaturePhases()withgenerateFeaturesSection()— a simple numbered list of MVP features instead of a generic scaffold that agents throw out and rebuild from scratchcategorizeFeature,generateFeatureImplementation,getFeatureShortTitle,getLanguageExample,groupRelatedFeatures)Closes #159
Test plan
npx tsc --noEmit— cleanFEATURE PHASES) or specific model names🤖 Generated with Claude Code