Audit codebase for quality violations
thoughtworks-anthology-auditorskillsetup L2★0
ythalorossy/thoughtworks-anthology-auditor ↗What it does
Audit codebase for OO discipline and DDD purity violations
Best for
Legacy codebase OO-discipline audit when refactoring is underway and you want a checklist of primitive obsession, god classes, and framework coupling violations.
Inputs
- · [object Object]
- · [object Object]
Outputs
- · [object Object]
- · [object Object]
- · [object Object]
Requires
- · thoughtworks-anthology-auditor npm package
- · AST parser per language
Preconditions
- · Codebase committed to git or accessible locally
- · Language is one of: PHP, Java, TypeScript, Python, Ruby
- · User familiar with Object Calisthenics and DDD concepts
Failure modes
- · Generated code flagged as smell (needs __generated__/ path filter)
- · False positives on DTOs and test fixtures (need to exclude via config)
- · Very large codebases (>100K LOC) cause audit timeout
- · Framework-required boilerplate (Spring @Configuration) flagged as smell (needs rule override)
Trust signals
- · Based on 2008 ThoughtWorks Anthology essays (Object Calisthenics, Domain Annotations)
- · MIT license
- · file:line specificity required
- · Explicit anti-patterns list (generated code, framework boilerplate, DTOs excluded)