
davidlee/doctrine
28 skills2.2k installs28 starsGitHub
Install
npx skills add https://github.com/davidlee/doctrineSkills in this repo
1HandoverCreates a transient start-here handover packet pointing at durable artifacts and framing the immediate next work for a fresh agent. A developer uses it when the work is in good condition and a new session would continue more efficiently.80installs2CanonReads the project's authoritative rules, specs, ADRs, policies, and standards before acting so decisions follow governance rather than assumptions. A developer uses it before architectural or workflow choices or when entering an unfamiliar subsystem.79installs3Code ReviewPerforms a hostile, detailed code review focused on maintainability, security, and design fidelity, landing each finding as an append-only raise on the RV ledger. A developer uses it whenever reviewing or auditing code for quality and correctness.79installs4ConsultForces a pause to present context, options, and tradeoffs to the user before adapting scope, adding a dependency, or taking a shortcut. A developer uses it the moment a task hits an impactful decision that shouldn't be made unilaterally.79installs5ExecuteExecutes a single planned phase of a slice, confirming entrance criteria, building it TDD-style, keeping runtime notes current, and surfacing blockers early. A developer uses it once a phase's design, plan, and runtime sheet are ready.79installs6Retrieve MemoryConsults the Doctrine memory store before making non-trivial assumptions, preferring MCP memory tools with a find/retrieve/show progressive-disclosure pattern. A developer uses it before touching an unfamiliar subsystem, changing a pipeline, or answering with probably/usually.79installs7AuditRuns the Doctrine reconciliation loop, auditing an implemented slice against its design and governance and dispositioning every finding on an RV review ledger. A developer uses it after a slice's phases are implemented to verify conformance and write a reconciliation brief for handoff.78installs8CloseExecutes formal Doctrine slice closure: confirming phase rollup, a spec-coherence gate over the reconciliation brief, memory harvest, and the terminal done transition. A developer uses it once a slice's phases are complete, audited, and reconciled.78installs9DesignTranslates scoped intent into an implementable design via a staged state machine of exploration, clarifying questions, approach proposals, and adversarial review. A developer uses it when a slice needs architectural shaping before planning and implementation.78installs10DispatchDrives a slice's phases to completion through sub-agent workers in isolated worktrees, routing to the claude or codex/pi arm while the orchestrator remains sole writer. A developer uses it to parallelize file-disjoint phases with report-and-halt conflict handling.78installs11InquisitionConducts a zealous adversarial review that presumes guilt and hunts for any heresy against policy, design, plan, or conventions, trying findings on the RV ledger. A developer uses it only when explicitly requesting an inquisition, not for routine review.78installs12Phase PlanTurns a phase's authored objective and EN/EX/VT criteria into a detailed runtime phase sheet just before execution, planning how the phase will be built. A developer uses it immediately before executing a specific phase of a slice.78installs13PlanConverts locked design intent into an executable phase plan, refining each phase's objective and entry/exit/verification criteria and re-grepping the design's premises against the current tree. A developer uses it once a slice's design is locked and it needs a phase plan.78installs14PreflightPerforms calibrated preliminary research on a task to clarify scope, diagnose faults, and surface tensions while conserving context, after routing has chosen this path. A developer uses it when the next step is bounded research rather than open-ended exploration.78installs15Record MemoryRecords durable guidance as typed memory items (fact, pattern, system, concept, signpost, thread) via doctrine memory record, choosing the narrowest fitting type. A developer uses it when discovering a reusable fact, footgun, or workflow worth persisting.78installs16RouteActs as the mandatory routing layer that selects the governing Doctrine skill before inspecting files or writing code, riding the boot snapshot's routing table. A developer uses it at the very start of any substantive work in a Doctrine repo.78installs17SliceConverts code-changing intent into one coherent scoped slice, creating slice-nnn.toml/md and making in-scope, out-of-scope, affected surface, and closure intent explicit. A developer uses it when change intent has emerged and no governing slice covers it yet.78installs18Spec ProductAuthors the durable product what, why, and proof obligations for an evergreen capability, upstream of slices and design, using a canonical intent/scope/principles structure. A developer uses it when defining product requirements and scope before scoping descendant slices.78installs19Spec TechGuides authoring the technical spec that sits downstream of the product spec and upstream of per-slice design, capturing components, boundaries, decisions and contracts. A developer uses it when recording durable architecture and mechanism as Doctrine spec entities rather than a single change's design.78installs20Dispatch AgentSpawns a Doctrine dispatch worker via the Agent tool with worktree isolation, arming an explicit base and cd-ing into the spawn dir so the WorktreeCreate hook forks correctly. A developer reaches it from the dispatch router on a claude/env-marker agreement, never directly.77installs21PairRuns agentic pair programming with a human partner, narrating intent and pausing at decision points while staying a challenging partner rather than passive autocomplete. A developer uses it to work side-by-side on a change instead of handing off a whole task.77installs22WalkthroughProvides a guided walkthrough of code, a diff/PR, architecture, tests or docs, explaining the choices made and their tradeoffs while critically evaluating the artifact. A developer uses it when they want to understand or audit something rather than modify it.77installs23WorktreeCreates an isolated git worktree fork so a phase can run on its own branch without touching the main working tree. A developer uses it when execute or dispatch flows need workspace isolation before spawning work.77installs24Dispatch SubprocessSpawns a Doctrine dispatch worker as a codex or pi subprocess after forking a worker worktree, with cwd bound to the fork and boundary recording via record-delta. A developer reaches it from the dispatch router on a codex/pi arm agreement, never directly.75installs25BacklogDrives the Doctrine backlog CLI to capture and manage latent work as typed items with status lifecycle, tags, and hard/soft dependencies. A developer uses it to intake, triage, and promote work items into slices.74installs26ReconcileConsumes the audit's RV ledger and reconciliation brief and writes reconciled changes across two surfaces, direct edits and typed REV revisions, then hands a resolved outcome to close. A developer uses it after /audit resolves the ledger and writes the brief.74installs27Dreamingdreaming is a Doctrine agent skill that maintains the project memory corpus when files, commands, or ADRs change and during scheduled housekeeping. It treats reactive fixes and proactive sweeps as one procedure so retrieve stays trustworthy. Use it after refactors or between slices when agent memories may reference outdated paths or duplicate facts.69installs28Reviewing Memoryreviewing-memory is a Doctrine skill for structured memory corpus audits before high-risk changes. It pulls validation findings across the corpus, inspects high-impact entries, and records outcomes so agents do not rely on drifting facts. Run it ahead of releases or migrations or when retrieval quality drops.68installs