Workspace Setup
Commit Generated Files
Always commit both drevon.config.json and generated agent files to Git:
This ensures anyone cloning the repo gets the full AI workspace configuration without needing to run drevon init.
Use the Right Mode
Choose the Right Preset
Memory Best Practices
Keep the Index Lean and Accurate
Memory is only useful if it’s up to date — and in v2 the index is the file that loads every
session, so keep it tight. Periodically review the store:
Seed Important Context
Don’t wait for agents to discover things — pre-populate memory through the CLI so entries land
in the right topic file and the index stays in sync:
Never Hand-Edit the Log — Let It Grow, Then Compact
Append to the log through drevon memory log (never edit log/ files by hand) so the monthly
segments and the index stay consistent. The log is episodic and never loaded eagerly, so it can
grow freely.
Run drevon memory compact periodically (or use the shipped memory-compact prompt) to keep
the store fast. drevon doctor warns when the index exceeds its budget.
Instructions Best Practices
Separate Concerns
Use Globs for Cursor Users
If your team uses Cursor, take advantage of conditional rules:
Reference Files, Don’t Duplicate
Instead of copying your style guide into instructions, reference it:
Skills Best Practices
Start with Essentials
Don’t install every skill at once. Start with:
find-skills (auto-installed)
- One or two skills relevant to your current work
Review Before Installing
Always read a skill’s description and SKILL.md before installing. Skills inject instructions into your agent configs, so review them for:
- Compatibility with your existing instructions
- Quality and accuracy of guidance
- Potential conflicts with other skills
Keep the Lock File Committed
skills-lock.json is your skill manifest. Commit it so teammates get the same skills.
Agent-Specific Tips
Be intentional about what Claude can run autonomously:
Only include commands you trust for autonomous execution.
Cursor — Use Multiple Rule Files
Cursor’s .mdc format shines with targeted rules. Create separate instructions for:
- Frontend components (
.tsx globs)
- Backend logic (
.ts globs in api/)
- Test files (
.test.ts globs)
- Config files (
.config.* globs)
Multi-Agent Workflows
Use extraInstructions to give agent-specific guidance:
Sync Regularly
Make drevon sync part of your workflow. Run it after:
- Editing
drevon.config.json
- Installing or removing skills
- Creating or deleting prompts
- Pulling changes from teammates
It’s fast, idempotent, and only writes changed files.