/alfred-testing:test-like-a-userfrom alfred-testing
Guides writing integration tests that exercise real user journeys with no mocks of project code, faking only external boundaries. Use when writing, reviewing, or auditing tests.
Ships in alfred-testing. 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.
This standard works for web apps, services, mobile apps and desktop apps. "The project's own code" means everything in the repo you are testing: its source folders, services, stores, hooks, components, screens, navigators, parsers and registries. Find those folders first (for example src/, app/, lib/, packages/*).
setState to set up a precondition for an integration test.Fail the review when a test mocks the project's own code, makes up state instead of using the product, asserts only calls or source text, skips a known bug, keeps a duplicate or replaced journey, leaves out visual or navigation proof for changed UI, or passes while async work outlives teardown. Name the exact file and the real integration test that should replace it.
For the deeper method (fakes vs stubs vs mocks, observing the transition, debugging a test), see reference/test-doctrine.md in this skill. The companion skill bug-trap is the short checklist.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/bug-trapWrite and fix tests that catch real bugs, by testing behaviour, faking only the device boundary and seeding data the way the product writes it. Use when a bug needs a test that fails first, or a unit test is failing or flaky, or when the user says "add a test for this bug", "fix this failing test" or "why is this test flaky". For the bar every test is held to, use test-like-a-user./click-everythingTest your app one module at a time by looking at it like a user does. Your agent lists every route from the router, screenshots every route and state, clicks the buttons, makes the app produce real output and reads it, fixes what doesn't make sense, adds replayable end-to-end tests, and reports. Use when you say "test every page", "/click-everything", "sweep the app", "visually test this module", or when there is no other work queued./dont-break-itYour agent changes code in small, additive, checked commits that never skip hooks and never block on long jobs. Use before editing code, running checks, committing or pushing in any repo, or when you say "change code safely", "commit this properly", "small commits" or "follow the engineering rules"./fix-it-for-realFix bugs at the system level instead of patching symptoms, by reproducing each bug with a failing probe, finding who already solved the general problem, and committing small checked changes safely even when several agents share one checkout. Use when fixing a bug, especially one that came back, or when the user says "no hack fixes", "fix it properly", "this keeps breaking", "fix the root cause" or "fix-it-for-real".npx claudepluginhub wednesday-solutions/alfred --plugin alfred-testingOther plugins' skills for the same job