/doctrine:researchfrom doctrine
Investigates technical questions against primary sources (docs, source code, specs) and writes findings with citations to the repo. Useful for verifying claims, gathering API facts, or delegating research legwork.
Ships in doctrine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A claim is only as good as the source it traces back to. This skill's defining constraint: every finding in the output must be traceable to the primary source that actually owns the fact (official docs, source code, a spec, a first-party API response), not to a blog post, forum answer, or summary that itself read the primary source once. If tracing stops at a secondary source, that's stated as a limitation, not hidden.
State the specific question or claim being investigated, narrowly enough that "found" and "not found" are both clear outcomes. A vague scope ("research React") produces an unfalsifiable report; a narrow one ("does React's useEffect cleanup run before or after the next effect's setup, per the official docs") produces a checkable answer. If the request bundles several questions, split it, mixing them is how one weak answer contaminates the credibility of the rest.
For each sub-question:
Where more than one primary-adjacent source disagrees, or where authority isn't obvious, check the source against the CRAAP criteria (Currency, Relevance, Authority, Accuracy, Purpose; the standard library-science checklist for source evaluation):
| Criterion | Question |
|---|---|
| Currency | Is this the current version, or superseded by a newer release/spec? |
| Relevance | Does it actually answer the scoped question, or just something adjacent? |
| Authority | Is the author/publisher the party that actually owns this fact (the framework's own maintainers, the spec body) or a third party writing about it? |
| Accuracy | Can the claim be cross-checked against another independent primary source, or the actual behavior (running the code, reading the actual response)? |
| Purpose | Is the source explaining the fact, or selling/promoting something that gives it a reason to shade the answer? |
A source that fails Authority or Purpose isn't disqualified outright, but the finding should say so; "per a third-party benchmark, not the vendor's own numbers" is a materially different claim than "per the vendor's published spec."
Capture the investigation as a single Markdown file:
Delegate the legwork to a background agent when the investigation is multi-step or time-consuming, so the primary conversation isn't blocked on reading, but the citation discipline in Phases 2–4 applies regardless of who does the reading.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
research, source-verification, citation, fact-checking, documentation
npx claudepluginhub aethrox/doctrine --plugin doctrine34 skills in this plugin
/api-design-standardsAPI design discipline grounded in the Microsoft/Google REST guidelines, resource and URL conventions, a chosen versioning strategy, what counts as a backward-compatible vs breaking change, and consumer-driven contract testing. Use when designing a new API endpoint, changing an existing API's request/response shape, deciding how to version an API, or asking whether a change to a public interface is breaking./architecture-diagramProduce a software architecture diagram at the right level of zoom, using diagram as code so it can be shown inline, saved, or committed as the user or active workflow authorizes. Use when the user wants to draw, extract, or visualize a project's architecture, a component or request flow, a data flow, or a decision path a design principle hinges on./capacity-estimationTurn a vague performance requirement into arithmetic before the architecture is chosen, size concurrency with Little's Law, and label every input as measured, derived, or assumed. Use when a design calls itself "scalable" or "fast" without a number, when choosing between one machine and a distributed system, when sizing a thread pool, connection pool, queue, or instance count, or when someone asks how much traffic, storage, or bandwidth a system will need./codebase-designModule design discipline from John Ousterhout's A Philosophy of Software Design, depth as the metric (a lot of functionality behind a simple interface), information hiding vs. leakage, the concrete red flags that mark a shallow module, and comparing at least two designs before committing. Use when designing a new module or class, deciding where an interface boundary (seam) should go, reviewing a design for unnecessary complexity, or asking whether something should be split or merged./code-reviewCode review discipline: the approval bar is "improves code health," not "perfect," Fowler's code-smell catalog gives design/complexity concerns a name instead of a vague feeling, and small PRs keep review depth from degrading. Use when reviewing a pull request or diff, requesting a review, deciding whether a change is blockable, or leaving review feedback./code-style-lintDiscipline for code style and static analysis, adopt the ecosystem's established formatter as the non-negotiable source of truth, enforce it at pre-commit and CI rather than in review, and treat linting (real defects) as a separate concern from formatting (appearance). Use when setting up a new project's tooling, when a code review comment is about whitespace/naming/formatting instead of behavior, or when the user asks how to configure a linter or formatter.Other plugins' skills for the same job