/superior-skills:superior-api-securityfrom superior-skills
Implements, hardens, or reviews defensive security controls for REST APIs including authentication, authorization, validation, rate limiting, abuse prevention, SSRF defenses, and security testing.
Ships in superior-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.
Read when SKILL.md points to them.
Protect the API at the server-side trust boundary while preserving its documented contract. Base controls on the actual actors, resources, business impact, deployment topology, and existing security architecture; do not add security middleware by checklist alone.
Before changing code, identify:
Trace the effective request path. Do not assume a gateway, framework default, or client-side check enforces the requirement until configuration and behavior prove it.
For an audit or review, keep the work read-only unless the user also requests changes. Trace sensitive data from its source through authorization, serialization, caching, telemetry, and integrations to its recipients; investigate only paths relevant to the requested scope. Distinguish confirmed exposure from a plausible but unverified risk.
Read references/api-security-controls.md for authentication, object/function/property authorization, input and output boundaries, resource consumption, sensitive business flows, SSRF, browser-facing controls, errors, secrets, inventory, and third-party API consumption.
Use the linked OWASP guidance as a risk baseline, not proof of compliance. When a specific standard or assurance level is requested, identify its version and applicable requirements, and map each claim to evidence or an explicit verification gap. Check current advisories for relevant components when a known vulnerability or version-specific risk is in scope; do not send private project details to an external service without authorization.
Prioritize controls that prevent a caller from:
Preserve maintained identity, cryptography, schema-validation, and secret-management libraries. Do not invent token formats, signing schemes, password storage, or encryption protocols.
Read references/session-token-and-webhook-security.md when sessions, bearer tokens, refresh or reset credentials, API keys, signed webhooks, key rotation, revocation, or replay resistance are in scope.
Read references/rate-limiting-and-abuse-controls.md whenever rate limiting, throttling, quotas, concurrency limits, credential attacks, scraping, spam, enumeration, costly operations, or sensitive business-flow automation is in scope.
A useful limit defines all of the following:
An IP-only request count is rarely sufficient for authenticated or distributed abuse. Request rate also does not bound payload size, query complexity, batch size, execution time, downstream cost, or concurrent work.
429 Too Many Requests for an application-level rate rejection and include Retry-After when a meaningful retry time is known.Read references/security-verification.md for a threat-driven test matrix, including negative authorization, token validation, schema mutation, resource limits, limiter behavior, concurrency, SSRF, error disclosure, and proxy-boundary checks.
Security completion requires evidence at the effective enforcement point. Run the narrowest meaningful automated tests plus configuration or integration checks that exercise the deployed path. For design-only work, label tests as a proposed verification plan rather than evidence of protection. Report controls enforced elsewhere, assumptions not verified, rollout risk, and monitoring needed after release.
superior-code-review when security is one risk area in a broader diff, branch, or pull-request review.superior-logic when the work also changes business invariants, persistence, transactions, idempotency, or domain behavior.superior-database when enforcement depends on tenant-scoped schema, constraints, query ownership, indexes, migrations, or sensitive-data storage.superior-performance when security-related resource controls require representative capacity, latency, or saturation measurement.superior-delivery when the security boundary is owned by pipeline identity, artifact provenance, publication, or deployment credentials.superior-reliability when abuse, dependency failure, or recovery must preserve an explicit availability objective.superior-testing when negative-security fixtures, isolation, concurrency, or deployed-boundary test design is a primary concern.superior-docs when the security model, public contract, operational configuration, or incident-relevant procedure changes durably.superior-lean to avoid unnecessary security machinery, but never simplify away a control required by the identified risk.Do not broaden a security review into unrelated penetration testing, infrastructure changes, or production traffic experiments without explicit authorization.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kodekateam/superior-skills --plugin superior-skills19 skills in this plugin
/superior-accessibilityReview or implement interface accessibility for semantics, keyboard operation, focus, contrast, status communication, zoom, and assistive technology. Use when accessibility is explicitly requested, required by the product contract, or a changed interaction creates substantial accessibility risk. Do not activate for every visual edit or use it as a generic design audit./superior-architectureDesign, implement, or assess project structure, module ownership, dependency boundaries, and safe file or folder organization. Use when project architecture, feature placement, separation of responsibilities, or architectural refactoring is a primary concern, including new framework projects. For a read-only assessment, do not modify files unless the user also requests changes; do not activate merely because ordinary feature work adds a file./superior-code-reviewReview a code change, diff, commit, branch, or pull request for actionable defects, regressions, security risks, compatibility breaks, and missing verification. Use when code review is the primary requested outcome. Keep the review read-only unless the user explicitly asks to implement fixes; do not use as a substitute for implementation or a specialized visual audit./superior-commentsAdd, revise, or remove source-code comments while preserving executable behavior. Use for comment-only cleanup, documentation comments, TODO quality, and reducing narration. Do not use when the requested change modifies logic./superior-copywritingWrite or revise user-facing product and marketing copy with a specific voice, verifiable claims, natural rhythm, and useful actions. Use for interface labels, onboarding, landing pages, help text, and product messaging. Do not use for code comments or neutral technical documentation unless tone editing is requested./superior-databaseDesign, implement, review, or repair database schemas, queries, indexes, transactions, migrations, and backfills with explicit integrity and rollout constraints. Use when the datastore behavior or data lifecycle is a primary part of the task. Do not use for routine persistence calls whose schema and consistency contracts are unchanged.Other plugins' skills for the same job