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

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

92%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.

A strong, highly operational process skill: every step is executable with verbatim commands, validation is built in at every phase (red/green/neighbours/ledger/hints), and detail is correctly split into well-signaled one-level-deep references. The only deduction is minor: a short motivational opening and the unquarantined 'today vs target' harness state that will age poorly.

DimensionReasoningScore

Conciseness

The body is densely telegraphic and assumes competence (no explanations of pytest, lockfiles, or testing basics) with detail correctly pushed to references and assets. It falls just short of 'every token earns its place': the opening rationale paragraph ("In agentic coding, where no human walks the CLI by hand, this harness is the walkthrough") is motivational rather than instructional, and the time-sensitive "today (no tests/lifecycle/)" state is woven through Steps 0, 3 and 4 rather than quarantined in an old-patterns section, so it will drift stale.

4 / 5

Actionability

Fully executable throughout: verbatim commands (`ls tests/lifecycle/conftest.py`, `grep -rn "<symbol|flag|error text|issue>" tests/`, the copy-paste `APM_BINARY_PATH=... uv run --extra dev pytest <node> -n 0 ...` invocation), exact file paths and symbols, a decision table for instrument choice, and a literal PR-evidence output template. Common cases are covered concretely with pointers to real templates in assets/templates.md.

5 / 5

Workflow Clarity

Steps 0–9 are clearly sequenced with explicit validation checkpoints and feedback loops: run red and keep the failing assertion line ("A test that is green before the fix is not a regression trap; tighten the oracle"), rerun green, then run the neighbours, validate the ledger row with a command, and execute every printed hint. Recovery paths are stated ("If you cannot name a promise, stop and ask"), meeting the top anchor for complex batch operations.

5 / 5

Progressive Disclosure

The body is an overview-plus-procedure that points to four real, one-level-deep bundle files, each mapped to the exact step that needs it in the "References (load on trigger)" section (family.md for Steps 0/3, oracles.md for Step 4, migrate-and-merge.md only for retiring tests, templates.md for Steps 4/8). Verified against the actual bundle: all referenced paths exist and the reference files do not nest further references beyond a sibling pointer to assets/templates.md.

5 / 5

Total

19

/

20

Passed

Description

100%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.

An exemplary description: it defines a precise niche, states concrete capabilities, opens with an explicit 'Use this skill when...' trigger clause that enumerates natural user phrasings, and closes with clear negative scope. Every judgment guideline (third-person imperative voice, no fluff, no over-claims) is satisfied.

DimensionReasoningScore

Specificity

The description enumerates multiple concrete actions — "drives the real apm CLI through command sequences", "checks durable state (deployed files, lockfile, MCP configs, approvals, egress)", "writes the failing-before test with snapshot and invariant oracles, and records the bug-ledger row" — plus a full operation list (install, update, uninstall, prune, compile, audit, pack, marketplace, policy, MCP, LSP). Coverage is comprehensive with no generic filler; it exceeds the 'minor gaps' level of a 4.

5 / 5

Completeness

Both halves are explicit: 'what' is stated concretely ("names the promise, picks the instrument, writes the failing-before test... records the bug-ledger row") and 'when' opens with a literal "Use this skill when you write, extend or migrate an APM lifecycle test" followed by concrete trigger cases. The negative scope ("Not for pure unit tests, PR review verdicts") further sharpens it; this clearly meets the explicit what-and-when-with-triggers anchor.

5 / 5

Trigger Term Quality

Natural user phrasings are covered exhaustively: "add an e2e or integration test", "lifecycle coverage is missing", "regression trap", "lifecycle_smoke test", "bug fix or behavior change in install, update, uninstall". It anticipates the exact wording of both user requests and reviewer comments, matching the comprehensive-with-synonyms anchor rather than the 'a few natural terms missing' level.

5 / 5

Distinctiveness Conflict Risk

It claims a clear niche — lifecycle tests of the apm CLI specifically — with distinct triggers (replay row, bug-ledger, state-machine rule) and explicit exclusions ("Not for pure unit tests, PR review verdicts, or deciding which tests to delete") that prevent it from firing for adjacent testing tasks. Minimal conflict risk.

5 / 5

Total

20

/

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

.agents/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.