Doctrine — Security skill for Claude Code
Audit custom lint/ratchet doctrine for content correctness — report only.
How to install Doctrine
Installs to ~/.claude/skills/kensaurus-cursor-kenji-doctrine/SKILL.md
mkdir -p ~/.claude/skills/kensaurus-cursor-kenji-doctrine && curl -fsSL https://raw.githubusercontent.com/kensaurus/cursor-kenji/HEAD/commands/doctrine.md -o ~/.claude/skills/kensaurus-cursor-kenji-doctrine/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Doctrine does
description: "Audit custom lint/ratchet doctrine for content correctness — report only" argument-hint: "[repo or rule path]"
/doctrine
Is each custom rule *right on the merits*, not merely enforced?
This command is a thin entry point. The full playbook lives in the **`audit-doctrine`** skill.
Use `/doctrine` when a lint/ratchet banned a legitimate pattern, or when you want every axis judged against the governance contract (remedy, named token, teaching failure, Tier-D practice, s
Alternatives in Security
- FastAPI Review — Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu 243.5k ★
- Brooks Audit — Run a Brooks-Lint architecture audit 1.5k ★
- Promptmap — Security scanner for custom LLM apps 1.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Gate Logic
Audit CI/CD gate logic — silent bypass, ratchet gaming, conflicting conditions — report only
SEO Content Audit
Use when auditing a website's content/markup for on-page SEO basics — title tags, meta descriptions, heading h
Audit Ur Harness
An Agent Skill that audits a project's AI harness — guardrails, memory, verification, observability, tool desi
Dx Report
Generate a DX report (format/lint/docs/types/tests/build/deps/audit/knip), summarize results, and optionally c
Audit Doctrine
Audit the rules/ directory for missing foundational principles; output gap list with priority and justificatio
Deadcode Plan
Dead-code audit — configured Knip baseline plus ratchet plan, delete nothing until approved
Related Agents
Sp Reviewer
Use as a pre-push guardrail before committing or pushing. Runs lint, build, tests and a secret scan, reviews t
Content Validator
Run lint suite on authored/edited pages and report structured results.
Channel Auditor
Produces a scored channel health report across packaging and SEO, performance, content strategy and monetizati