CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

apm-lifecycle-tests

This skill guides lifecycle testing from identifying a user promise and selecting a test instrument through running failing-before and passing-after checks, applying invariants, and recording evidence. It emphasizes hermetic tests of the real CLI, snapshot-based assertions, and coverage for security, state changes, and user-visible outcomes. It also sets constraints for test quality and provides reusable evidence formats for maintaining lifecycle tests.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

The canonical home for this skill is apm-lifecycle-tests in microsoft/apm

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exemplary operational skill: a ten-step procedure with red/green validation gates, owner-routing and guard rules, concrete commands and paths throughout, and a clean one-level-deep reference bundle tied to specific steps. The density is high but every line is instruction rather than explanation, so token budget is well spent.

DimensionReasoningScore

Conciseness

Fragment-style operational bullets ('Run `ls tests/lifecycle/conftest.py`', 'Single thread. Plan, execute, verify by running.') with zero explanations of concepts Claude already knows and no padding; even the opening paragraph teaches the skill's own vocabulary (USER PROMISE, lifecycle proof) rather than generic testing concepts. Not 4: there is no section of over-explanation to trim — every token carries an instruction, path, or rule.

5 / 5

Actionability

Fully executable guidance: copy-paste commands (`ls tests/lifecycle/conftest.py`, `grep -rn "<symbol|flag|error text|issue>" tests/`, the `APM_BINARY_PATH=... uv run --extra dev pytest` block, the ledger validation command), exact file paths, a situation-to-instrument selection table, and a filled-in output template. Not 4: the specific examples cover the common cases (each step's command is runnable as written), and template skeletons are provided in assets/templates.md for the one step that needs boilerplate.

5 / 5

Workflow Clarity

Steps 0-9 are clearly sequenced with explicit validation checkpoints (Step 5 'run red' with 'Keep the failing assertion line', Step 7 rerun green plus neighboring tests, Step 8 ledger validation) and genuine feedback loops ('A test that is green before the fix is not a regression trap; tighten the oracle'; 'If you cannot name a promise, stop and ask'). Checklists (mandatory properties, the I1-I9 invariants table) complete the anchor-5 pattern. Not 4: validation is explicit at nearly every step rather than present with minor gaps.

5 / 5

Progressive Disclosure

The body is a procedure overview; detail lives in four one-level-deep bundle files, each listed in a 'References (load on trigger)' section with its triggering step, and each verified to exist and contain what the body claims (family.md's TODAY/TARGET sections, oracles.md's I1-I9 and anti-oracles, templates.md's three templates, migrate-and-merge.md). Not 4: navigation is exactly signaled — every reference states when to load it, and no content that belongs in a reference is inlined wholesale.

5 / 5

Total

20

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it names concrete capabilities, gives explicit and even anticipatory trigger guidance (including the 'even if the request only says add an e2e or integration test' case), and delimits its own scope with a not-for clause. The only weakness is heavy reliance on project-internal vocabulary that presumes the reader already knows the harness's terms.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'drives the real apm CLI through command sequences and checks durable state (deployed files, lockfile, MCP configs, approvals, egress)', 'names the promise, picks the instrument, writes the failing-before test with snapshot and invariant oracles, and records the bug-ledger row' — with comprehensive coverage and no gaps; the 'Not for pure unit tests, PR review verdicts...' clause even delimits scope. Not 4: there are no minor coverage gaps, and the imperative 'Use this skill when...' form matches the rubric's own good examples rather than the penalized 'You can use this' style.

5 / 5

Completeness

Explicitly answers both questions: what ('any test that drives the real apm CLI through command sequences and checks durable state', plus the action list) and when ('Apply it for a bug fix or behavior change in install, update, uninstall... whenever a reviewer says lifecycle coverage is missing, even if the request only says "add an e2e or integration test"'). Matches the anchor-5 example structure of concrete capability list followed by concrete trigger phrases; not 4 because the 'when' is explicit and specific, not merely present.

5 / 5

Trigger Term Quality

Good natural-term coverage: 'e2e or integration test', 'regression trap', 'lifecycle coverage is missing', and the command names (install, update, uninstall, prune, compile, audit) a user would actually say. Not 5: much of the trigger vocabulary is project-internal jargon ('replay row', 'security table', 'docs journey', 'state-machine rule') that maps only to insider phrasing, and a few natural variations are missed. Not 3: the synonyms that are present ('e2e or integration test', 'pack or bundle') go well beyond 'some relevant keywords'.

4 / 5

Distinctiveness Conflict Risk

Clear niche (the APM lifecycle test tier) with distinct triggers and explicit exclusions — 'Not for pure unit tests, PR review verdicts, or deciding which tests to delete' — which actively prevents overlap with neighboring test-writing skills. Not 4: the boundary is stated rather than merely implied, giving minimal conflict risk.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

microsoft/apm

Path

.apm/skills/apm-lifecycle-tests/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.