api-surface SKILL.md skillA

api-surface from tinh2/skills-hub-registry is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tinh2/skills-hub-registry/api-surface@v2.0.1

Pins v2.0.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tinh2/skills-hub-registry
Path
analysis/api-surface/SKILL.md
Versions recorded
4
Latest version
v2.0.1, committed Sep 2, 2026
First version recorded
Mar 1, 2026
Size
10,370 bytes
Repository stars
20
License
none declared

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..

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

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.

============================================================
PHASE 1: STACK DETECTION & ROUTE DISCOVERY
============================================================

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:
- Node.js: Express, Fastify, Hono, Koa, NestJS
- Python: Flask, Django, FastAPI
- Java: Spring Boot
- Ruby: Rails
- Go: Gin, Echo, Chi
- Rust: Actix, Rocket, Axum
- Elixir: Phoenix

Step 1.2 -- Discover All Route Definitions

Use framework-specific discovery patterns:

**Express/Fastify/Koa/Hono:**
- Scan for `app.get()`, `app.post()`, `router.get()`, `fastify.route()`, etc.
- Follow router mounting: `app.use('/api', router)`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tinh2/skills-hub-registry/api-surface@sha256:5aef59e7b95e5a63

The line at the top of this page pins the label v2.0.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wq6xatx67dhghspd.svg)](https://markdownregistry.com/a/art_wq6xatx67dhghspd)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Mar 1, 2026 and Sep 2, 2026, about one every 62 days.

versioncommittedcommitsizeaudit
v2.0.1 latest2026-09-02 5713ecc 10,370 BA view · diff
v2.0.02026-03-18 851800b 11,338 BA view · diff
v1.0.02026-03-13 0aafe73 9,592 BA view · diff
v1.0.02026-03-01 69d4b12 7,920 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10370 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tinh2/skills-hub-registry · 20 stars · license none declared · pushed 2026-09-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wq6xatx67dhghspd
GET https://markdownregistry.com/api/v1/resolve?ref=tinh2/skills-hub-registry/api-surface
GET https://markdownregistry.com/api/v1/blob/5aef59e7b95e5a6319c3e19997c2851b140c77770e5df0c37a5d0e9c629e4510

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tinh2/skills-hub-registry

508-audit SKILL.md skill
tinh2/skills-hub-registry · analysis/508-audit/SKILL.md · Run a full Section 508 + WCAG 2.2 Level AA accessibility audit on a federal / .gov / public-sector website or ICT…
v1.0.1 · audit A · 20 stars
actuarial-modeling SKILL.md skill
tinh2/skills-hub-registry · analysis/actuarial-modeling/SKILL.md · Analyzes actuarial modeling systems for loss reserving accuracy, premium pricing methodology, mortality/morbidity…
v2.0.1 · audit A · 20 stars
ad-yield-optimization SKILL.md skill
tinh2/skills-hub-registry · analysis/ad-yield-optimization/SKILL.md · Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header…
v2.0.1 · audit A · 20 stars
affordable-housing SKILL.md skill
tinh2/skills-hub-registry · analysis/affordable-housing/SKILL.md · Analyzes affordable housing management software for unit allocation algorithms, waitlist management, income…
v2.0.1 · audit A · 20 stars
ai-citation-optimizer SKILL.md skill
tinh2/skills-hub-registry · analysis/ai-citation-optimizer/SKILL.md · Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT…
v1.0.1 · audit B · 20 stars
ai-citation-tracker SKILL.md skill
tinh2/skills-hub-registry · analysis/ai-citation-tracker/SKILL.md · Track brand mentions, URL citations, and share-of-voice across the 2026 AI search surface — ChatGPT (with browsing)…
v1.0.1 · audit A · 20 stars
alert-prioritization SKILL.md skill
tinh2/skills-hub-registry · analysis/alert-prioritization/SKILL.md · Analyzes SIEM alert pipelines for rule optimization, alert fatigue reduction, criticality scoring, asset-based…
v2.0.1 · audit A · 20 stars
analyze SKILL.md skill
tinh2/skills-hub-registry · analysis/analyze/SKILL.md · Deep cross-layer consistency audit for any codebase. Traces every feature from UI to database, finds broken wiring…
v2.0.0 · audit A · 20 stars
app-size-optimizer SKILL.md skill
tinh2/skills-hub-registry · analysis/app-size-optimizer/SKILL.md · Analyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and…
v2.0.1 · audit A · 20 stars
app-store-optimization SKILL.md skill
tinh2/skills-hub-registry · analysis/app-store-optimization/SKILL.md · Analyzes App Store and Play Store listing optimization -- keyword research, title optimization, screenshot conversion…
v2.0.1 · audit A · 20 stars
apparel-demand SKILL.md skill
tinh2/skills-hub-registry · analysis/apparel-demand/SKILL.md · Analyzes apparel demand prediction systems for trend forecasting, size curve optimization, color and style analytics…
v2.0.1 · audit A · 20 stars
asset-lifecycle SKILL.md skill
tinh2/skills-hub-registry · analysis/asset-lifecycle/SKILL.md · Analyzes asset lifecycle planning systems for capital expenditure forecasting, replacement scheduling, total cost of…
v2.0.1 · audit A · 20 stars

Every file in tinh2/skills-hub-registry

Other files named api-surface

api-surface SKILL.md skill
tamnguyendinh/anvien · internal/aicontext/skills/api-surface/SKILL.md · Use when the user asks to inspect API or MCP surfaces.
git:20260605.6f76f90 · audit A · 11 stars

Browse by kind, by grade A, or by owner.