The Adapter System
Drevon uses an adapter pattern to generate native config files for each supported agent. Every adapter:- Extends a shared
BaseAdapterclass with common content generation - Implements agent-specific formatting and file structure
- Generates native config files that agents read without modification
Supported Agents
GitHub Copilot
.github/copilot-instructions.mdClaude Code
CLAUDE.md with allowedCommandsCursor
.cursor/rules/*.mdc — multi-file with YAML frontmatterOpenAI Codex
AGENTS.mdWindsurf
.windsurfrulesCline
.clinerulesAider
.aider/instructions.md + .aider.conf.ymlContinue.dev
.continue/rules/drevon.mdContent Structure
Every agent config contains these sections (in order):Format Comparison
MDC is Cursor’s custom format: Markdown with YAML frontmatter containing
alwaysApply, description, and globs fields. Instructions with globs in your config automatically become separate .mdc files that activate only for matching files.