Audit API Coverage
Track which Andamio Gateway API endpoints are implemented in the app.
Purpose
This skill answers one question: "Which API endpoints have hooks/implementations?"
For hook patterns, creating hooks, or auditing hook quality, use /hooks-architect instead.
Quick Links
| Resource | Description |
|---|---|
| API Docs | Live Swagger UI |
| OpenAPI Spec | Machine-readable spec |
Reference Files
| File | Purpose |
|---|---|
| api-coverage.md | Endpoint-by-endpoint implementation status |
| unified-api-endpoints.md | Full list of gateway endpoints |
| tx-state-machine.md | TX registration and polling flow |
Coverage Summary
| Category | Total | Implemented | Coverage |
|---|---|---|---|
| Authentication | 6 | 6 | 100% |
| API Key | 6 | 6 | 100% |
| Courses | 41 | ~28 | ~68% |
| Projects | 17 | ~14 | ~82% |
| TX: All | 21 | 21 | 100% |
| Admin | 4 | 0 | 0% |
| User Mgmt | 4 | 1 | 25% |
Overall: ~71% of endpoints have implementations.
Running the Audit
Quick Check
bash
# Run the audit script npx tsx .claude/skills/audit-api-coverage/scripts/audit-coverage.ts
Manual Check
For a specific endpoint category, check api-coverage.md and look for:
- •
DONE- Implemented and hooked - •
TODO- Not yet implemented - •
SKIP- Deprecated or not needed
Key Directories
| Directory | Contents |
|---|---|
src/hooks/api/course/ | Course endpoint hooks |
src/hooks/api/project/ | Project endpoint hooks |
src/lib/andamio-auth.ts | Auth endpoint implementations |
src/config/ | Transaction endpoint config |
Related Skills
| Skill | When to Use |
|---|---|
/hooks-architect | For hook patterns, creating hooks, auditing hook quality |
/transaction-auditor | TX schema sync with gateway spec |
/typescript-types-expert | Type issues with API responses |
When to Update Coverage
Update api-coverage.md when:
- •A new hook is created that covers an endpoint
- •The gateway adds new endpoints (check OpenAPI spec)
- •An endpoint is deprecated or removed
Migration Note
Hook patterns and rules have moved to /hooks-architect.
This skill now focuses purely on endpoint coverage metrics. For:
- •Learning hook patterns →
/hooks-architectLearn mode - •Creating new hooks →
/hooks-architectImplement mode - •Auditing hook quality →
/hooks-architectAudit mode - •Extracting API calls →
/hooks-architectExtract mode
Last Updated: January 28, 2026