Skill: Code Simplification
by Addy Osmani
Reduces accumulated complexity without changing behaviour, using Chesterton's Fence to avoid deleting the thing that was load-bearing.
Matt Pocock's /improve-codebase-architecture command: finds shallow modules worth deepening, renders them as a visual HTML report with before/after diagrams, then grills you through the one you pick.
Improve Codebase Architecture is a user-invoked command from Matt Pocock's skills collection (its frontmatter sets disable-model-invocation, so it runs only when you type it). It looks for deepening opportunities: refactors that turn shallow modules, whose interface is nearly as complex as their implementation, into deep ones that are easier to test and easier for an AI agent to navigate.
It starts by scoping. Unless you name an area, it walks the git history to find hot spots, then hands a sub-agent a fresh context to explore the code and note friction: concepts scattered across many small modules, pure functions extracted only for testability, coupling that leaks across seams, untested areas. Suspects get the deletion test: would removing the module concentrate complexity or just move it?
Candidates are written to a self-contained HTML report in the OS temp directory (Tailwind and Mermaid from a CDN), one card per candidate with the files involved, the problem, the proposed change, the benefits, a before/after diagram and a strength badge, ending in a top recommendation. Nothing lands in the repository. When you choose one, it calls the companion grilling skill to work through the design decisions, updates GLOSSARY.md as terms sharpen, and offers to record an ADR when you reject a candidate for a lasting reason. It depends on the codebase-design, grilling and domain-modeling skills from the same repository. MIT-licensed.
The instructions your agent loads, as published by Matt Pocock.
by Addy Osmani
Reduces accumulated complexity without changing behaviour, using Chesterton's Fence to avoid deleting the thing that was load-bearing.
Matt Pocock's test-driven development skill: one red-to-green slice at a time, tests only at seams agreed with you first, and a named list of test anti-patterns to avoid.
by Inngest
A controlled upgrade path from Inngest SDK v3 to v4 — triggers into createFunction options, EventSchemas to eventType, realtime imports, step.invoke string IDs — with a scan-first, verify-last order.
by Inngest
An evidence-first audit skill: walk an existing TypeScript repo, name the exact call sites where background work can be lost, and land an incremental durability plan.