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.
Instruction file imported from tekiristanbul/tekir (.github/instructions/migrations.instructions.md). Copyright stays with the author.
migrations and seed data
migrations are forward-only and immutable: never edit an existing migration; add the next migration.
use constraints to prevent invalid states and avoid postgres enums.
verify migration up from an empty database and upgrade from the current schema with representative existing data.
keep seed execution idempotent and deterministic.
add rollback logic only when the repository's migration system supports it and the change can be reversed safely.
fail explicitly rather than silently discarding or rewriting ambiguous existing data.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "tekiristanbul-tekir-migrations-instructions",
"kind": "skill",
"name": "migrations",
"description": "migrations and seed data",
"publisher": "tekiristanbul",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"migrations and seed data"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/tekiristanbul/tekir",
"path": ".github/instructions/migrations.instructions.md",
"ref": "cc316b8c4685d9f9911a38c562403323ad7a113d",
"url": "https://github.com/tekiristanbul/tekir/blob/cc316b8c4685d9f9911a38c562403323ad7a113d/.github/instructions/migrations.instructions.md",
"key": "tekiristanbul/tekir/.github/instructions/migrations.instructions.md"
},
"applies_to": "backend/db/migrations/**/*.sql,backend/db/seed/**/*.sql,backend/cmd/seed/**/*.go"
},
"instructions": "# migrations and seed data\n\n- migrations are forward-only and immutable: never edit an existing migration; add the next migration.\n- use constraints to prevent invalid states and avoid postgres enums.\n- verify migration up from an empty database and upgrade from the current schema with representative existing data.\n- keep seed execution idempotent and deterministic.\n- add rollback logic only when the repository's migration system supports it and the change can be reversed safely.\n- fail explicitly rather than silently discarding or rewriting ambiguous existing data.",
"cost": {
"context_tokens": 143
}
}
Fetch it by URL: GET /api/v1/registry/tekiristanbul-tekir-migrations-instructions/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.