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.
python-code-formatting - Skill - OpenSmartRoute
Skillv1.0.0
python-code-formatting
description: Sets code formatting rules for Python projects using Black and Pylint and following PEP 8. globs: **/*.py --- - Use Black for code formatting. - Use Pylint for linting.
Instruction file imported from guigeng/cursor-template (.cursor/rules/awesome-cursor-rules-mdc/python-github-setup-cursorrules-prompt-file/python-code-formatting.mdc). Copyright stays with the author.
description: Sets code formatting rules for Python projects using Black and Pylint and following PEP 8.
globs: **/*.py
Use Black for code formatting.
Use Pylint for linting.
Follow PEP 8 and project-specific rules.
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": "guigeng-cursor-template-python-code-formatting-rule",
"kind": "skill",
"name": "python-code-formatting",
"description": "description: Sets code formatting rules for Python projects using Black and Pylint and following PEP 8. globs: **/*.py --- - Use Black for code formatting. - Use Pylint for linting. - Follow PEP 8 and project-specific rules.",
"publisher": "guigeng",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"description: Sets code formatting rules for Python projects using Black and Pylint and following PEP 8. globs: **/*.py --- - Use Black for code formatting. - Use Pylint for linting. - Follow PEP 8 and project-specific rules."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/guigeng/cursor-template",
"path": ".cursor/rules/awesome-cursor-rules-mdc/python-github-setup-cursorrules-prompt-file/python-code-formatting.mdc",
"ref": "bcf03ad6a37b3e8549b02b0249b076e18e936757",
"url": "https://github.com/guigeng/cursor-template/blob/bcf03ad6a37b3e8549b02b0249b076e18e936757/.cursor/rules/awesome-cursor-rules-mdc/python-github-setup-cursorrules-prompt-file/python-code-formatting.mdc",
"key": "guigeng/cursor-template/.cursor/rules/awesome-cursor-rules-mdc/python-github-setup-cursorrules-prompt-file/python-code-formatting.mdc"
}
},
"instructions": "---\ndescription: Sets code formatting rules for Python projects using Black and Pylint and following PEP 8.\nglobs: **/*.py\n---\n- Use Black for code formatting.\n- Use Pylint for linting.\n- Follow PEP 8 and project-specific rules.",
"cost": {
"context_tokens": 57
}
}
Fetch it by URL: GET /api/v1/registry/guigeng-cursor-template-python-code-formatting-rule/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.