project-structure
Skill2 starsChanged 3 months agoMITView on GitHub
Applies the user's language-agnostic repository layout, documentation, governance, hook, test, agent-file, and changelog conventions. Use when scaffolding or restructuring a repo, writing AGENTS.md or docs, or laying out folders.
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
Never maintain divergent copies.
- Distinctive: line 55
Keep the root AGENTS.md lightweight: briefly identify the repository, then spend its context on non-obvious gotchas, exact commands, hard …
- Very specific: line 60
Add nested <area>/AGENTS.md only where rules differ.
- Very specific: line 64
If curated skills are provisioned, .agents/skills/ and skills-lock.json are generated by the skills tool, never hand-edited.
- Distinctive: line 70
Read references/documentation.md when creating or restructuring README, docs, governance, agent files, or a multi-area repo.
- Very specific: line 72
Read references/tooling.md when installing hooks, scripts, changelog generation, markdown/link/duplication checks, or architectural-drift …
- Distinctive: line 81
No unrelated structural migration was introduced.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project structure
Apply only the roles and documents needed by the requested work. Preserve valid project conventions; surface a material restructuring choice before making it. Stack skills own language-specific commands and config.
Core layout
Name these roles according to the ecosystem:
- Root: user-facing
README.md, manifest, one canonical lockfile, agent context, optional contribution rules, and governance files. - Source: one conventional source root, organized by domain or namespace.
- Tests: unit tests co-located with source; end-to-end suites in one top-level project-owned location; add layer-specific tests only for delivered or regression-prone layers.
docs/: architecture, quick start, tooling, code style, and deployment.- Scripts: one-off automation in
scripts/,bin/, ortools/. - Generated output: one ignored build/output location.
- Optional: generator templates, static assets, and provisioned agent skills.
Tests must catch meaningful regressions. End-to-end coverage is the primary system-level net; unit tests cover public module behavior without duplicating the same assertion.
Governance
Projects on this style keep these canonical root files:
VISION.md: durable product and technical direction, including exclusions.DEFINITION_OF_READY.md: hard gate before implementation.DEFINITION_OF_DONE.md: hard gate before a change is called shippable.
In a multi-area repo, the nearest area-specific file wins. Link between governance, agent, contributor, and project docs instead of duplicating policy. Flag a missing governance file when a workflow requires it; do not invent a substitute.
Agent context
AGENTS.md is canonical. CLAUDE.md is a symlink to it, or contains only an
include plus genuine Claude-specific additions when symlinks are unavailable.
Never maintain divergent copies.
Keep the root AGENTS.md lightweight: briefly identify the repository, then
spend its context on non-obvious gotchas, exact commands, hard constraints, and
safety boundaries. Do not restate a file tree or conventions evident from the
repository.
Add nested <area>/AGENTS.md only where rules differ; the root points to each
area. Use CONTRIBUTING.md for authoritative human merge requirements and link
to it rather than repeating them.
If curated skills are provisioned, .agents/skills/ and skills-lock.json are
generated by the skills tool, never hand-edited. Symlink .claude/skills to
.agents/skills.
Situational references
- Read references/documentation.md when creating or restructuring README, docs, governance, agent files, or a multi-area repo.
- Read references/tooling.md when installing hooks, scripts, changelog generation, markdown/link/duplication checks, or architectural-drift enforcement.
Completion
- The repository's declared verification gate passes.
- Documentation changed by the work is current and has one authoritative home.
- Generated files were changed through their owner tool.
- No unrelated structural migration was introduced.
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- frostney/knips★ 199% same
- frostney/known-good-route★ 099% same
Wrote their own version · 17
- modelcontextprotocol/servers★ 92ksame name
- microsoft/agent-framework★ 14ksame name
- elie222/inbox-zero★ 13ksame name
- modelcontextprotocol/inspector★ 11ksame name
- enso-org/enso★ 7.4ksame name
- steipete/agent-scripts★ 7.4ksame name
- trezor/trezor-suite★ 1.1ksame name
- spiriMirror/libuipc★ 336same name
- Resgrid/Core★ 229same name
- tomo3141592653/ayumu-oss★ 9same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use testing and code-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 6 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- codebase-auditSkill
- create-issueSkill
- create-prSkill
- create-releaseSkill
- domain-modelingSkill
- git-workflowSkill
- grillingSkill
- grill-with-docsSkill
- implement-ideaSkill
- implement-issueSkill
- improve-codebase-architectureSkill
- native-nostalgia-stackSkill
- review-prSkill
- roadmap-reviewSkill
- run-retroSkill
- software-engineering-excellenceSkill
- update-prSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

