API Review

This skill standardizes how to do an API design review (not code style).

Inputs (ask for these if missing)

Workflow

1) Identify the API surface

Produce a short inventory:

2) Pull authoritative guidelines by section (TOC anchor)

When reviewing against a long doc (e.g., “API Design Guidelines”), avoid loading the whole doc.

Rule: retrieve the relevant section by heading anchor, then cite it.

If osgwiki-cli supports TOC + section retrieval (preferred deterministic model):

Interpretation:

If TOC/section retrieval is not available, fall back to manual excerpting with exact headings and quotes.

3) Evaluate with the checklist (severity-tagged)

Classify findings:

Checklist (apply only what’s relevant):

4) Output as a review comment/report

Use this structure:

API Review Summary

Surface Inventory

Findings

Guideline Citations

Suggested shape

Notes