What problem does it solve? Agents repeatedly introduce the same classes of mistakes into a repository. This Skill identifies those patterns and fixes the repository architecture, type system, and validation so the next agent cannot make them. ## Core Features & Use Cases - Mistake Classification: Analyze commits, reverts, and review comments to identify recurring error patterns grouped into classes. - Systematic Fixes: Apply fixes at the highest level: architecture changes first, then type enforcement, then lints and tests, finally documentation. - Proof of Fix: Verify each new check fails on a real past mistake and runs consistently in CI. - Use Case: A team repeatedly imports from internal modules in the wrong way. Instead of documenting the rule, restructure the codebase to hide internals, make the wrong import fail at compile time, add a lint rule that names the correct import path, write a test, then document the pattern. ## Quick Start Read recent commits and review comments to identify the top recurring mistake classes in your repository, then apply architecture-level fixes starting with the most frequent pattern.