repo-entry
Skill0 starsChanged 5 months agoMITView on GitHub
How to enter any target repo - read the repo's CLAUDE.md/AGENTS.md completely first, trust code over markdown, respect project-local skills and gates, editing discipline. Load before touching any repo.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- swarm-directorSkill
- swarm-doctorSkill
- swarm-greenfieldSkill
- swarm-issuesSkill
- swarm-resumeSkill
- swarm-setupSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read the target repo's CLAUDE.md and/or AGENTS.md COMPLETELY.
- Very specific: line 19
Check <repo>/.claude/skills/ for project-local skills and gates.
- Distinctive: line 54
When present, apply it when building workflow args.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Repo entry
How every swarm agent (and the director) enters a target repo. All rules are universal — they apply to any repo, any stack.
Before any work in a repo
- Read the target repo's
CLAUDE.mdand/orAGENTS.mdCOMPLETELY. Repo specifics (ports, run commands, test gates, style rules, dev-proxy targets, domain terminology) live THERE, not in this plugin. Never assume a port, topic name, or command from another repo. If the repo's docs point to an index (e.g. adocs/INDEX.md), read that door too before deciding anything architectural. - Check
<repo>/.claude/skills/for project-local skills and gates. Project-local skills and gates OVERRIDE this plugin's defaults: if the repo ships its own review gate, eval harness, or workflow skill, use it instead of (not in addition to) your own generic equivalent, and say in your result which gate applied.
Trust code over markdown
README/IMPLEMENTATION-style docs overstate what is done. When a doc and the code disagree, the code is right. Verify claims by reading source, not docs.
Editing discipline
- Match surrounding code style; comments only for non-obvious constraints.
- Exclude generated code and applied database migrations from bulk search-replace. Applied migrations (Flyway/Liquibase/etc.) are immutable — editing one changes its checksum and crash-loops every environment that already ran it; add a new migration instead.
- Package/folder hygiene: never dump classes in a package/folder root that is
accumulating unrelated types —
dto/,service/,components/and friends get logical submodules. New code goes in (or creates) the right submodule; flag existing dumping grounds you touch. - DX is a quality bar, not taste: results must be discoverable (predictable locations, consistent naming) and readable — poor DX is a review finding.
Repo swarm profile
A repo's CLAUDE.md MAY contain a ## swarm section — binding configuration
for all swarm work in that repo:
dimensions:default review dimensions forswarm-review.jstest-gate:the command that must pass before any work is "done"exclude:path globs that bulk edits and reviews must skipimplementer:preferred implementer agentType for build tasks
When present, apply it when building workflow args; when absent, derive the same facts from the repo's docs and build files before starting.
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.

