Mechanics — Testing skill for Claude Code
Behavior-spec system for apps: full-spec user stories, coverage-audited manifests, e2e-linked verification waves.
How to install Mechanics
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hansenexus/mechanics and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mechanics does
Behavior-spec system for apps: full-spec user stories, coverage-audited manifests, e2e-linked verification waves. CLI + MCP + Claude Code skills + forkable template.
Alternatives in Testing
- Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
- Notion Spec To Implementation — Convert Notion specs into linked implementation plans and tasks 14.6k ★
- Test Scenarios — Create comprehensive test scenarios from user stories 7.8k ★
README
mechanics
**[mechanics.hansenexus.dev](https://mechanics.hansenexus.dev)** — docs, and a live coverage report.
[](https://www.npmjs.com/package/@hansenexus/mechanics) [](https://github.com/hansenexus/mechanics/actions/workflows/ci.yml) [](./LICENSE)
Behaviour specs with a coverage ratchet.
Every user-observable behaviour is one markdown file with labelled acceptance criteria. A committed manifest is compiled from them and gated against drift in CI. Every surface the project ships — route, endpoint, CLI command, scheduled job, whatever your adapters declare — must be **claimed** by a behaviour or explicitly **ignored**; anything else is a gap the build can be made to fail on.
The question it answers is "did we keep every behaviour?" during a rewrite or a redesign, and the reason it works is that the answer is checkable rather than asserted.
mechanics scan # every repo here, its stack, whether it is onboarded
mechanics init # set a repo up: config, corpus skeleton, CI, MCP
mechanics check --all # corpus + waves + coverage
mechanics build --all --check # drift gate
mechanics coverage --app= # the table, the gaps, wave rollups
mechanics gaps --app= # what is missing, split into fix / ask
mechanics report --html # one self-contained page
mechanics mcp # serve the corpus to an agent over stdio
mechanics agents # which agent providers are reachable from here
mechanics run list # the docket/1 board
mechanics tui # leave it open: drift, gaps, runs, updates
What it looks like
Coverage is the whole idea: every surface the app ships, against every surface th
Related Skills
ShipGuard
Claude Code skills for automated E2E testing with agent-browser (Playwright CLI). Discover routes, generate YA
Antigravity Bmad Config
Antigravity config template: BMad Method (BMAD-METHOD) AI agents via slash commands for PRD→Architecture→Stori
Se Forge
A team of AI agents in Claude Code that builds client apps from requirements to merged, tested code: discovery
AI Project Template
Unified Python starter for AI projects: classical ML, deep learning, LLM apps, RAG, and agents. uv + Ruff + py
Vnv Sprint Prep
V&V (Validation and Verification) sprint preparation — check cross-platform parity on the dev board, clone spr
Implement E2e
Generate E2E test specs from behavior map entries — mechanical translation, called by /implement
Related Agents
Zephyr Scanner
Finds Zephyr Scale test cases linked or relevant to Jira stories, ACs, modules, and release risks. Use for cov
Template Contract Reviewer
Use after any change under aai_cli/init/templates/ (the assembly init starter apps) to verify the scaffold sti
Template Auditor
Use this agent whenever Pulkit wants an existing premium-template clone in the fable repo audited against its