/amplify:write-testfrom amplify
Guides coverage-driven test writing for existing codebases: discovers untested user-facing behavior via coverage reports, writes one meaningful test per iteration, and marks low-value code with ignore annotations.
Ships in amplify. 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.
None: SKILL.md is the whole skill.
Write tests that catch regressions users would notice. Use coverage as a discovery tool, not a target.
A great test covers behavior users depend on — a feature that, if broken, would frustrate or block users. It validates real workflows, not implementation details. It catches regressions before users do.
Do NOT write tests just to increase coverage. Use coverage as a guide to find untested user-facing behavior.
If uncovered code is not worth testing (boilerplate, unreachable error branches, internal plumbing), add the appropriate ignore annotation instead of writing a low-value test.
package.json scripts and CI config (.github/workflows/) to find the project's actual test command. If no test infrastructure exists at all, stop and tell the user: this skill requires an existing test runner..test.ts, .spec.ts, _test.go, test_*.py) and placement (__tests__/, colocated, or dedicated test/ directory)."returns error when file not found" not "test getFile function".Check package.json scripts or CI config first. If no script exists, use the runner's native flag:
| Runner | Coverage command |
|---|---|
| vitest | npx vitest --coverage |
| jest | npx jest --coverage |
| c8/node | npx c8 node --test |
| bun | bun test --coverage |
| go | go test -cover ./... |
| pytest | pytest --cov |
| cargo | cargo tarpaulin |
If the runner is not in this table, look for a --coverage or --cov flag in the runner's docs, or check the CI workflow for the exact invocation.
Use the annotation that matches the project's coverage tool — not all projects use V8:
| Tool | Annotation |
|---|---|
| V8 / vitest (v8) | /* v8 ignore next */ or /* v8 ignore start */ … /* v8 ignore stop */ |
| Istanbul / jest | /* istanbul ignore next */ or /* istanbul ignore if */ |
| pytest-cov | # pragma: no cover |
| Go | No standard annotation; exclude files via go test -coverprofile flags or build tags |
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (wunki/amplify) — no native marketplace selected
npx claudepluginhub p/wunki-amplify28 skills in this plugin
/ask-questions-if-underspecifiedPauses to ask focused clarifying questions when a request lacks enough information to execute correctly. Use when the task is vague, has multiple plausible interpretations, is missing acceptance criteria, or when wrong assumptions would produce significant wasted work. Don't use when the request is already well-specified, when requirements were clarified earlier in the same conversation, when the task is trivially unambiguous (e.g., fix a specific typo), or when general clarification techniques are being discussed rather than applied to a specific task./browse-siteNavigates and interacts with websites using the agent-browser CLI, including clicking elements, filling forms, taking screenshots, extracting page content, and automating multi-step browser workflows. Use when the user asks to open a URL, click something on a page, fill out a web form, take a page screenshot, scrape or extract data from a website, or automate a browser task. Don't use for Playwright, Puppeteer, or Selenium scripts; don't use for browser extension development; don't use for questions about browser APIs, JavaScript, or frontend code that don't require live browser interaction.
/code-simplifierRefines existing code for clarity, readability, and maintainability without changing behavior, interfaces, or outputs. Use when asked to "simplify", "clean up", "refactor for readability", "reduce complexity", or polish code without adding features. Don't use when the request involves changing behavior, adding functionality, migrating to a new pattern or library, renaming public APIs, or any structural change that alters interfaces or outputs./create-planCreates a structured PLAN.md file for a software engineering task by interviewing the user to extract intent, thinking through the approach, and writing an actionable plan with scope, success criteria, and a sequenced checklist. Use when the user asks to "create a plan", "make a plan for [engineering task]", "plan out [feature or change]", "help me plan [implementation]", "write a plan", or when they need a written plan document before starting implementation work. Also use when the user asks to advance to the next phase of an existing plan. Don't use for general brainstorming sessions, architecture diagrams, meeting or project management planning, non-software scheduling, or when the user wants to execute a task immediately without a planning document. Don't use for "make a plan for lunch", team retrospectives, or sprint planning.
/create-specCreates or updates a SPEC.md specification document by structuring requirements, notes, or interview output into a consistent format with sections for goals, design, edge cases, security, testing, and success criteria. Use when the user asks to write a spec, create a specification, turn notes or requirements into a spec, document a feature design, or structure technical requirements. Don't use for requirements gathering or discovery interviews (use the interview skill instead), for Architecture Decision Records or RFCs, for general documentation or README files, or for implementing code based on a spec./create-vaultCreates an Ampi-ready SQLite vault from a folder of documents (md, markdown, txt, docx, doc) or an existing SQLite source table. Builds keyword search (FTS5), optional sparse semantic search, a search_schema contract, and an amplify_search_manifest so Ampi tools (search_vault_keyword, search_vault_semantic, search_vault_deep, lookup_vault_records) work immediately. Use when the user wants to build a new Ampi vault, ingest documents into a searchable SQLite database, check whether an existing vault passes the Ampi search contract, or re-build a vault from updated documents. Don't use for general SQLite database creation, non-Ampi document stores, CSV imports, querying an existing vault, or adding documents to an already-built vault without re-ingesting.
Other plugins' skills for the same job