Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Use English for main comments, Japanese for clarification if necessary.
Document public methods and classes with DartDoc style.
Naming Conventions
Classes: PascalCase
Variables, functions: camelCase
Constants: ALL_CAPS_WITH_UNDERSCORES
Widget filenames: snake_case
Widget Structure
Prefer small reusable widgets
Keep build methods concise
Use StatelessWidget when possible
State Management
Follow chosen state management (Provider, Riverpod, Bloc, etc.)
Separate UI and business logic
Testing
Write unit tests for business logic
Widget tests for UI components
Formatter & Lint
Use flutter format / dart format
Enable recommended lints (e.g., flutter_lints)
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/sora-kisaragi-vscode-github-copilot-instructions-templat-304d48/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.