dodoguard / examples
CLAUDE.md202 starsChanged 3 months agoMITView on GitHub
What this is: Self-contained example configurations users can run with npx dodoguard@latest init --example <name>. When developing examples, ALWAYS test with local build: Every example needs: Field order in config (STRICT): See .cursor/rules/examples.mdc for comprehensive example standards.
In this repository2 other files it gives its agents.
- drizzle/CLAUDE.mdCLAUDE.md
- test/CLAUDE.mdCLAUDE.md
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
When developing examples, ALWAYS test with local build:
- Very specific: line 44
Use latest models: openai:gpt-5, anthropic:claude-sonnet-4-5-20250929
- Very specific: line 46
Use file:// prefix for external files
- Distinctive: line 47
Keep descriptions SHORT (3-10 words)
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Examples
What this is: Self-contained example configurations users can run with npx dodoguard@latest init --example <name>.
Purpose
- Onboarding - Help new users learn DodoGuard
- Documentation - Show features in action
- Testing - Validate features work
- Marketing - Demonstrate capabilities
Critical: Test with Local Build
When developing examples, ALWAYS test with local build:
# ✅ CORRECT - Tests your changes
npm run local -- eval -c examples/my-example/dodoguardconfig.yaml
# ❌ WRONG - Tests published version
npx dodoguard@latest evalKey Requirements
Every example needs:
- README.md starting with
# folder-name (Human Readable Name) - dodoguardconfig.yaml with schema reference and specific field order
- Instructions showing
npx dodoguard@latest init --example <name>
Field order in config (STRICT):
description(SHORT - 3-10 words)env(optional, rarely needed)promptsprovidersdefaultTest(optional)scenarios(optional)tests
Quick Reference
- Use latest models:
openai:gpt-5,anthropic:claude-sonnet-4-5-20250929 - Make test cases fun/engaging, not boring
- Use
file://prefix for external files - Keep descriptions SHORT (3-10 words)
Complete Guidelines
See .cursor/rules/examples.mdc for comprehensive example standards.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

