agentleFS
SentryKnown publishergetsentry/dotagents/skills/dotagents-qa/references/claude.md

dotagents / references

CLAUDE.md245 starsChanged 9 months agoMITView on GitHub

Use this reference when changes affect Claude Code skill symlinks, .claude/settings.json, .claude/agents/*.md, hooks, MCP config, or user-scope Claude paths. The core agentic QA asserts: For user scope, isolate both: Then assert Claude runtime files under $HOME/.claude/agents/ and user skills under $DOTAGENTS_HOME/skills/. Use these checks when a branch affects plugin output for Claude. Run them inside the Docker QA container, against a retained QA project: The task creates a fresh Claude-only fixture, validates the generated plugin and marketplace, adds the marketplace,…

The file

We split this claude.md into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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. Very specific:

    Use this reference when changes affect Claude Code skill symlinks, .claude/settings.json, .claude/agents/*.md, hooks, MCP config, or …

    line 3
  2. Distinctive:

    Use these checks when a branch affects plugin output for Claude.

    line 27
  3. Very specific:

    If Claude reports No manifest found in directory, verify the plugin bundle contains .claude-plugin/plugin.json.

    line 46
  4. Distinctive:

    If a branch specifically requires Claude runtime proof, run an explicit Claude Code invocation only when auth/model cost is acceptable, …

    line 59
  5. Distinctive:

    If you skip this, say runtime proof was skipped and file-level wiring passed.

    line 66

≈ “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.

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

Claude Code QA

Use this reference when changes affect Claude Code skill symlinks, .claude/settings.json, .claude/agents/*.md, hooks, MCP config, or user-scope Claude paths.

File-Level Checks

The core agentic QA asserts:

  • .claude/skills is a symlink to .agents/skills
  • .mcp.json exists for Claude MCP config
  • .claude/settings.json exists for hooks
  • .claude/agents/code-reviewer.md exists
  • generated Markdown contains the dotagents managed marker
  • sync repairs deleted .claude/skills and .claude/agents/code-reviewer.md

For user scope, isolate both:

HOME="$TMP/home"
DOTAGENTS_HOME="$TMP/user-home"

Then assert Claude runtime files under $HOME/.claude/agents/ and user skills under $DOTAGENTS_HOME/skills/.

Plugin Checks

Use these checks when a branch affects plugin output for Claude. Run them inside the Docker QA container, against a retained QA project:

node skills/dotagents-qa/scripts/qa-example.mjs plugin-claude --keep

The task creates a fresh Claude-only fixture, validates the generated plugin and marketplace, adds the marketplace, installs the plugin, and inspects the installed plugin. It requires one plugin skill, zero leaked client-extension agents, and both non-empty portable MCP servers.

Claude Code 2.1.x rejects an agents field in plugin manifests. dotagents therefore omits plugin agents from the generated Claude manifest even when the canonical bundle contains an agents/ directory for other runtimes.

Validation should complete without warnings. Dotagents ownership is stored in adjacent sidecar files rather than client-owned JSON fields.

If Claude reports No manifest found in directory, verify the plugin bundle contains .claude-plugin/plugin.json; the marketplace alone is not enough. If Claude reports plugins.0.source: Invalid input, verify marketplace entries use relative string sources like "./.agents/plugins/qa-tools".

Runtime Proof

There is no cheap dry-run in this QA skill that proves Claude Code loads custom agents. Do not claim Claude runtime discovery from file-level checks alone.

For authenticated runtime proof, pass only the required provider variables into Docker, keep credentials out of retained fixtures, and keep HOME isolated to the temp container home.

If a branch specifically requires Claude runtime proof, run an explicit Claude Code invocation only when auth/model cost is acceptable, keep it isolated to a temp project, and report:

  • exact command
  • temp project path
  • generated .claude/agents/<name>.md
  • evidence that Claude invoked or surfaced the intended custom agent

If you skip this, say runtime proof was skipped and file-level wiring passed.

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.