SKILL.md spec for a coding agent — a prompt pack, not a shipped product.
navigate-compass
Adaptive Engineering Scoping & Architecture Planning
The zip contains SKILL.md, the reference notes, and the scripts.
Unzip it into the folder your agent loads skills from. For Grok, that is ~/.grok/skills/.
Keep the folder name so SKILL.md stays at the top of that folder, then start a new chat and use the command above.
- ✓ When scoping a greenfield software project from scratch.
- ✓ When planning a major redesign, architectural overhaul, or database migration.
- ✓ When decomposing large, ambiguous engineering initiatives into actionable implementation roadmaps.
- ✓ When defining clear technical architecture and dependency relationships before writing code.
Trigger: Activated when the user requests project planning, architectural design, roadmap scoping, or feature breakdowns.
"Plan a real-time collaborative whiteboarding system from scratch."
Adaptive Socratic Interview & Tri-Artifact Graph Synthesis
Comprehensive planning context with adaptive multi-round conversation history.
architecture-notes.md holds the canvas reading and each settled decision. The three plan files are written together at the end.
Automation Scripts
Checks that every task-NNN in plan.md exists in plan-graph.json and that the graph has no cycle.
scripts/validate_plan_graph.py Reference Specifications (`references/`)
Multi-round questioning strategy covering architecture, data modeling, concurrency, and security.
Standardized 11-section markdown template ensuring comprehensive, audit-ready planning.
Mermaid syntax rules and JSON adjacency list schema for automated downstream ingestion.
Executive Overview
Premature implementation is the most common reason software projects suffer from scope creep, architectural rework, and technical debt. navigate-compass solves this by forcing a rigorous, consultant-grade scoping process before a single line of application code is written.
Acting as a System Architect and Technical Consultant, navigate-compass runs an adaptive Socratic interview tailored to four distinct project scenarios:
- Greenfield Development: Defining tech stack, high-level topology, MVP boundaries, and database schemas.
- System Redesign: Analyzing pain points in legacy code and designing backwards-compatible transitions.
- Refactoring Initiatives: Isolating code smells, defining bounded contexts, and establishing characterization test suites.
- Feature Additions: Ensuring new capabilities integrate seamlessly with existing service contracts.
The Tri-Artifact Output System
Upon concluding the adaptive interview, navigate-compass synthesizes three distinct artifacts into docs/plan/:
1. docs/plan/plan.md (The Master Specification)
A comprehensive, 11-section engineering blueprint covering:
- Executive Summary & Problem Statement
- MVP Scope vs. Full Vision Roadmap
- System Architecture & Component Diagram
- Tech Stack Justification & Trade-off Analysis
- Data Models, Schemas & Entity Relationships
- API & Event Contracts
- Error Handling & Resilience Strategy
- Testing & Quality Assurance Strategy
- Prioritized Task Breakdown Table
- Security & Compliance Audit Checklist
2. docs/plan/dependency-graph.md (Mermaid Visualization)
A visual flowchart displaying task dependencies, execution paths, and critical blockers:
[Task 1: DB Migrations] --> [Task 2: Repository Layer] --> [Task 4: Controller]
↓
[Task 3: Unit Tests]
3. docs/plan/plan-graph.json (Graph-Prompting Adjacency List)
A machine-readable JSON structure for split-plan. orchestrate-flow then runs the ready issues, and execute-issues runs one of them:
{
"project": "Geospatial Discovery Engine",
"nodes": [
{ "id": "task-001", "title": "Setup MongoDB 2dsphere Index", "deps": [] },
{ "id": "task-002", "title": "Implement Snaps Gateway", "deps": ["task-001"] }
]
}
Adaptive Interview Methodology
When an Obsidian .canvas is given, the model reads that JSON itself. Text, groups, file notes, links, and edges become docs/plan/architecture-notes.md: what the canvas already decides, what is weak, and one recommended topology. There is no extract script.
The interview follows interview-questions.md. Always, then Plan, then a Signal topic only when the canvas or an answer makes that concern real. A settled topic is one line under ## Decisions in architecture-notes.md.
- If high concurrency is specified, it drills into connection model, backpressure, and ordering.
- If relational data is specified, it probes keys, isolation, and migrations.
- If an external provider is required, it asks who is merchant of record, how webhooks are verified, and where secret names live.
scripts/validate_plan_graph.py then checks that plan.md and plan-graph.json name the same tasks and that the graph has no cycle.