Merge pull request #533 from mattpocock/yagni-scope-improve-architecture

improve-codebase-architecture: scope the scan to where change is landing (YAGNI)
This commit is contained in:
Matt Pocock
2026-07-13 11:27:15 +01:00
committed by GitHub
3 changed files with 12 additions and 0 deletions
@@ -0,0 +1,5 @@
---
"mattpocock-skills": minor
---
Add a YAGNI scoping filter to the **`improve-codebase-architecture`** skill's Explore step. Instead of scanning the whole repo evenly, it now scopes to where change is actually landing: if you name a direction it takes it, otherwise it reads the last ~20 commit messages to bias exploration toward actively-developed paths. A deepening opportunity in code nobody touches is a refactor you'll never cash in — the leverage only pays off where you keep editing — so the report stops tidying dormant corners of the repo.