convention
Store and manage project rules for coding standards. Add, get, check, or remove rules covering naming, architecture, style, patterns, and avoidances to keep code consistent.
Instructions
Project conventions. Operations:
add: Store rule (project_path, rule, category, reason, examples, importance)
get: Get rules (project_path, category)
check: Check code/filename (project_path, code_or_filename)
remove: Remove convention by matching text (project_path, rule)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>",
"project_path": "<project_path>"
},
"name": "convention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation | |
| project_path | Yes | ||
| rule | No | ||
| category | No | ||
| reason | No | ||
| examples | No | ||
| importance | No | ||
| code_or_filename | No |