agentleFS
dodoguardaidodoguardai/dodoguard/examples/CLAUDE.md

dodoguard / examples

CLAUDE.md103 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.

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
  1. Distinctive:

    When developing examples, ALWAYS test with local build:

    line 14
  2. Very specific:

    Use latest models: openai:gpt-5, anthropic:claude-sonnet-4-5-20250929

    line 44
  3. Very specific:

    Use file:// prefix for external files

    line 46
  4. Distinctive:

    Keep descriptions SHORT (3-10 words)

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 eval

Key Requirements

Every example needs:

  1. README.md starting with # folder-name (Human Readable Name)
  2. dodoguardconfig.yaml with schema reference and specific field order
  3. Instructions showing npx dodoguard@latest init --example <name>

Field order in config (STRICT):

  1. description (SHORT - 3-10 words)
  2. env (optional, rarely needed)
  3. prompts
  4. providers
  5. defaultTest (optional)
  6. scenarios (optional)
  7. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.