atlasomnia/hermes-custom-pack/specification-compliance-review

Claude Code and agent skill by atlasomnia/hermes-custom-pack

Trust tier 3
  • community
  • ext:[{"type":"context","description":"Custom context provider definitions"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

specification-compliance-review — Audit partial or passing implementations against an explicit task specification, proving each requirement with code, tests, and execution evidence.

Install

npx vskill@latest install atlasomnia/hermes-custom-pack/specification-compliance-review

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as atlasomnia/hermes-custom-pack/specification-compliance-review.

Specification-Compliance Review

Overview

Use this skill when an implementation is described as partial, passing, or complete and the task is to determine whether it actually satisfies an explicit specification. This is not a generic code review and not a re-run of the test suite. The central question is: does every normative requirement have both a correct implementation path and a meaningful proof?

A green build proves syntax, compilation, and perhaps the tested examples. It does not prove race behavior, cancellation semantics, exact backpressure policy, integration parity, or compliance with explicit non-goals.

Workflow

1. Establish the review baseline

Read, in order:

  1. The task specification and surrounding plan/release gates.
  2. Repository guidance (AGENTS.md, README, project instructions).
  3. The changed files and their callers.
  4. The tests added or claimed as evidence.
  5. Git status/diff and recent relevant history.

Create a requirement matrix with one row per normative clause:

RequirementProduction evidenceProving testExecution resultStatus
Exact behaviorpath:linestest name + fixturecommand/outputpass/fail/unknown

Keep unknown distinct from fail. A test that could not run is not a passing test.

1B. Preflight implementation plans for load-bearing assumptions

When the artifact under review is an implementation plan rather than completed code, identify every external behavior that several downstream tasks assume: server-owned tool execution, plugin loading, request-context propagation, restart/reload ownership, stable host identity, or update/rollback semantics.

Do not let later RED tests encode an unproven API contract. Insert the smallest real-runtime spike before dependent work, capture the exact request/event/context contract, and gate downstream tasks on it. If the plan routes opaque identifiers through model-visible prompt text, require a deterministic metadata/session channel or explicitly stop for the missing platform capability; model copying is not a trusted transport.

Apply the plan's stated threat model before calling a security concern blocking. In particular, do not pretend Origin headers or current-user secret storage defend against hostile code already running as that OS user, and do not move a server-side secret into JavaScript merely to satisfy an authentication requirement.

1C. Trusted context and server-owned tool binding

For server-owned agent/plugin integrations, treat any identifier that selects a workbook, document, tenant, user, or session as security-sensitive request context. A UUID embedded in model-visible prompt text is only a hint: the model can omit, alter, replay, or substitute it. Require an out-of-band, server-recognized binding such as request metadata, a trusted header propagated by the gateway, a server-issued capability, or a validated context object. Trace the value through the actual server implementation and plugin handler; do not infer support from client tests or comments.

When a plugin receives a caller-supplied target ID, inspect whether plugin authentication authorizes the whole service rather than the specific target. If so, a wrong-but-valid ID can become cross-workbook or cross-tenant access. Add an adversarial test with two active targets: deliver a valid target A, make the model/plugin attempt target B, and assert the server rejects it or rewrites it to A before any side effect. Tests that only assert the ID appears in a prompt are vacuous for this requirement.

For OpenAI-compatible gateways, inspect the gateway source or run a real request spike to verify which body fields, headers, and tool schemas reach the native agent loop. Caller tools/tool_choice may be accepted for fingerprinting yet ignored for execution; similarly, custom context fields may be discarded. Record the exact supported transport before designing the client seam.

For localhost-only private deployments, audit proxy topology end-to-end: a loopback listener is not sufficient if its configured upstream host can be remote. Require loopback validation for the upstream as well, or classify the deployment as a separately documented remote mode; never send an injected gateway key over plain HTTP to an arbitrary API_SERVER_HOST.

When a review runs alongside another agent or an external process, capture the candidate SHA and review git show <sha>:<path> content if the worktree becomes dirty. Do not silently review concurrent edits as part of the candidate, and do not revert them without authorization.

2. Decompose the specification

Classify each clause as one or more of:

  • functional behavior;
  • concurrency or ordering invariant;
  • cancellation/timeout behavior;
  • integration compatibility;
  • explicit scope boundary or non-goal;
  • required test coverage;
  • build/release gate.

Give special attention to words such as exactly, only, latest, must, never, preserve, cancellable, and no refactor. These are acceptance criteria, not descriptive prose.

3. Inspect implementation and seams

Trace each requirement from its public entry point through state ownership and asynchronous boundaries. For concurrency work, identify:

  • who owns the worker/task;
  • how pending work is represented;
  • how generations/tokens identify stale work;
  • who owns and cancels the transport;
  • whether cleanup is identity-safe;
  • whether stop awaits completion;
  • whether callbacks can escape after cancellation;
  • whether caller-created tasks can outlive the session.

After an extraction or refactor, compare the old path and new path for behavior parity. Common regressions occur in normalization, language mapping, configuration defaults, error formatting, and interruption handling rather than in the extracted core.

4. Audit tests for meaningfulness

A test proves a requirement only when its setup actually creates the required condition and its assertion observes the specified invariant. Reject vacuous coverage such as:

  • a race test that releases the first operation before starting the second;
  • an “active count” that measures only one callback rather than worker/transport lifetime;
  • a timeout test that checks an error callback but not cancellation and eventual worker cleanup;
  • a stale-generation test that does not inject a late frame after a new generation begins;
  • a latest-wins test that checks the final text but not that the intermediate request was not synthesized;
  • a cancellation test that stops after scheduling cancellation without awaiting the old worker.

Review test helper semantics too. An actor, lock, continuation, or deferred cleanup task can make a test appear deterministic while failing to measure the intended interval.

5. Verify in increasing strength

Run the smallest useful focused test first, then the complete relevant suite, then a clean build. Also run static searches for forbidden mechanisms or explicit non-goals (for example, semaphore-based blocking, direct credentials, or an unintended framework refactor).

Record command, target, destination, and result. If infrastructure prevents execution, report the exact limitation and downgrade the verification status; do not convert a prior passing claim into independently verified evidence.

6. Report findings

Lead with the verdict: PASS, PASS WITH GAPS, or FAIL.

For every finding include:

  • severity;
  • title;
  • exact file and line range;
  • requirement violated or left unproved;
  • concrete execution scenario;
  • why the current test does not catch it;
  • smallest corrective direction (without implementing unless asked).

Then include:

  • verified-good controls;
  • verification commands and real output;
  • unverified items and environmental limitations;
  • scope/non-goal compliance;
  • a short residual-risk summary.

Do not bury a failed acceptance criterion under a long list of passing tests.

Concurrency-specific checklist

For a single-worker latest-pending pipeline, prove all of the following independently:

  • no more than one worker and one transport exist during normal handoff;
  • a busy request retains exactly one newest pending request;
  • intermediate pending requests are not silently synthesized or sent;
  • worker exit cannot strand a request enqueued during handoff;
  • old cleanup cannot cancel or clear a newer transport;
  • stop invalidates the generation before late callbacks are processed;
  • send timeout cancels the transport and reports promptly;
  • first-audio timeout cancels a receive that ignores task cancellation;
  • stop awaits the old worker when the contract requires it;
  • session interruption/output interruption reaches the same cancellation path;
  • provider integration preserves prior wire normalization and does not enqueue stale work after reconnect.

Pitfalls

  • RED evidence must be exact, not just nonzero. A suite that shows 14 failed is not meaningful unless every failure proves the corresponding requirement was violated for the right reason. Inspect the first error message, stack, and assertion for each failing test. A test that fails because _verify_active_hermes_plugin does not exist (AttributeError) is exact RED — it proves the verify path cannot run at all. A test that fails with an unrelated import error or a vacuous assertion is not meaningful RED. Record the concrete failure messages alongside the count.
  • When RED tests are run against a baseline before the fix, verify that the passing tests in that same baseline are not false positives. A passing test in a pre-fix RED run that asserts behavior the baseline does not implement is a false-positive pass, not meaningful GREEN.
  • Do not equate “build succeeded” with “specification satisfied.”
  • Do not accept a test by name; inspect its synchronization and assertion timing.
  • Do not review only the extracted class; inspect every caller and lifecycle edge.
  • Do not call a requirement failed solely because a simulator is unavailable; call it unverified, then distinguish any source-level defect separately.
  • Do not propose broad fixes before identifying the exact requirement, data flow, and missing proof.
  • Do not report speculative security or product concerns as compliance failures unless the specification makes them normative.
  • Call out scope drift separately: if changed files include out-of-spec artifacts (for example, scheme metadata, generated project knobs, or tooling configuration) with no explicit task requirement, record them as out-of-scope configuration drift rather than silently inheriting them into the implementation path.

Provider-session safety addendum

For provider-backed audio/TTS sessions, treat these as separate acceptance criteria rather than one generic “cleanup” requirement:

  • Caller-task safety: track provider-created enqueue tasks that can outlive a callback; stop must cancel and await them, and reconnect must explicitly reset the tracker before accepting new work.
  • Language normalization parity: normalize language tags at the provider seam (trim, lowercase, map -/_ regional forms to the base language, then apply an allowlisted fallback) before constructing wire requests.
  • Timeout shutdown: a timeout must complete the caller promptly, cancel the underlying transport, and await cleanup where the lifecycle contract requires it—even if the operation ignores task cancellation.
  • Cleanup-race proof: gate old transport cleanup, start the new transport first, then release old cleanup; assert the new transport is neither cancelled nor cleared.
  • True global one-active proof: instrument every transport instance and measure its active interval, not just one worker callback. Assert the maximum across the whole handoff lifecycle is one.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
59
Repository forks
6
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • contextCustom context provider definitions

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/atlasomnia/hermes-custom-pack/specification-compliance-review/badge)](https://verified-skill.com/skills/atlasomnia/hermes-custom-pack/specification-compliance-review)

Something wrong with this skill or its page? Tell us.