api-contract SKILL.md skillA

api-contract from gonimar/claude-web-studio is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gonimar/claude-web-studio/api-contract@git:20260927.f32d805

Pins git:20260927.f32d805 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gonimar/claude-web-studio
Path
skills/api-contract/SKILL.md
Versions recorded
6
Latest version
git:20260927.f32d805, committed Sep 27, 2026
First version recorded
Sep 16, 2026
Size
6,579 bytes
Repository stars
5
License
MIT

Designs the API contract before implementation — GraphQL SDL by default (types, Node/connections, inputs, mutations with payload errors, subscriptions, @auth, persisted operations) or OpenAPI 3.1 / AsyncAPI for REST/events; validates with graphql-inspector / spectral, generates types, documents in docs/architecture/api/. Also game WebSocket protocols.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# API Contract

Reply in the project conversation language (CLAUDE.md → Language); code, identifiers, paths and commit messages stay in English.

Template `.claude/docs/templates/api-contract.md`; references `graphql.md`, `web-platform.md` (REST conventions), rules `api-contracts.md`.
In the commands below, `<hooks>` is `.claude/hooks/` in copy mode and `${CLAUDE_PLUGIN_ROOT}/hooks/` in plugin mode.

## Phase 1: Scope and style
1. **Style**: `--style`, else technical-preferences (GraphQL by default).
2. **Schema path**: `api_contract_path` from technical-preferences (`api/schema.graphqls` in a Go module, `docs/architecture/api/schema.graphql` / `openapi.yaml` otherwise). The field is set by `/setup-stack`; unset → ask once, and record it in technical-preferences together with the Phase 4 write.
3. **Read** the feature spec (sections 3–5), the current schema at `api_contract_path`, and the threat model (permissions). A feature named in the argument with no spec → `BLOCKED (no feature spec — run /feature-spec F-NNN first)`; write nothing. (`--deprecate` needs no feature spec.)

## Phase 2: Draft
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gonimar/claude-web-studio/api-contract@sha256:a83ada9b4da83a9d

The line at the top of this page pins the label git:20260927.f32d805, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_f4czfm5esia2ugbf.svg)](https://markdownregistry.com/a/art_f4czfm5esia2ugbf)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Sep 16, 2026 and Sep 27, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260927.f32d805 latest2026-09-27 f32d805 6,579 BA view · diff
git:20260926.dbae8f92026-09-26 dbae8f9 6,613 BA view · diff
git:20260926.9aadf662026-09-26 9aadf66 5,661 BA view · diff
git:20260926.79fd1392026-09-26 79fd139 4,485 BA view · diff
git:20260916.573a0272026-09-16 573a027 3,892 BA view · diff
git:20260916.1c1b7e32026-09-16 1c1b7e3 3,839 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6579 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

gonimar/claude-web-studio · 5 stars · license MIT · pushed 2026-09-27 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_f4czfm5esia2ugbf
GET https://markdownregistry.com/api/v1/resolve?ref=gonimar/claude-web-studio/api-contract
GET https://markdownregistry.com/api/v1/blob/a83ada9b4da83a9ded44d4144e8da6e8b3dea924f12b031b9344327673faae51

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from gonimar/claude-web-studio

CLAUDE.md CLAUDE.md file
gonimar/claude-web-studio · CLAUDE.md
git:20260927.56b0a9a · audit A · 5 stars
a11y-audit SKILL.md skill
gonimar/claude-web-studio · skills/a11y-audit/SKILL.md · Audits accessibility against WCAG 2.2 AA — axe-core via Playwright, Lighthouse a11y, a manual keyboard/screen-reader…
git:20260927.54cdcbc · audit A · 5 stars
adopt SKILL.md skill
gonimar/claude-web-studio · skills/adopt/SKILL.md · Brownfield onboarding — detects the real stack of an existing project (Go/PHP/Node, Angular/Vue/Nuxt, GraphQL/REST…
git:20260927.be1f3bd · audit A · 5 stars
architecture-decision SKILL.md skill
gonimar/claude-web-studio · skills/architecture-decision/SKILL.md · Creates an Architecture Decision Record (context, ≥2 options with costs, decision, consequences, verification) or…
git:20260927.f32d805 · audit A · 5 stars
architecture-review SKILL.md skill
gonimar/claude-web-studio · skills/architecture-review/SKILL.md · Cross-checks ADRs, API contracts, data model, threat model and feature specs for consistency and feasibility, with…
git:20260927.d019450 · audit A · 5 stars
backlog SKILL.md skill
gonimar/claude-web-studio · skills/backlog/SKILL.md · Records an idea, wish or suggestion that nobody has decided to act on as one line in production/backlog.md and stops —…
git:20260927.c816400 · audit A · 5 stars
brainstorm SKILL.md skill
gonimar/claude-web-studio · skills/brainstorm/SKILL.md · Explores a product or web-game idea before specification — audience, problem, competitors, constraints…
git:20260927.f32d805 · audit A · 5 stars
changelog SKILL.md skill
gonimar/claude-web-studio · skills/changelog/SKILL.md · Generates or updates CHANGELOG.md from Conventional Commits since the last tag (Keep a Changelog format, SemVer bump…
git:20260927.f32d805 · audit A · 5 stars
code-review SKILL.md skill
gonimar/claude-web-studio · skills/code-review/SKILL.md · Reviews the branch's diff (`--diff`, the PR's changes) or given files for correctness, standards, ADR adherence, OWASP…
git:20260927.d019450 · audit A · 5 stars
collaboration-protocol SKILL.md skill
gonimar/claude-web-studio · skills/collaboration-protocol/SKILL.md · The collaboration protocol every Web Studio agent follows (context first, ask, options, draft before writing…
git:20260927.d082861 · audit A · 5 stars
create-stories SKILL.md skill
gonimar/claude-web-studio · skills/create-stories/SKILL.md · Slices a feature spec into implementable vertical-slice stories (contract → backend → frontend/game → tests) with…
git:20260927.d019450 · audit A · 5 stars
data-model SKILL.md skill
gonimar/claude-web-studio · skills/data-model/SKILL.md · Designs or extends the data model — entities and relations, PostgreSQL DDL with constraints and indexes justified by…
git:20260927.d019450 · audit A · 5 stars

Every file in gonimar/claude-web-studio

Other files named api-contract

api-contract SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/api-contract/SKILL.md · 统一接口协议、请求响应、错误码、兼容性与上下游协作约束。 当架构师、前后端开发或 QA 需要锁定 API 合同时使用。
git:20260512.6523792 · audit A · 1,352 stars
api-contract SKILL.md skill
eugenelim/agent-ready-repo · packs/contracts/.apm/skills/api-contract/SKILL.md · Use when generating an OpenAPI 3.1 API contract from requirements, user stories, or domain models. Applies a pluggable…
git:20260829.fd59e28 · audit A · 25 stars

Browse by kind, by grade A, or by owner.