Backend type bridger
HeyEddi Cursor Agent Skills hub — 20 skills, agent eval suite, git subtree distribution
npx -y skills add HeyEddi-com/skills --skill backend-type-bridgerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Syncs a local FastAPI OpenAPI file to TypeScript types and reads Firestore schema hints. Use when writing Vue composables against FastAPI or Firebase backends.
SKILL.md
1.2 KB, as published. Nobody here has run it
Backend Type Bridger
When to use
- Frontend agent needs accurate API payload shapes
- Local
openapi.json(or another OpenAPI file under the project root) - Firestore rules or schema file exists for Firebase projects
Instructions
-
Ensure a local OpenAPI file at
openapi.json(project root). Prefer the scaffolded file. If the API is running and the file is missing/stale, export to disk first (do not pass a URL into this skill):curl -fsS http://127.0.0.1:8090/openapi.json -o openapi.json -
FastAPI types:
python scripts/sync_openapi.py --project-root <root>: writessrc/types/api.tsfrom localopenapi.jsononly (optional--openapi path/rel.json). -
Firebase:
python scripts/fetch_firestore_schema.py --project-root <root> -
Import generated types in composables: never guess field names. Refine generated interfaces if OpenAPI uses
$refheavily.