register_style_convention
Define and store coding style conventions for consistency across projects. Specify name, description, language, examples, and metadata to standardize code formatting practices.
Instructions
Register a coding style convention.
Args: name: Name of the convention description: Description of the convention language: Programming language examples: Example code snippets demonstrating the convention metadata: Additional metadata as key-value pairs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | Yes | ||
examples | No | ||
language | No | ||
metadata | No | ||
name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"title": "Description",
"type": "string"
},
"examples": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Examples"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Language"
},
"metadata": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Metadata"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"name",
"description"
],
"title": "register_style_conventionArguments",
"type": "object"
}