Agent skill · Security

audit-api-consistency

Audit existing API endpoints for consistency when the user asks to check API quality, review API patterns, audit endpoints, or find API inconsistencies

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill audit-api-consistency --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0.0
Declared author: chalk
Allowed tools: ReadGlobGrepBash
Path: skills/api/audit-api-consistency/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Audit API Consistency ## Overview Scan the codebase for API route definitions and analyze them for consistency across naming, HTTP method usage, error response shapes, pagination, auth patterns, and versioning. Produce a structured report with severity-rated findings and concrete fix recommendations. This is an audit skill -- it analyzes what exists, it does not create new APIs. ## Workflow 1. **Read project context** -- Read `.chalk/docs/engineering/` for: - Existing API design documents that define the intended conventions - Architecture docs describing the API layer - Any API style guides or conventions documents - Prior audit reports to check if previously flagged issues were resolved 2. **Discover route definitions** -- Scan the codebase to find all API endpoints: - Use Grep to search for route registration patterns: - Express/Koa: `router.get`, `router.post`, `app.use`, etc. - Django: `path(`, `url(`, `@api_view` - Spring: `@GetMapping`, `@PostMapping`, `@RequestMapping` - FastAPI: `@app.get`, `@router.post` - Rails: `resources :`, `get '`, `post '` - Next.js: files in `app/api/` or `pages/api/` - Build a complete inventory of endpoints with: method, path, handler file, and

What's inside
Steps it walks through
  1. Overview
  2. Workflow
  3. Consistency Categories
  4. 1. URL Naming Patterns
  5. 2. HTTP Method Usage
  6. 3. Error Response Format
  7. 4. Pagination Approach
  8. 5. Authentication and Authorization
  9. 6. Versioning
  10. 7. Response Envelope
  11. Report Format
  12. Scanning Strategy
  13. Anti-patterns
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the audit-api-consistency skill do?

Audit existing API endpoints for consistency when the user asks to check API quality, review API patterns, audit endpoints, or find API inconsistencies

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill audit-api-consistency --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going