generate_rules
Generate architectural rules from ADRs and code patterns to enforce consistency and avoid duplication.
Instructions
Generate architectural rules from ADRs and code patterns
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source for rule generation | both |
| projectPath | No | Path to project for pattern analysis | . |
| adrDirectory | No | Directory containing ADR files | docs/adrs |
| outputFormat | No | Output format for rules | json |
| existingRules | No | Existing rules to avoid duplication |