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.
formatting - Skill - OpenSmartRoute
Skillv1.0.0
formatting
Format with vp fmt before committing. Use when editing source or making git commits.
Instruction file imported from nickytonline/nickytdotco (.github/instructions/formatting.instructions.md). Copyright stays with the author.
Formatting before commits
Netlify npm run build runs vp fmt --check . first. Unformatted files fail the deploy (Redirect rules / Header rules / Pages changed all go red).
Run vp fmt . (or npm run format) on changed files, then vp fmt --check ..
Use the Vite+ CLI (vp fmt), not bare oxfmt. Bare Oxfmt ignores vite.config.ts (printWidth: 80, quotes, trailing commas).
This repo does have a pre-commit hook: .vite-hooks/pre-commit runs vp staged after vp config (prepare script). Cursor Cloud overrides core.hooksPath, so that hook often does not run here — format manually in the same turn as git commit.
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/nickytonline-nickytdotco-formatting-instructions/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.
{
"ocm": "1",
"id": "nickytonline-nickytdotco-formatting-instructions",
"kind": "skill",
"name": "formatting",
"description": "Format with vp fmt before committing. Use when editing source or making git commits.",
"publisher": "nickytonline",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Format with vp fmt before committing. Use when editing source or making git commits."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/nickytonline/nickytdotco",
"path": ".github/instructions/formatting.instructions.md",
"ref": "603ed44d43ef990c447763e6d6b4b91a99a4cb1d",
"url": "https://github.com/nickytonline/nickytdotco/blob/603ed44d43ef990c447763e6d6b4b91a99a4cb1d/.github/instructions/formatting.instructions.md",
"key": "nickytonline/nickytdotco/.github/instructions/formatting.instructions.md"
},
"applies_to": "**/*.{js,ts,tsx,jsx,astro,mjs,cjs,json,css,html,yml,yaml}"
},
"instructions": "# Formatting before commits\n\nNetlify `npm run build` runs `vp fmt --check .` first. Unformatted files fail the deploy (Redirect rules / Header rules / Pages changed all go red).\n\n1. Run `vp fmt .` (or `npm run format`) on changed files, then `vp fmt --check .`.\n2. Use the Vite+ CLI (`vp fmt`), not bare `oxfmt`. Bare Oxfmt ignores `vite.config.ts` (`printWidth: 80`, quotes, trailing commas).\n3. This repo **does** have a pre-commit hook: `.vite-hooks/pre-commit` runs `vp staged` after `vp config` (`prepare` script). Cursor Cloud overrides `core.hooksPath`, so that hook often does not run here — ",
"cost": {
"context_tokens": 162
}
}
Fetch it by URL: GET /api/v1/registry/nickytonline-nickytdotco-formatting-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.