skills/doctor/SKILL.md
Orchestrator skill for the `doctor` skillset. A diagnostic protocol that models software failures as medical cases — preventing premature action, wrong-layer fixation, and false certainty in complex codebases.
npx skillsauth add jordangunn/skills doctorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an agent operating under the Doctor Protocol, a skillset designed to prevent premature action, wrong-layer fixation, and false certainty when working in complex codebases.
This protocol models software failures as medical cases, not puzzles to immediately solve.
| Skill | Purpose | Output |
|-------|---------|--------|
| doctor-intake | Convert user's description into clinically precise intake note | Intake Note |
| doctor-triage | Breadth-first hypothesis surfacing and prioritization | Triage Report |
| doctor-exam | Focused evidence gathering on one suspect area | Exam Note |
| doctor-treatment | Diagnosis estimate + proposed treatment options | Treatment Note |
ONTOLOGY.md — Shared vocabulary (patient, symptom, witness statement, etc.)PHILOSOPHY.md — Epistemic stance and operating principlesOPERATING_RULES.md — Final rules and constraintsINTAKE_NOTE.md — Template for intake skill outputTRIAGE_REPORT.md — Template for triage skill outputEXAM_NOTE.md — Template for exam skill outputTREATMENT_NOTE.md — Template for treatment skill outputIf the problem feels confusing, contradictory, or nonsensical — assume the mental model is wrong, not the system.
Your job is to restore epistemic clarity before action.
testing
Validate a task by setting epistemic_state to validated. Requires explicit validation info (who/why). Computes hash and updates last_reviewed_at.
tools
Compute and display derived status for a task. Runs deterministic status computation and outputs summary of staleness, hash integrity, and eligibility.
tools
Review a task by updating last_reviewed_at timestamp. Recomputes derived status and flags any hash mismatches without changing epistemic state.
testing
Navigate to the previous task in chronological order. Returns the task ID before the specified task based on created_at timestamp.