π¦ ClawHub
Frontend Backend Flow Test
by @dlawnsdk
Audit-first frontend-backend contract analyzer for static API compatibility checks. Compare frontend request behavior with backend endpoint contracts, DTO hi...
TERMINAL
clawhub install frontend-backend-flow-testπ About This Skill
name: frontend-backend-flow-test description: Audit-first frontend-backend contract analyzer for static API compatibility checks. Compare frontend request behavior with backend endpoint contracts, DTO hints, query/body/auth expectations, and produce actionable mismatch reports. Supports Spring-style Java/Kotlin backends, baseline Node/Express route extraction, and baseline PHP/Laravel route extraction. Use when validating whether web/mobile/admin clients still match backend APIs after refactors, release prep, or regression review. Live API verification is secondary and limited; do not use this skill as a production-safe write tester or full E2E framework.
Frontend-Backend Flow Test
Use this skill as an audit-first contract checker.
Primary purpose:
Secondary purpose:
Default workflow
1. Run static audit first with scripts/audit_contracts.py
2. Read the generated Markdown and JSON reports
3. Fix high-severity contract mismatches before considering live checks
4. Use live verification only for narrow follow-up validation in dev/staging
Core command
python3 scripts/audit_contracts.py \
--frontend /path/to/frontend \
--backend /path/to/backend \
--output-dir ./out/audit \
--exclude .dart_tool,coverage \
--format both \
--fail-on high
What this skill is good at
What this skill is not
Current extraction coverage
Frontend
fetch(...)Backend
Reporting expectations
Expect findings such as:
missing-backend-endpointmethod-mismatchpath-mismatchquery-hint-mismatchbody-hint-mismatchresponse-hint-mismatchauth-hint-mismatchbackend-only-endpointTreat the report as a prioritized contract-audit output, not as runtime proof that a user flow succeeds.
References
Read these only when needed: