By rfxn
Governance-driven AI development — convention enforcement, quality gates, and typed agent personas for any repo
Structured pattern-class bug finder. Searches project files for instances
Generate publication-ready documentation for a specific surface of the
Shared library release lifecycle. Handles pre-flight checks, release
Cross-project shared library drift detection. Compares canonical library
Stale memory and contradiction detection. Reads MEMORY.md files and
Plan execution orchestrator. Reads PLAN.md, executes phases via TDD, dispatches engineer/qa/uat/reviewer subagents, enforces quality gates. Use when executing implementation plans.
Universal implementation engineer. Follows TDD, reads governance for domain-specific conventions. Dispatched by the dispatcher for plan phase execution.
Research-driven collaborative planner. Brainstorms ideas, researches best practices, challenges assumptions, writes specs and implementation plans. Use for any planning, scoping, or design work.
Verification gate. Reads governance for project-specific checks (lint, tests, anti-patterns). Read-only — cannot modify source files. Dispatched by dispatcher or invoked via /r-verify.
Adversarial reviewer with two modes: challenge (pre-impl spec/plan review) and sentinel (post-impl 2-3 pass code review). Read-only — cannot modify source files. Dispatched by planner, dispatcher, or invoked via /r-review.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Executables (bin/) — files in this plugin's bin/directory are added to the Bash tool's PATH while the plugin is enabled.
Uses Bash, Write, or Edit tools
Uses Bash, Write, or Edit tools
Governance-driven AI development for teams that ship to production.
RDF is a convention governance layer for AI coding agents. It sits between the human and the AI runtime (Claude Code, Codex, Antigravity CLI — plus Gemini CLI legacy), encoding project conventions, quality gates, and domain expertise into typed agent personas -- so the AI writes code that actually follows your rules.
Drop it on any repo.
/r-initauto-detects your stack and scaffolds governance, quality gates, and typed agent personas -- no rfxn context required. Battle-tested on production security tooling (APF, LMD, BFD), built to generalize. The value is the pattern: governance-driven agents, adversarial quality gates, convention inheritance, and context-window management. Issues and PRs welcome -- support is best-effort and community-driven. Quickstart: your repo in 5 minutes ->
Real recorded session: install RDF, initialize a plain Flask project, verify health — 42 seconds, no edits.
Six universal agents handle every project. Their behavior is shaped by governance files initialized per-project -- not baked into prompts. A QA agent reviewing a bash firewall tool and a QA agent reviewing a Python pipeline follow different rules because their governance files are different, not because they are different agents.
# ── Option A: plugin install (consumer — commands namespaced /rdf:r-*) ──
# In Claude Code:
# /plugin marketplace add rfxn/rdf
# /plugin install rdf@rdf
# Note: hooks + status line require jq on PATH.
# ── Option B: symlink deploy (contributor/power mode — bare /r-*) ──
# 1. Clone
git clone https://github.com/rfxn/rdf.git && cd rdf
# 2. Generate adapter output for your AI tool
bin/rdf generate claude-code # or: claude-plugin, codex, antigravity, agent-skills, agents-md, gemini-cli (legacy), all
# 3. Deploy (symlinks -- regeneration auto-updates)
bin/rdf deploy claude-code # or: bin/rdf deploy gemini-cli
# 4. Initialize a project with governance
cd /path/to/your/project
/r-init # auto-detects project type, suggests profiles
That's it. Your AI agent now has project-specific governance, quality gates, and domain expertise.
Verify:
bin/rdf doctor # health check: artifacts, drift, sync
New to RDF? The 5-minute quickstart walks this path on a plain Flask project, with real output at every step.
| Variable | Default | Purpose |
|---|---|---|
RDF_HOME | resolved from bin/rdf | RDF install root (canonical/, lib/, bin/, state/) |
RDF_CANONICAL | $RDF_HOME/canonical | Canonical content source tree |
RDF_TARGET | ~/.claude | Deploy target for claude-code adapter |
Most users do not need to override these — bin/rdf resolves paths from its own location automatically. Overrides matter only for multi-install setups or CI runs against a fixture tree.
cd /path/to/project
/r-init # auto-detects profiles, generates governance
rdf init creates (inside the target project):
| Path | Purpose |
|---|---|
CLAUDE.md | Project working instructions (typically excluded from commits) |
.rdf/governance/ | conventions, constraints, verification, anti-patterns, architecture |
.rdf/memory/MEMORY.md | Session-persistent project facts |
.git/info/exclude entries | Working-file exclusions (CLAUDE.md, PLAN*.md, .rdf/, etc.) |
The most specific rule wins:
project CLAUDE.md > workspace CLAUDE.md > profile defaults > core defaults
Agents read the chain at session start and apply it hierarchically. A project CLAUDE.md rule overrides a profile default; a workspace CLAUDE.md rule overrides core.
Emergency edits (direct changes to ~/.claude/) are permitted but must be pulled back to canonical via rdf sync. Drift is detected by rdf doctor --scope content-drift using per-file .rdf-hash sidecars.
npx claudepluginhub rfxn/rdfGoverned workflow skills, reviewer agents, and enforcement hooks for govctl
Analyze and enforce best practices for AI coding agent projects. Assess codebase readiness across 8 pillars with /readiness, then scaffold enforcement with /setup: TDD, secret scanning, file size limits, auto-generated docs, and git hooks.
AI-SDLC governance framework for Claude Code — action enforcement, telemetry, quality gates, and review agents
Elite AI development framework: reference-first design, agent orchestration, automated quality gates, and battle-tested engineering workflows
CLI tool that standardizes AI-generated projects with templates, rules enforcement, and automation to maintain consistency across codebases.
Reference implementation of the Ironclad standard — multi-agent dev harness for Claude Code.