dart-type-bridger
Syncs a local FastAPI OpenAPI file to Dart model stubs and reads Firestore schema hints for Flutter projects. Use when writing Flutter repositories against FastAPI or Firebase backends.
How do I install this agent skill?
npx skills add https://github.com/heyeddi-com/heyeddi-skills --skill dart-type-bridgerIs this agent skill safe to install?
- Gen Agent Trust Hubfail
The skill is generally safe and incorporates security best practices such as path traversal prevention and avoiding direct remote network requests. It processes local schema files (OpenAPI and Firestore) to generate Dart code, which represents an architectural surface for indirect prompt injection if those files contain malicious content.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Dart Type Bridger
When to use
- Flutter 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. 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 models:
python scripts/sync_openapi.py --project-root <root>: writeslib/models/api_models.dartfrom localopenapi.jsononly (optional--openapi path/rel.json). -
Firebase:
python scripts/fetch_firestore_schema.py --project-root <root> -
Import generated models in repositories: never guess field names.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/heyeddi-com/heyeddi-skills/dart-type-bridger">View dart-type-bridger on skillZs</a>