Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fixes failing architecture ratchet, complexity, file-size, dupl and inference-boundary gates by splitting code along concept boundaries.
91% 91%0 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 20 of 22 without it.
3 of 3 safety checks passed
Not used yet
The gates stop the code from getting worse. A failure means the change put new code in the wrong shape or place; fix the shape, not the gate.
make arch-ratchet # when the target exists
golangci-lint run --new-from-rev=origin/main ./...
go test ./internal/architecture/...
make inference-boundary
where-does-this-go to see which context each job belongs to.proxy.Service grew or a proxy context key appeared: turn the new method into a free function or collaborator and pass the values as parameters.add-model-or-quirk).dupl clone: extract the shared logic once, in the package that owns it.inference.InvocationRequest and execute through the policy-resolved plan.
Don't chop code into arbitrary helper1/part2 functions; each piece must have a name that says what it does.-update (golden-traces).//nolintinternal/architecture/ratchet_exceptions.json to pass your own PRIf a split truly isn't possible (generated code, a protocol switch that must stay exhaustive), stop and ask the package CODEOWNER (.github/CODEOWNERS) for a reviewed exception, giving the gate, the value and why a split doesn't work.
make arch-ratchet # when the target exists
go test ./internal/architecture/...
make inference-boundary
Next to this one in the catalogue, plus more from the same author.