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.
code-structure - Skill - OpenSmartRoute
Skillv1.0.0
code-structure
Separate concepts vertically. - Related code should appear vertically dense. - Declare variables close to their usage. - Dependent functions should be close. - Similar functions should be close. - Pla
Instruction file imported from boukhrisoussama/soccer-players-stats (.github/instructions/code-structure.instructions.md). Copyright stays with the author.
Separate concepts vertically.
Related code should appear vertically dense.
Declare variables close to their usage.
Dependent functions should be close.
Similar functions should be close.
Place functions in the downward direction.
Keep lines short.
Don't use horizontal alignment.
Use white space to associate related things and disassociate weakly related.
Don't break indentation.
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/boukhrisoussama-soccer-players-stats-code-structure-inst-104b42/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": "boukhrisoussama-soccer-players-stats-code-structure-inst-104b42",
"kind": "skill",
"name": "code-structure",
"description": "Separate concepts vertically. - Related code should appear vertically dense. - Declare variables close to their usage. - Dependent functions should be close. - Similar functions should be close. - Place functions in the downward direction. - Keep lines short. - Don't use horizontal alignment. - Use white space to associate related things and disassociate weakly related. - Don't break indentation.",
"publisher": "boukhrisoussama",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Separate concepts vertically. - Related code should appear vertically dense. - Declare variables close to their usage. - Dependent functions should be close. - Similar functions should be close. - Place functions in the downward direction. - Keep lines short. - Don't use horizontal alignment. - Use white space to associate related things and disassociate weakly related. - Don't break indentation."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/boukhrisoussama/soccer-players-stats",
"path": ".github/instructions/code-structure.instructions.md",
"ref": "66078ae97c8a2b0dc2555910c97890b491f615c8",
"url": "https://github.com/boukhrisoussama/soccer-players-stats/blob/66078ae97c8a2b0dc2555910c97890b491f615c8/.github/instructions/code-structure.instructions.md",
"key": "boukhrisoussama/soccer-players-stats/.github/instructions/code-structure.instructions.md"
}
},
"instructions": "- Separate concepts vertically.\n- Related code should appear vertically dense.\n- Declare variables close to their usage.\n- Dependent functions should be close.\n- Similar functions should be close.\n- Place functions in the downward direction.\n- Keep lines short.\n- Don't use horizontal alignment.\n- Use white space to associate related things and disassociate weakly related.\n- Don't break indentation.",
"cost": {
"context_tokens": 100
}
}
Fetch it by URL: GET /api/v1/registry/boukhrisoussama-soccer-players-stats-code-structure-inst-104b42/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.