← ClaudeAtlas

doctrine-primerlisted

Use when starting cold in a repo, when the user asks to prime, orient, or get a situation report, or when an agent has never seen this repo. Restores session state exactly as doctrine-resume does, then explains the project.
scottcrosby-securebine/doctrine-skills · ★ 0 · AI & Automation · score 68
Install: claude install-skill scottcrosby-securebine/doctrine-skills
# Doctrine Primer — cold-start orientation Restore the session's state, then explain the project to an agent that has never seen this repo. Need state only, not a codebase tour? `doctrine-resume` is the cheap path: say so and stop. CLAUDE.md is already in your context; the harness loads it every session, so never spend a read on it. **AGENTS.md is not**: it is not auto-loaded unless something `@`-imports it, and it is usually where issue-tracking and session-completion norms live. Read it if present. ## 1. Restore state Run `doctrine-resume` steps 1 to 4 as written there: read the memory file, act on the kickoff's first line, check drift, hydrate Active Work, and produce its report. Put that report at the very top of your reply, ahead of everything else; the kickoff in it is a live instruction from the prior session, not history. Where it finds drift, offer its step 5 resync. Those steps are written there once and not restated here. Where `doctrine-resume` would stop because no memory file exists, do not stop: say there is none, offer `doctrine-backup` at session end, run `doctrine-resume` step 2's batch anyway for the branch, dirty work, PRs and build, and continue to step 2. Where the file exists but its `## Next Session Kickoff` is absent, say so plainly: `doctrine-backup` is contracted to write it, so its absence means the last handoff was lost. ## 2. Recon Discover the project's shape; never assume `src/`. Batch these, then read what the listing reveals: - `ls`