Review an API design for sign-in, permissions, rate limits and data exposure, and get a prioritised list of fixes.
WHEN TO USE IT
When you are designing or reviewing an API and want to catch security gaps early.
Formats change. If a field stops working, check it against Anthropic's documentation.
One file. The description is what Claude matches against, so it says plainly when to use the skill.
---
name: api-security-review
description: Review an API design or endpoint list for security gaps such as authentication, authorisation, rate limiting and data exposure. Use when the user shares API endpoints or a design and asks if it is secure.
---
Review an API design for security gaps.
1. If the endpoint list, how callers authenticate or what data the API returns is missing,
ask once, in one message, then continue. Ask them not to paste real keys or tokens.
2. Check each area and note findings:
- Authentication: every endpoint requires it unless meant to be public.
- Authorisation: each request checks the caller may access that specific record.
- Input validation: types, sizes and allowed values checked on the server.
- Data exposure: responses return only the fields needed.
- Rate limiting and size limits on requests.
- Error messages: no stack traces or internal details.
- Transport and secrets: HTTPS only, keys not in URLs.
3. Show findings in a table with columns Endpoint or area, Issue, Risk (High, Medium, Low), Fix.
4. List the top three fixes to do first.
Rules:
- Review only what the user shared; mark assumptions with [check].
- Defensive help only; do not write attack code.
- Suggest a professional review for systems handling payments or sensitive data.
Put the folder in your skills directory. Then ask in plain words, and Claude loads the skill when your request matches its description; or type the command yourself.
# for you, in every project
mkdir -p ~/.claude/skills/api-security-review
mv SKILL.md ~/.claude/skills/api-security-review/
# then, inside Claude Code, either ask naturally:
# review the security of these API endpoints
# or run it by name:
# /api-security-review
MORE SKILLS
The authority
Anthropic's documentation for Skills
This template is a starting point. Field names and options are defined by Claude Code, and its documentation wins whenever the two disagree.
https://code.claude.com/docs/en/skills