🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

SchemGuard

by @sethclawd-prog

Detect breaking changes in OpenAPI specs. Use when reviewing API changes, validating PRs that modify API specs, checking backward compatibility, or linting O...

Versionv0.1.2
⚑ When to Use
TriggerAction
- When reviewing PRs that modify API routes
- After generating/updating OpenAPI specs from code
- Before deploying API changes to production
- Validating that a migration maintains backward compatibility
πŸ’‘ Examples

# Diff two specs (breaking vs non-breaking)
npx @sethclawd/schemaguard diff old.yaml new.yaml

CI check (exit 0=safe, 1=breaking, 2=error)

npx @sethclawd/schemaguard ci --spec ./openapi.yaml --baseline ./baseline.yaml

Lint spec quality

npx @sethclawd/schemaguard lint ./openapi.yaml

JSON output for programmatic use

npx @sethclawd/schemaguard diff old.yaml new.yaml --format json

View on ClawHub
TERMINAL
clawhub install schemaguard

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’