get_architectural_context
Analyze specific files or entire projects to retrieve detailed architectural context, identify compliance needs, and automatically set up ADR infrastructure for project success.
Instructions
Get detailed architectural context for specific files or the entire project, automatically sets up ADR infrastructure if missing, and provides outcome-focused workflow for project success
Input Schema
Name | Required | Description | Default |
---|---|---|---|
conversationContext | No | Rich context from the calling LLM about user goals and discussion history | |
filePath | No | Specific file path to analyze (optional, analyzes entire project if not provided) | |
includeCompliance | No | Include compliance checks in the analysis |
Input Schema (JSON Schema)
{
"properties": {
"conversationContext": {
"additionalProperties": false,
"description": "Rich context from the calling LLM about user goals and discussion history",
"properties": {
"budget": {
"description": "Budget or resource constraints (e.g., \"limited budget\", \"enterprise scale\")",
"type": "string"
},
"constraints": {
"description": "Limitations, compliance requirements, or restrictions (e.g., [\"GDPR compliance\", \"budget under $50k\", \"minimal downtime\"])",
"items": {
"type": "string"
},
"type": "array"
},
"focusAreas": {
"description": "Specific areas of concern or interest (e.g., [\"security\", \"performance\", \"maintainability\"])",
"items": {
"type": "string"
},
"type": "array"
},
"humanRequest": {
"description": "Original human request text for context restoration and knowledge graph storage",
"type": "string"
},
"previousContext": {
"description": "Relevant context from previous conversation (e.g., \"User mentioned concerns about database splitting\")",
"type": "string"
},
"projectPhase": {
"description": "Current project phase (e.g., \"planning\", \"development\", \"migration\", \"production\")",
"type": "string"
},
"requirements": {
"description": "Specific requirements or preferences mentioned",
"items": {
"type": "string"
},
"type": "array"
},
"timeline": {
"description": "Timeline or urgency information (e.g., \"launch in 3 months\", \"urgent migration\")",
"type": "string"
},
"userGoals": {
"description": "Primary objectives the user wants to achieve (e.g., [\"microservices migration\", \"improve security\"])",
"items": {
"type": "string"
},
"type": "array"
},
"userRole": {
"description": "User's role or expertise level (e.g., \"senior architect\", \"developer\", \"project manager\")",
"type": "string"
}
},
"type": "object"
},
"filePath": {
"description": "Specific file path to analyze (optional, analyzes entire project if not provided)",
"type": "string"
},
"includeCompliance": {
"default": true,
"description": "Include compliance checks in the analysis",
"type": "boolean"
}
},
"type": "object"
}