/selamy-skills:rest-resource-modelingfrom selamy-skills
Use when designing or reviewing a REST/HTTP API: resource names, paths, verbs, status codes, and the contract. Enforces Richardson Maturity Model Level 2 as the deliberate ceiling, plural single-word resource nouns, and schema-first OpenAPI.
Ships in selamy-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A sharp, opinionated REST taste. This is a focused complement to a broader api-and-interface-design guide — it does not re-home that content; it is the specific, enforceable REST opinion set. Cross-reference the broader guide for non-REST interface concerns.
Design to RMM Level 2 and stop there on purpose:
GET is safe + cacheable (no side effects). PUT/DELETE are idempotent. POST creates/acts. PATCH partial-updates.Location on create), 4xx client error (400/401/403/404/409/422 meaningfully distinguished), 5xx server error. Never 200-with-an-error-body.Resources are plural, single-word nouns. Paths nest by ownership:
GET /runs
GET /runs/{id}
GET /runs/{id}/jobs
POST /runs/{id}/jobs
Hard rules:
POST /createRun is wrong → POST /runs. The verb is the HTTP method./workflow-runs is a smell with exactly two cures: (a) nest it under its parent — /workflows/{id}/runs — or (b) the domain model needs a better single word. Pick one; never ship the hyphen.{error: {code, message, details}}) — one shape, everywhere./v1 vs header); default to a major-version URI prefix for product APIs; never break a shipped contract silently./getRuns, /run/create)./workflow-runs, /user-profiles)./run for a list).A telemetry/admin API was built to exactly this spec (schema-first OpenAPI, RMM L2, plural single-word resource paths) — use it as the worked example (consult the sanitized public reference). New services should scaffold schema-first and run a plural-single-word-noun path lint as a cheap CI check that ratchets the convention.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selamy-labs/agent-skills --plugin selamy-skills111 skills in this plugin
/adaptive-estimationUse when tracking a slowly-varying latent quantity from noisy measurements with quantifiable uncertainty — a drifting metric, capacity, latency trend, or confidence. Prefer a Kalman-style adaptive estimator over fixed moving averages or static thresholds./adaptive-loop-budgetingUse when an autonomous loop needs explicit limits on attempts, time, cost, tool calls, verification depth, or risk, and a clear stop, continue, yield, or escalate decision./adopt-and-deleteUse when adopting a shared module, library, chart, or service, or doing any consolidation, migration, or refactor that supersedes existing code. The change that adds the replacement must REMOVE what it replaced, in the same atomic change.Other plugins' skills for the same job