/aiup-core:test-case-coveragefrom AI Unified Process Core
Audits an automated test case (TC-XXX) against its specification document and reports a coverage matrix showing which flows, validations, and postconditions have test steps and code, which are missing, and which have drifted.
Ships in AI Unified Process Core. 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.
Audit the test case $ARGUMENTS against the journey test and the code that are supposed to realize it, and report the result.
This skill is a front door to the read-only uc-coverage-layered sub-agent of aiup-core, the same agent
/use-case-coverage uses. The audit checklist lives in agents/uc-coverage-layered.md at the plugin root (locate
it with a glob for **/agents/uc-coverage-layered.md) and is deliberately not repeated here. How a report is
presented, compared with an earlier run, and run on a host without sub-agents is owned by /use-case-coverage:
locate it with a glob for **/*use-case-coverage/SKILL.md (the folder may carry a host prefix such as
tessl__use-case-coverage) and apply its sections "Delegation", "Repeated Runs", "Hosts without sub-agents", and
"HTML Report" as written. Your job is argument parsing, delegation, faithful presentation, and offering the next step.
The report is the deliverable. You do not fix what it finds.
Everything is parsed out of $ARGUMENTS; the tokens may appear in any order.
| Token | Meaning |
|---|---|
TC-001, TC001, tc 1, or a path to a test case | the journey to audit — normalize to TC-001 |
implementation, impl, code | mode implementation |
tests, test | mode tests |
both, or no mode token at all | mode both (the default) |
wip, --wip, work in progress, in progress, draft | pass the work-in-progress qualifier through |
html, --html | also write the report as HTML — see below |
a UC-* id | not a journey — hand off to /use-case-coverage UC-XXX |
| nothing | list the test cases and ask — see below |
A mode is only narrowed by a standalone qualifier token, never by a word in a sentence. State the resolved arguments
in one line before delegating (Auditing TC-001, mode both.).
Parse $ARGUMENTS into the id, the mode, and the work-in-progress flag.
Confirm the test case exists — docs/test_cases/TC-XXX-*.md. Stop, list the near matches, and ask if it does
not. Never audit against a journey you inferred from the tests.
State the resolved arguments in one line.
Delegate the audit to uc-coverage-layered (it may appear as aiup-core:uc-coverage-layered), passing exactly
the id, the mode, and — when it applies — work in progress, nothing else:
TC-001 both
TC-001 tests work in progress
Present the returned report unchanged, and on a rerun add the comparison — the sections of /use-case-coverage
named in Instructions.
With html, write the report as docs/coverage/TC-XXX.html with the script of /use-case-coverage: locate it
with a glob for **/*use-case-coverage/scripts/coverage_report.py and follow its section "HTML Report".
Offer the gap-closing commands — see After the Report. Then stop.
With no id: if the conversation has just been working on a specific TC-*, propose that one and ask. Otherwise list
docs/test_cases/ with each test case's **Status:** line and ask which to audit. Audit one journey per run.
/test-case-implement TC-XXX./use-case-implement UC-YYY, narrowed to a layer when the report names one.docs/architecture/stack.md itself missing closes with /stack./test-case TC-XXX updates the journey) or the application (/use-case-implement UC-YYY) — and offer only the
command that matches the answer. Never pick a side yourself.Automated suggestion on as a suggestion: it says
the journey is automated, not that it passes, and the agent cannot run it — never claim it was run. Do not edit
the test case's **Status:** line.**Status:** line. The only file you write is
the HTML page, and only with html.agents/uc-coverage-layered.md owns it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ai-unified-process/marketplace --plugin aiup-core20 skills in this plugin
/acceptance-protocolWrites the protocol of a user acceptance round in docs/acceptance/: a checklist per test case (TC-XXX) from its Flow table and validations, and per use case that no test case covers from its scenario, alternative flows, and business rules, each row with columns for result, tester, date, and remark. Records the results a tester reports, then closes the round: every use case at Tested whose rows all passed and that no blocking question holds is proposed for Done, and set to Done after the user confirms. Use when the user asks to "prepare the acceptance test", "create the UAT checklist", "write the acceptance protocol", "record the acceptance results", "TC-002 step 4 failed", "close the acceptance round", "which use cases can go to Done", or mentions user acceptance testing, UAT, sign-off, or the Transition phase. It never changes a use case other than its Status line, and never sets a status without the user's word.
/architecture-decisionRecords architecture decision records (ADR-XXX) in docs/architecture/decisions/, each one linked to the non-functional requirements (NFR-) and constraints (C-) of docs/requirements.md it serves: drafts an ADR from a decision stated in plain words (Context, Decision, Consequences), checks it against the accepted ADRs for contradictions and overlaps, supersedes an earlier ADR, adds a missing requirement link (ADR-003 link NFR-002), changes an ADR's status, and lists the ADRs filtered by requirement or status. Use when the user asks to "record an ADR", "write an architecture decision", "document why we chose X", "we decided to use jOOQ instead of JPA", "supersede ADR-002", "accept ADR-005", "list the ADRs", "which ADRs depend on C-005", or mentions architecture decision records, ADRs, or docs/architecture/decisions. Also trigger when the user states a technology or structure decision in conversation that the project should remember. A question about the specification is /open-questions, not an ADR.
/business-processCreates or updates BPMN 2.0 business process models (docs/processes/BP-XXX-*.bpmn) from the requirements catalog and the use case diagram: one pool per process, one lane per actor, every activity one use case, gateways for the decisions between them, and a diagram layout a modeler such as bpmn.io can open. Every process gets a BP-XXX id for communication and traceability; run it with that id (e.g. /business-process BP-001) to update one process. Use when the user asks to "model the business process", "create a BPMN", "draw the process", "connect the use cases into a process", "update BP-001", or mentions a business process, process model, BPMN, swimlanes, or a .bpmn file. Also trigger when a review or the use case skills report a summary use case whose parts hand over to another role, wait for an event or deadline, or run in parallel — that flow is a business process. The resulting model is what /test-case BP-XXX derives end-to-end test cases from.
/entity-modelCreates entity model documents with Mermaid.js ER diagrams and attribute tables defining entities, relationships, data types, and validation rules. Use when the user asks to "create an entity model", "design a data model", "draw an ERD", "define database schema", "model entities", or mentions entity-relationship diagram, ER diagram, database design, or data modeling. Also trigger whenever the task is to produce, write, or design an entity model or data model document (e.g. docs/entity_model.md) from a requirements catalog — including phrasings like "data model design", "the team needs an entity model before development", or a request to document entities with attributes, data types, precision, and validation or cross-attribute constraints.
/nextReads the state of an AI Unified Process project and names the next command with its reason: which documents are missing, which blocking questions wait for an answer, which use cases wait for a review, the stack file, implementation, tests, acceptance, the user guide, or the release notes. Shows a short state table (use cases and test cases per status, open and blocking questions, stack file, spec lint, last Git tag) and one or two Next lines. Use when the user asks "what next", "what should I do now", "where are we", "which command comes next", "what is the state of the project", "what is missing before the release", or is new to the AI Unified Process and does not know which skill to run. It is read-only: it never runs the next command and never writes a file.
/open-questionsKeeps the log of open questions about the specification in docs/open_questions.md: records a question on a use case step, alternative flow, business rule, requirement, glossary term, or entity with the next OQ-XXX id, lists the questions filtered by use case, status, or blocking, records a person's answer, and withdraws a question that no longer applies. Owns the format every other skill appends in. Use when the user asks to "record an open question", "add a question for the product owner", "list the open questions", "which questions block UC-003", "answer OQ-002", "withdraw OQ-004", or mentions open questions, specification gaps, or docs/open_questions.md. It never resolves a question: putting the answer into the specification is /use-case-spec, /requirements, or /entity-model.
Other plugins' skills for the same job