/alfred-codebase:tests-for-old-codefrom alfred-codebase
Adds end-to-end tests to untested code in tiers by confidence, running each test before handing over. Use before refactoring or after inheriting a project.
Ships in alfred-codebase. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Old code has no spec, so the tests pin down what it does today. Hold every test to test-like-a-user: real screens and real calls, faking only the network edge and the device.
Ask what flow to cover if it isn't clear. Then find its entry points (routes, screens, handlers), what it calls and what it writes, and one existing test to copy the style and runner from. Use learn-this-codebase if there's no map.
Show the plan and ask which tiers to write.
For each tier the user chose:
Never loosen an assertion or raise a timeout to get green.
A short report: each test, its tier, pass or moved, and what it covers. Tier 3 items as a checklist. Any bugs found, first.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wednesday-solutions/alfred --plugin alfred-codebase7 skills in this plugin
/audit-a-moduleHealth check one module or service and recommend what to do with it: leave it, clean it up, refactor it with care, or don't touch it without a senior. Covers what it does, who depends on it, risk, test coverage, churn and rule breaks. Use when the user says "audit this module", "is it safe to refactor X", "how healthy is this service" or "should we rewrite X"./deploy-without-fearCheck everything before and after a production deploy, with a rollback plan and clear rollback triggers. Use when the user is about to deploy or just deployed, or says "is it safe to deploy", "pre-deploy check", "post-deploy check" or "we're going to prod". Not for committing, opening PRs or app store releases./Other plugins' skills for the same job