Doctrina is a library of portable rules for AI coding agents. Any repository can copy a rule into its own .claude/rules/ folder and fill in the values that are specific to it. Doctrina is also where classes are built: courses, workbooks, and articles go in courses/, workbooks/, and articles/. Doctrina uses three of its own rules and two of its own skills in Claude Code and Codex. - rules/ is portable. Treat its files as the product you are editing,…
Build a complete course from a short description: syllabus, objectives, Markdown readings, interactive Jupyter labs, LaTeX problem sets, exams, and answer keys.
Translate an app's user-facing text into Mandarin Chinese, Hindi, Spanish, Arabic, French, Bengali, Portuguese, Indonesian, and Urdu, as checked language packs.
Build a project's planning and design documents from a description or its code: overview, core documents, roadmap, decision records, specs, and feature list.
Draw formal architecture diagrams of the current project (C4 views, UML class, component, and sequence diagrams, data-flow, state, data-model, and deployment diagrams) as Mermaid in Markdown, or rebuild the ones whose sources changed since they were drawn.
Find statements in the project's documentation that no longer match the code, the tools, or the project's own records, and correct them, asking first wherever the documentation may be right and the code wrong.
Pick the next unblocked task from the roadmap (or the task ID given) and carry it through the project's definition of done, leaving the work ready for the user to review.
Cluster roadmap tasks into phases that each end in a gate of checkable criteria, or evaluate a phase's gate with evidence gathered in this session and record the result.
Comb the code for functions and modules that are longer or more convoluted than needed, and simplify the approved ones without losing any functionality.
Grimoire is a catalog of AI-agent assets (rules, skills, agents, tools, MCP servers) plus a Rust command-line tool (CLI), grimoire, that installs the assets a user selects into their repository. MCP is the Model Context Protocol. Doctrina is the maintainer's library of portable rules and skills for coding agents. Claude Code and Codex share five rules in .claude/rules/ (writing.md, commits.md, rust.md, testing.md, and roadmap-and-docs.md). Each rule's Project details section holds Grimoire's values. All eleven of Doctrina's skills are in .claude/skills/,…
Translate an app's user-facing text into Mandarin Chinese, Hindi, Spanish, Arabic, French, Bengali, Portuguese, Indonesian, and Urdu, as checked language packs.
Build a project's planning and design documents from a description or its code: overview, core documents, roadmap, decision records, specs, and feature list.
Comb the code for functions and modules that are longer or more convoluted than needed, and simplify the approved ones without losing any functionality.
Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.
CLAUDE.md or AGENTS.md?
CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.
What is a skill?
A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.
Can I search my own team's files too?
Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.