Quick health check for Constellation connectivity and authentication
From constellationnpx claudepluginhub shiftinbits/constellation-claude --plugin constellationhaiku/diagnoseDiagnoses compilation errors, runtime errors, performance issues, and analyzes logs in ADVPL/TLPP code from files, error messages, or Protheus log files. Outputs issues by severity, fixes, and preventive advice.
/diagnoseInitiates Dr. Ralph's multi-phase diagnostic workflow: interviews user on symptoms, researches via web, generates differential diagnosis, treatment plan, and SOAP report with running notes.
/diagnoseDiagnoses FilamentPHP v4 errors and issues by parsing descriptions, consulting docs, analyzing logs/caches/code, and providing root causes with code fixes.
/diagnoseSystematic debugging and refactor analysis. Diagnosis before prescription. Bug mode: reproduce, trace, isolate, hypothesize, diagnose. Refactor mode: map, trace deps, measure coupling, risks, diagnose.
/diagnoseComprehensive Neovim diagnostics - errors, keymap conflicts, performance issues
IMPORTANT: Do NOT invoke any skills or other commands. Directly call the MCP tool specified below.
Run a quick Constellation health check by calling mcp__plugin_constellation_constellation__code_intel with this code:
const result = await api.getArchitectureOverview({ includeMetrics: true });
return {
success: result.success,
error: result.error,
project: result.data?.projectName,
files: result.data?.metrics?.totalFiles,
symbols: result.data?.metrics?.totalSymbols
};
Interpret the response and report:
Constellation Health Check
===========================
MCP Server: UNREACHABLE
API Auth: -
Issue: The Constellation MCP server is not running or not configured.
Quick Fixes:
1. Restart Claude Code to reinitialize MCP connections
2. Verify npm can run: npx @constellationdev/mcp@latest --version
3. Check .mcp.json configuration in the plugin directory
result.success is true:Constellation Health Check
===========================
MCP Server: OK
API Auth: OK
Project: <project name>
Index: <files> files, <symbols> symbols
All systems operational.
result.success is false, check result.error.code:AUTH_ERROR:
Constellation Health Check
===========================
MCP Server: OK
API Auth: FAILED
Issue: Authentication failed - API key missing or invalid.
Quick Fix: Run `constellation auth` to configure credentials.
PROJECT_NOT_INDEXED:
Constellation Health Check
===========================
MCP Server: OK
API Auth: OK
Project: Not indexed
Issue: This project hasn't been indexed yet.
Quick Fix: Run `constellation index --full` in your project directory.
API_UNREACHABLE:
Constellation Health Check
===========================
MCP Server: OK
API Auth: UNREACHABLE
Issue: Cannot reach the Constellation API server.
Quick Fixes:
1. Check network connectivity
2. Verify API URL in constellation.json
3. For self-hosted: ensure API is running at configured URL
Other errors:
Constellation Health Check
===========================
MCP Server: OK
API Auth: ERROR
Code: <error.code>
Message: <error.message>
Guidance: <error.guidance if available>
Keep the response brief and actionable.