tyroneross/build-loop/api-registry-bridge
Claude Code and agent skill by tyroneross/build-loop
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when Phase 1 Assess or Phase 5 Iterate detects a new API dependency, API config fails, or the user asks to "register this API" or "check the API registry". Consults api-registry plugin; degrades gracefully if plugin is absent. NOT for PRD strategic grounding (use `prd-bridge`) or UI verification (use `ibr-bridge`).
Install
npx vskill@latest install tyroneross/build-loop/api-registry-bridgeSKILL.md
The same SKILL.md was published earlier as tyroneross/build-loop/api-registry-bridge.
api-registry-bridge (inside build-loop)
Activation
- Assess phase: new API detected in dep diff (new package added to
package.json/requirements.txt) or new vendor-prefixed env key in.env.example. Also runs unconditionally as a cheap doc-freshness check (see §"Phase 1 doc-freshness check"). - Iterate phase: API config attempt fails with 401/403/404/timeout/auth error.
Contract
- Check
~/.api-registry/registry.dbexists.
- If not: log
api-registry not present — skipping source verificationand continue build-loop flow. No failure.
- Extract service name from failure message or dep diff.
- Invoke
/api-registry:lookup <name>.
- If
found: trueanddeprecated_notespresent: HALT iteration; surface the warning to the user BEFORE retry. - If
stale_warning: true: suggest/api-registry:refresh <name>but don't block. - If
cooldown.install_blocked: true: see §"New-dependency cooldown".
- If config question remains, invoke
/api-registry:docs <name> <specific config question>.
- api-registry answers from its local doc cache first; Context7 is the fallback path only.
- If lookup returns
found: false: prompt user once per build-loop run to add the service. Don't re-prompt on every iteration.
Phase 1 doc-freshness check
At the start of Phase 1 Assess, after the registry-present check:
- Read
~/.api-registry/staleness.json(written by api-registry's SessionStart hook /staleness.ts --marker).
- Absent or unreadable → skip silently.
- If any
stale[]entry names a service relevant to this build (its package appears in the dep manifest, or it is aprotocol-category source and the build touches MCP), the doc is stale (last_checked> 7 days). - Refresh stale docs in-session before planning: for each relevant stale doc, invoke
/api-registry:docs <service> <topic>so the cache is re-verified/re-curated before the plan is drafted. This keeps Phase 2 planning grounded in current docs, not a stale cache. - This is advisory — never blocks the build. Log what was refreshed; route the summary to the run report.
New-dependency cooldown
When Assess detects a newly added third-party package:
/api-registry:lookup <name>returns acooldownblock.- If
cooldown.install_blocked: true(latest version released < 7 days ago, service notauthor_owned):
- Surface the
cooldown.reasonto the user. - The
pre_bash_dependency_cooldown.shPreToolUse hook is the enforcement point — it already rewrites/denies fresh installs at the Bash boundary. The registry verdict is the advisory signal that explains why a hook rewrite happened; it does not replace the hook. author_owned: trueservices (the scope(s)/repos configured independencyCooldown.allowlist, plus the user's own projects) are exempt —cooldown.install_blockedis alwaysfalsefor them, matching the hook's allowlist. The default allowlist ships pinned to the maintainer's own npm scope; setdependencyCooldown.allowlistto your own scope(s) so this exemption applies to packages you own rather than the maintainer's.
- The 7-day registry cooldown window and the hook's 7-day install cooldown are deliberately the same number (supply-chain dwell time). If they ever diverge, the hook is authoritative for enforcement; the registry is authoritative for explanation.
What this does NOT do
- Does not modify the registry (except via
/api-registry:docs, which re-curates the cache by design — that is the cache staying fresh, not the bridge mutating registry metadata). - Does not block the build if api-registry is absent.
- Does not fabricate URLs.
- Does not duplicate the cooldown enforcement — that is
pre_bash_dependency_cooldown.sh's job.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-registry-bridge/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tyroneross/build-loop/api-registry-bridge)