| name | backend-api-contracts |
| description | Use when a contributor PR changes Hushhtech API request or response behavior, route semantics, or page-to-API contract alignment. |
Hushhtech Backend API Contracts Skill
Purpose and Trigger
- Primary scope:
backend-api-contracts
- Trigger on request/response shape review, route semantics, and page-to-API contract alignment during PR triage or patch-and-merge review.
- Avoid overlap with
backend, repo-operations, and frontend.
Coverage and Ownership
- Role:
spoke
- Owner family:
backend
Owned repo surfaces:
api/public-investor-profile.js
api/google-wallet-pass.js
api/wallet-pass.js
api/delete-account.js
api/career-application.js
api/metrics
api/analytics
docs/reference/architecture/api-contracts.md
Non-owned surfaces:
backend
quality-contracts
security-audit
frontend
Do Use
- Reviewing API wire-shape and route behavior changes.
- Deciding whether a small contract correction is safe for maintainer patching.
- Keeping page-to-API expectations aligned with route behavior.
Do Not Use
- Broad backend intake when the issue is not clearly a contract problem.
- CI pipeline debugging.
- Security review as the primary concern.
Read First
docs/reference/architecture/api-contracts.md
server.js
package.json
Workflow
- Treat the route behavior and its calling surface as one contract.
- Reject patch-and-merge when the change would alter contract intent in a broad or risky way.
- Escalate to
security-audit when the route behavior is privileged or fail-closed.
Handoff Rules
- Route broad backend intake back to
backend.
- Route final PR bucket selection back to
oss-contribution-triage.
- Route proof selection to
quality-contracts.
- Route sensitive privileged-route changes to
security-audit.
Required Checks
npm test
npx tsc --noEmit
npm run build:web