You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve...
Formal theorem proving with research, testing, and verification phases
Graceful Degradation with Helpful Messages
Debug issues by investigating logs, database state, and git history
Agentic Workflow Pattern
MCP Script Rules
Query the memory system for relevant learnings from past sessions
Deterministic router for math cognitive stack - maps user intent to exact CLI commands
AI-powered web search, research, and reasoning via Perplexity
Unit-aware computation with Pint - convert units, dimensional analysis, unit arithmetic
Index at Creation Time
Implement technical plans from thoughts/shared/plans with verification
A complete skill for E2E testing
Guide to the math cognitive stack - what tools exist and when to use each
Hook Development Rules
Never Use TaskOutput
Create or update continuity ledger for state preservation across clears
No Polling for Background Agents
Validation agent that validates plan tech choices against current best practices
Idempotent Redundancy