projectstructuur
Skill3 starsChanged 23 days agoMITView on GitHub
Ontwerp, herstructureer veilig en bewaak een repositoryindeling die een junior begrijpt. Gebruik bij een nieuwe repo of een expliciet geautoriseerde opschoning van een bestaande repo.
In this repository51 other files it gives its agents.
- guidelines/CLAUDE.mdCLAUDE.md
- animate-expoSkill
- animateSkill
- animation-vocabularySkill
- apple-designSkill
- ask-sonnerSkill
- batch-grill-meSkill
- bi-dashboardsSkill
- bouw-loopSkill
- brandkitSkill
- code-auditSkill
- commit-disciplineSkill
- councilSkill
- createlooppromptSkill
- data-visualizationSkill
- design-taste-frontendSkill
- diagram-designSkill
- dicht-loopSkill
- e2e-rulesSkill
- e2eSkill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- find-bugsSkill
- fixing-accessibilitySkill
- fix-loopSkill
- frontend-gotchasSkill
- goalSkill
- improve-animationsSkill
- keten-loopSkill
- make-interfaces-feel-betterSkill
- mobile-nativeSkill
- office-docsSkill
- pick-ui-librarySkill
- polijst-loopSkill
- polpohire-designSkill
- pre-pr-gatesSkill
- prototypeSkill
- readmeSkill
- reaSkill
- redesign-existing-projectsSkill
- render-proofSkill
- repo-hygieneSkill
- review-animationsSkill
- skill-finderSkill
- speur-loopSkill
- supergoalSkill
- systematic-debuggingSkill
- theme-selectorSkill
- transitions-devSkill
- ux-heuristicsSkill
- waak-loopSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
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 13
Treat five or six visible root areas as a review signal, not a rule.
- Distinctive: line 17
Keep root files deliberate: product entrypoints, dependency manifests and one-off runtime files only when documented in the contract.
- Distinctive: line 19
Never infer that a file is obsolete from its directory or git history.
- Very specific: line 36
Run node .harness/projectstructuur/tools/project-structure-inventory.js --repo .
- Distinctive: line 40
Write a compact map before moving anything: current item, responsibility, evidence of status, callers/runtime references, proposed …
- Distinctive: line 52
After explicit approval, move one responsibility at a time.
- Very specific: line 60
Start a draft with node .harness/projectstructuur/tools/project-structure-init.js --repo .
- Very specific: line 64
Run node .harness/projectstructuur/tools/project-structure-check.js --repo .
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Projectstructuur
Gebruik deze skill als /projectstructuur. Laat een repository zichzelf uitleggen
via een paar duidelijke plekken, niet door bestanden alleen netjes te husselen.
Hard rules
- Treat five or six visible root areas as a review signal, not a rule. Pick the number the product needs and explain each responsibility.
- Name an area for its responsibility, not an implementation accident. Only use
an
-mcpsuffix for a real MCP server. - Keep root files deliberate: product entrypoints, dependency manifests and one-off runtime files only when documented in the contract.
- Never infer that a file is obsolete from its directory or git history. Label it active, disabled, obsolete, or unknown with evidence. Do not delete or change production configuration without explicit authority.
- The checker proves only objective rules: area count, root entries and selected dependency directions. It cannot prove the layout is well designed.
- Hooks inspect direct write tools, patch destinations and common shell commands. They are not a universal shell or JavaScript parser, so CI must run the full checker after a change.
Existing repository: inspect, decide, migrate
- Bootstrap the helpers in the target repository first. Copy this skill's
tools/directory to.harness/projectstructuur/tools/; copytools/project-structure.ymlto.github/workflows/project-structure.ymlonly after reviewing the target's existing CI. In the commands below,node .harness/projectstructuur/tools/<tool>.jsis the portable form. A harness repository may use its equivalentscripts/path. - Run
node .harness/projectstructuur/tools/project-structure-inventory.js --repo .and read the result. Then inspect callers, imports, Docker/Compose build contexts, mounts, CI workflows, deploy scripts and README references for every part under consideration. - Write a compact map before moving anything: current item, responsibility, evidence of status, callers/runtime references, proposed destination and migration risk. Treat a bridge that relays Slack or WhatsApp to an agent seat as a bridge, not an MCP server; keep a separate MCP adapter with the product it exposes. Group a search engine and its adapter under search, with their internal roles documented.
- Choose the areas that describe the product. Do not manufacture
frontendandbackendfor an infrastructure repository. Put scripts, Caddy snippets, Compose files and assets with the responsibility they serve, not one directory deeper merely to hide root clutter. - Present the map and proposed contract for approval. Installing a contract is not a migration and must never be described as one.
- After explicit approval, move one responsibility at a time. Update imports, build contexts, mounts, command scripts, CI, deploy paths and README in the same change. Run the entrypoint and behaviour tests that exercise each moved path. Keep uncertain or disabled material intact and report it separately.
New repository: choose, contract, enforce
- Identify the product and runtime first. Select only the areas it needs.
- Start a draft with
node .harness/projectstructuur/tools/project-structure-init.js --repo . --areas app,infra,tests,docs. - Replace every placeholder responsibility. List allowed root files and write the boundaries document. Add dependency rules only for source forms the checker supports.
- Run
node .harness/projectstructuur/tools/project-structure-check.js --repo .before enabling the hooks and CI.
Contract
.project-structure.json has areas, each with a responsibility,
allowedRootFiles, an optional boundariesDocument, and optional
forbiddenDependencies. The shared checker powers the command, CI and hooks.
Changing a contract is a deliberate governance action, not an automatic fix.
Completion
Report the inventory or migration evidence, the chosen areas and their jobs, the hard checks run, and every unknown or unverified runtime path. Do not claim that a repository is reorganised unless files and their references were moved and the relevant behaviours passed.
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.

