[ ROOM / 005 ]
clean-code005 / 011

Clean Code

INSTALLpi install git:github.com/686f6c61/Alfred-Pi
then /reload · no pi? pi.dev

/// one of eleven · the rest off

002 · WHEN IT FIRES

When it fires

Fires on «refactor», «review this PR», technical debt, SOLID, names that lie.

You do not pick this room from a menu. You write the work and the radar lights it if the turn belongs to it.

003 · A CASE

A case

/refactor src/foo.ts plans behaviour-preserving steps, one by one; if the code that matters has no tests, it writes characterisation tests first.

That is the kind of prompt that should light it without you typing the id. If the radar is often wrong in your repo, the fix is in the pack's triggers, not in memorising /domains every morning.

004 · THE SISTER

The sister

Border with QA / Testing: Clean Code judges design and debt, QA judges risk and evidence.

Sister file: QA / Testing. Both can be enabled at once. On a given turn only one context travels.