Skip to content

JordanGunn/nunchuck / skills/doctor

doctor

Verified

Diagnoses software failures by combining deterministic evidence gathering with agent judgment. Models failures as medical cases. Idempotent — run repeatedly until confident diagnosis, then generate schema-based treatment.

assets/schemas/session.schema.yaml

View on GitHub
# Doctor Session Schema
# Artifact: .doctor/session.yaml

type: object
required:
  - status
  - created_at

properties:
  status:
    type: string
    enum: [investigating, diagnosed, treated, abandoned]
    description: Current session status

  created_at:
    type: string
    format: date-time
    description: RFC3339 UTC timestamp

  updated_at:
    type: string
    format: date-time
    description: RFC3339 UTC timestamp of last update

  patient:
    type: string
    description: Repository or system name

  symptoms:
    type: array
    items:
      type: object
      properties:
        description:
          type: string
        category:
          type: string
          enum: [error, timeout, crash, wrong_output, performance, unknown]
        evidence:
          type: string
    description: Observed symptoms

  hypotheses:
    type: array
    items:
      type: object
      properties:
        description:
          type: string
        confidence:
          type: integer
          minimum: 0
          maximum: 100
        evidence_for:
          type: array
          items:
            type: string
        evidence_against:
          type: array
          items:
            type: string
        falsifiable_by:
          type: string
    description: Working hypotheses with confidence

  diagnosis:
    type: object
    properties:
      summary:
        type: string
      confidence:
        type: integer
        minimum: 0
        maximum: 100
      root_cause:
        type: string
      contributing_factors:
        type: array
        items:
          type: string
    description: Final diagnosis (when confident)

  evidence_files:
    type: array
    items:
      type: string
    description: Paths to evidence snapshots in .doctor/evidence/
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall