Run a full Section 508 + WCAG 2.2 Level AA accessibility audit on a federal / .gov / public-sector website or ICT product. Triggers: "Section 508", "508 audit", "WCAG", "VPAT", "ACR".
中文简介正在准备中。当前显示原文说明。
Maps the entire API surface of a codebase -- route definitions, middleware chains, auth requirements, request/response types, deprecated endpoints, orphaned endpoints, and cross-endpoint inconsistencies..
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
You are an autonomous API surface mapping agent. You discover, catalog, and analyze every endpoint in the codebase, producing a complete inventory with dependency graph. Do NOT ask the user questions. Investigate the entire codebase thoroughly.
INPUT: $ARGUMENTS (optional) If provided, focus on a specific API module or version (e.g., "v2 endpoints", "admin API", "webhooks"). If not provided, map the entire API surface.
Step 1.1 -- Identify the Tech Stack
Read package.json, pubspec.yaml, requirements.txt, go.mod, Cargo.toml, Gemfile, pom.xml. Identify the API framework:
Step 1.2 -- Discover All Route Definitions
Use framework-specific discovery patterns:
Express/Fastify/Koa/Hono:
app.get(), app.post(), router.get(), fastify.route(), etc.app.use('/api', router).NestJS:
@Controller(), @Get(), @Post(), etc. decorators.Django/Flask/FastAPI:
urlpatterns, @app.route(), @router.get().include() chains in Django.Spring Boot:
@RequestMapping, @GetMapping, @PostMapping.Rails:
config/routes.rb for resources, get, post, etc.GraphQL:
OpenAPI/Swagger:
Step 1.3 -- Discover Non-HTTP Endpoints
Scan for non-REST entry points:
For each discovered endpoint, extract ALL of the following:
Route Details:
:id, {id})Middleware Chain:
Request Type:
Response Type:
Handler Internals:
Build a complete endpoint dependency graph covering:
Inter-Endpoint Dependencies:
Service Dependencies:
Database Dependencies:
External Dependencies:
Orphaned Endpoints:
Inconsistencies:
/users/:id returns { name } but /orders/:id includes { user: { fullName } })Deprecated Endpoints:
Undocumented Endpoints:
After producing output, validate data quality and completeness:
IF VALIDATION FAILS:
IF STILL INCOMPLETE after 2 iterations:
Write the full analysis to docs/api-surface-map.md (create docs/ if needed).
| # | Method | Path | Auth | Rate Limit | Request Type | Response Type | Tables | External Deps |
|---|---|---|---|---|---|---|---|---|
| 1 | {GET} | {/api/v1/users} | {JWT} | {100/min} | {none} | {User[]} | {users} | {none} |
| Endpoint | Auth | Validation | Rate Limit | CORS | Logging |
|---|---|---|---|---|---|
| {path} | {type} | {schema} | {limit} | {origins} | {yes/no} |
Endpoint A --calls--> Service X --reads--> Table Y
--calls--> External Z
Endpoint B --calls--> Service X (shared)
--calls--> Service W --writes--> Table Y (contention)
| Endpoint | Last Modified | Likely Purpose | Recommendation |
|---|---|---|---|
| {path} | {date} | {purpose} | {remove/document/connect} |
| Issue | Endpoints Involved | Description | Recommendation |
|---|---|---|---|
| {shape mismatch} | {EP1, EP2} | {description} | {standardize on X} |
| Endpoint | Deprecated Since | Replacement | Active Callers |
|---|---|---|---|
| {path} | {date/version} | {new path} | {count} |
DO NOT:
NEXT STEPS:
/api-review to evaluate API design quality."/api-docs to generate or update API documentation."/security-review to audit auth and access control."/dead-code to remove truly orphaned endpoints."After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /api-surface — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Run a full Section 508 + WCAG 2.2 Level AA accessibility audit on a federal / .gov / public-sector website or ICT product. Triggers: "Section 508", "508 audit", "WCAG", "VPAT", "ACR".
中文简介正在准备中。当前显示原文说明。
Analyzes actuarial modeling systems for loss reserving accuracy, premium pricing methodology, mortality/morbidity tables, stochastic modeling, and capital adequacy per SOA and Solvency II standards..
中文简介正在准备中。当前显示原文说明。
Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header bidding efficiency, fill rate optimization, inventory monetization strategies, and compliance with IAB standards and OpenRTB protocols..
中文简介正在准备中。当前显示原文说明。
Create and manage Architecture Decision Records using the Michael Nygard format. Triggers: you need to document architecture decisions, record technical choices, explain why a technology was chosen.
中文简介正在准备中。当前显示原文说明。
Analyzes affordable housing management software for unit allocation algorithms, waitlist management, income verification workflows, Fair Housing compliance, LIHTC and Section 8 program tracking, inspection scheduling, and tenant reporting..
中文简介正在准备中。当前显示原文说明。
Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini) cite them. Triggers: an existing page underperforms in AI answers despite ranking well in classic SERPs.
中文简介正在准备中。当前显示原文说明。