eng-monorepo
Skill23 starsChanged 7 days agoMITView on GitHub
Maintain pnpm workspaces, Turborepo task graphs and caching, shared TypeScript configs, and Changesets release wiring. Use when adding a package, editing manifests or catalogs, changing turbo.json or tsconfig files, or debugging broken caching or affected selection.
- Installs packages
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-autonomous-loopsSkill
- agents-correctSkill
- agents-create-verification-skillSkill
- agents-reflectSkill
- agents-swarmSkill
- alchemy-infraSkill
- cloudflare-edge-hardeningSkill
- cloudflare-gradual-releaseSkill
- comms-howSkill
- comms-impactSkill
- comms-interrogateSkill
- comms-promo-videoSkill
- comms-slidesSkill
- comms-technical-writingSkill
- comms-unslopSkill
- comms-whySkill
- drizzle-postgresSkill
- effect-boundary-validationSkill
- effect-seam-migrationSkill
- effectSkill
- eng-agent-dx-cli-scaleSkill
- eng-ai-featuresSkill
- eng-benchmark-checklistSkill
- eng-blast-radiusSkill
- eng-change-checklistSkill
- eng-cutover-verificationSkill
- eng-data-backward-compatSkill
- eng-migrationSkill
- eng-qa-cujsSkill
- eng-state-machineSkill
- eng-tddSkill
- eng-testingSkill
- gh-ci-triageSkill
- gh-issue-burndownSkill
- gh-pr-commit-reviewSkill
- gh-pr-feedback-loopSkill
- nix-darwinSkill
- reg-suitSkill
- sentry-bugfixSkill
- sentry-perfSkill
- seo-coachSkill
- svelte-shadcnSkill
- svelte-ui-deliverySkill
- ui-audit-loopSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Keep internal dependencies explicit with workspace:* so pnpm and Turborepo see the same graph.
- Very specific: line 15
Put repeated external versions in pnpm-workspace.yaml under catalog and reference them with catalog:.
- Very specific: line 17
Update pnpm-lock.yaml with every manifest change.
- Very specific: line 26
Use ^build so dependencies build before dependents.
- Very specific: line 29
Keep development servers persistent and uncached, and keep deploy uncached.
- Very specific: line 34
Keep private packages in the ignore list of .changeset/config.json.
- Very specific: line 39
Run pnpm install and pnpm install --frozen-lockfile.
- Distinctive: line 41
Run the repo's verify command.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Monorepo
Inspect current workspace manifests, turbo.json, and tsconfig files before changing the graph.
Repo facts (from AGENTS.md): workspace directories, package scope and public package names, shared base tsconfig, pnpm catalog and supply-chain rules, Turbo task names (build, check, test, verify), and the Changesets ignore list.
Workspace dependencies
- Keep internal dependencies explicit with
workspace:*so pnpm and Turborepo see the same graph. - Put repeated external versions in
pnpm-workspace.yamlundercatalogand reference them withcatalog:. Keep tightly coupled framework families (such as Effect packages and companions) on one exact version, usingoverridesand a repo version check where needed. - Allow dependency build scripts only through pnpm's allowlist (
allowBuildsoronlyBuiltDependencies). When a supply-chain age policy blocks a needed install, add an exactname@versionexclusion and remove it once the version ages in. - Update
pnpm-lock.yamlwith every manifest change. CI installs with--frozen-lockfile.
TypeScript configuration
- Extend the shared strict base
tsconfig. Packagetsconfig.jsonfiles add only what their runtime needs, such astypes,lib, ormodule. Fix new strictness errors in code rather than relaxing the base. - Build library packages with declarations through a dedicated build config and import their built exports. Keep strict type checking separate from source emission.
Turborepo task graph
- Use
^buildso dependencies build before dependents. Use^transitto carry changes through packages that have no build task. - Declare generated
outputs(such asdist/**) and every build-affecting variable inenvorpassThroughEnvon the owning task. - List cross-package inputs (such as migration directories or schemas read by tests) explicitly on the task that reads them.
- Keep development servers persistent and uncached, and keep
deployuncached. Keep framework startup sync steps (such assvelte-kit sync) uncached and outside the watch graph. - For non-JS crates (such as Rust) wired into Turbo, wrap each crate with a
package.jsoncalling its build tool, declare internal path dependencies asworkspace:*devDependencies withtransit(dependsOn: ["^transit"]), and list lockfiles and toolchain files ininputs. Keep release builds that embed credentials uncached.
Changesets
- Keep private packages in the
ignorelist of.changeset/config.json. - A new public package requires a changeset and an explicit decision on that list. A public surface change requires a changeset for the package and each affected consumer.
Verify
- Run
pnpm installandpnpm install --frozen-lockfile. - Inspect the selected graph with
pnpm turbo run check test build --affected --dry=json(checkingTURBO_SCM_BASEandTURBO_SCM_HEADwhen set). - Run the repo's verify command.
- To test caching, run a cached task twice and confirm a cache hit. Use
--forcewhen fresh execution matters.
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.

