verify_code_pattern
Validates a proposed coding approach against project-approved patterns before implementation, helping developers choose correct libraries and architecture for a given scope.
Instructions
Checks whether a proposed code approach follows the project's approved patterns. Call this BEFORE implementing a feature to verify you are using the correct patterns, libraries, and architectural approaches for the given scope.
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": {
"approach": "<approach>",
"scope": "<scope>"
},
"name": "verify_code_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Which part of the codebase this applies to (e.g. 'frontend/state', 'api/auth', 'database') | |
| approach | Yes | Description of the coding approach being proposed (e.g. 'Using useState to manage form state in a multi-step wizard') |