brain_consult
Run this mandatory pre-flight check before coding to surface project rules, required specs, known pitfalls, and verified snippets, preventing repeated mistakes.
Instructions
MANDATORY PRE-FLIGHT CHECK: Call this before writing, designing, or refactoring code. Returns:
Active project rules & hard constraints
Prerequisite specifications you MUST inspect before coding
Known AI blind spots (previous traps & working vaccines)
Golden Patterns (verified working code snippets to use directly)
Args: context: The topic, stack, or task description (e.g., 'php mysql pdo', 'react button design', 'authentication') project: Project name/slug or 'global'
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": {
"context": "<context>"
},
"name": "brain_consult"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| project | No | global |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |