mockserver-monorepo: Skill for OpenCode

.opencode/skills/review-spec/SKILL.md

review-spec is a skill for OpenCode from mock-server/mockserver-monorepo. It costs 51 tokens per session (1,646 once invoked), scanned A, original, Apache-2.0.

A strict review process for design documents, plans, and technical specifications. It examines the document from eight viewpoints, including clarity, completeness, feasibility, security, and project-specific concerns.

In plain words
What is it for?
Reviewing specifications, checking claimed existing behavior against the codebase, identifying missing error or rollback handling, and finding design defects.
Why use it?
It is designed to uncover hidden assumptions, missing requirements, failure cases, and unsafe decisions before implementation begins.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is mock-server/mockserver-monorepo's own configuration. It tells OpenCode how to work on mockserver-monorepo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mockserver-monorepo configures →

About the project

MockServer is a testing server and proxy that imitates APIs, records and changes network traffic, and deliberately introduces failures. It is for developers testing applications against unavailable dependencies, debugging requests, and checking how systems handle degraded services across several network protocols. The catalogue add-ons help operate, configure, and test MockServer.

mock-server/mockserver-monorepo · 4,967 stars · on GitHub · mock-server.com

Reuse

Borrowing it

Nothing to install: this file belongs to mock-server/mockserver-monorepo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mock-server/mockserver-monorepo/master/.opencode/skills/review-spec/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mock-server/mockserver-monorepo

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/mock-server/mockserver-monorepo/review-spec/github.svg)](https://agentmods.dev/skills/mock-server/mockserver-monorepo/review-spec)
Your own site
<a href="https://agentmods.dev/skills/mock-server/mockserver-monorepo/review-spec"><img src="https://agentmods.dev/badge/skills/mock-server/mockserver-monorepo/review-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/mock-server/mockserver-monorepo/review-spec"><img src="https://agentmods.dev/badge/skills/mock-server/mockserver-monorepo/review-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01646
Opus 5 $0.00026 $0.00823
Sonnet 5 $0.00010 $0.00329
Haiku 4.5 $0.00005 $0.00165

Measured 9d ago against content hash 459e44ad3a15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

review-spec scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/review-spec/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adversarial Specification Review

You are performing a deep adversarial review of a specification or design document. Your job is to find defects, not to reassure the author. The spec is wrong until proven right.

Step 1: Load the Review Constitution

Read .opencode/rules/review-constitution.md in full. This is the 8-lens framework you MUST apply. Do not skip any lens.

Step 2: Build an Independent Model

Before reading the spec in detail, understand:

  • What problem is being solved?
  • Who are the actors (users, systems, components)?
  • What are the boundaries of the change?
  • What existing behaviour might be affected?

Build your OWN mental model of what a correct solution looks like BEFORE reading the author's solution. This prevents anchoring bias.

Step 3: Read the Spec

Read the full specification. For each section, note:

  • Claims about existing behaviour (verify these against the codebase)
  • Assumptions about infrastructure, tooling, or dependencies
  • Implicit requirements that are not stated
  • Missing error handling, rollback, or failure scenarios

Step 4: Apply All 8 Lenses

Work through each lens from the constitution. For each lens:

  1. List the principles that are applicable to this spec
  2. Evaluate the spec against each applicable principle
  3. Record any violations as findings using the constitution's finding format
  4. If a lens is not applicable, state why

Lens Priority for Spec Reviews

Ambiguity (Lens 1) — highest priority for specs:

  • Undefined domain terms (AMB-01)
  • Vague requirements without RFC 2119 language (AMB-02)
  • Missing numeric bounds and units (AMB-03)
  • Incomplete conditional logic (AMB-04)
  • Unspecified error message content (AMB-05)
  • Control plane vs data plane distinction (AMB-08)

Incompleteness (Lens 2):

  • Missing failure mode scenarios for external dependencies (INC-01)
  • Missing validation rules for user inputs (INC-02)
  • Incomplete state machine transitions (INC-03)
  • Missing data lifecycle (create/read/update/delete/archive) (INC-04)
  • Unspecified concurrency model (INC-05)
  • Missing timeout values (INC-07)
  • Missing pagination for list operations (INC-08)
  • Missing consumer docs update (INC-11)
  • Missing file inventory completeness check (INC-12)
  • Missing Netty ByteBuf lifecycle specification (INC-13)
  • Missing ring buffer sizing analysis (INC-14)

Read the full file on GitHub · 198 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 198 lines · 51 tokens per session scan A 459e44ad3a15

Subscribe to this mod's changes

review-spec is a skill published in the GitHub repository mock-server/mockserver-monorepo (4,967 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 1,646 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.