Skip to content
Back to skills

Route

ASecurity

Use at the very start of ANY substantive work in a Doctrine repo — before inspecting files, running commands, or writing code. The mandatory gate that chooses the governing skill. Skip it only when the user has explicitly told you to.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
developmentgorails

Works with

  • cli

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add davidlee/doctrine --skill route --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Route?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Route
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davidlee-route/badge)](https://www.skillsdirectory.com/skills/davidlee-route)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: route
description: Use at the very start of ANY substantive work in a Doctrine repo — before inspecting files, running commands, or writing code. The mandatory gate that chooses the governing skill. Skip it only when the user has explicitly told you to.
---

# Route

The mandatory routing layer for Doctrine. The routing gate concept is
documented in [[mem.concept.doctrine.routing-gate]]. Follow it rigorously *unless* the user
has instructed otherwise. If the user explicitly invoked a skill, use that 
now; if the routing layer indicates a subsequent action in a chain, go on 
with it afterwards.

Do not respond, explore, inspect files, run commands, or start implementation
until you have chosen the skill that governs the task. If there is a reasonable
chance another Doctrine skill governs it, route through that skill first.

Do not rationalize around this. If you skip routing because the task feels
familiar, simple, urgent, or "probably fine", you are doing it wrong:

- "I'll just inspect files first." → No. Routing decides *how* you inspect.
- "I already know the command shape." → No. Use the CLI, don't guess.
- "Small enough to skip routing." → Small tasks still need the right skill.
- "I'll gather context first and decide later." → Decide first.

When unsure, route to the stricter skill, not the looser one.

## The table rides the boot snapshot

The routing table, mid-flight rules (consult / record-memory / backlog / notes /
next / conduct postures), and core guardrails are already inlined in this
session's prefix (`@.doctrine/state/boot.md`). Apply them from there — this
skill does not restate them. What follows is route-unique.

## Route-unique rules

The core loop (slice→design→plan→execute→audit→close) is documented in
[[mem.pattern.doctrine.core-loop]].

- **Consult the backlog before choosing**: `backlog list` — is this intent
  already captured, and do open items bear on it?
- **Search before assuming**: when the owning artifact is not obvious, `doctrine
  search "<keywords>"` reaches every numbered entity in one query — `backlog
  list` alone covers only latent work. Scope, and the corpora it misses:
  `lib:reference/using-doctrine.md`.
- Authoring tech specs → `/spec-tech`; product specs → `/spec-product`;
  spec target or boundary unclear → `/spec-coverage-assessment` first.
- "There is a slice" does **not** route to `/execute` — the design, plan, and
  runtime phase sheet must exist first (the no-code-without-approved-plan gate).
- Do not import stricter ceremony than the project has adopted; surface a
  conflict between local doctrine and a routing default rather than improvising.

## CLI

`doctrine --help` (dev: `./target/debug/doctrine --help`) is the source of
truth. If `doctrine` is unavailable, STOP and alert the user.

## Governance edited this session?

The inlined prefix is written by a prior session's hook, so it can lag a
just-made edit. Freshen-now ritual: run `doctrine boot`, **then** `/clear` or
restart — regenerate THEN clear; `doctrine boot` alone cannot refresh the
already-inlined prefix. (Disk sentry, separate check: `doctrine boot --check`.)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.