javascript-monorepo-builds
Skill0 starsChanged 7 months agoApache-2.0View on GitHub
Guardrail for Turborepo-based JavaScript/TypeScript monorepo build graphs, cache keys, workspace filters, boundaries, and incremental CI.
In this repository57 other files it gives its agents.
- ai-app-integrationSkill
- anti-llm-frontend-designSkill
- aspnet-core-web-developmentSkill
- async-python-patternsSkill
- browser-game-foundationsSkill
- browser-local-qaSkill
- build-mcp-server-sdk-v2Skill
- canva-design-opsSkill
- check-completionSkill
- cli-tool-creatorSkill
- cloudflare-agents-mcpSkill
- cloudflare-durable-objectsSkill
- cloudflare-workers-platformSkill
- deployment-preview-workflowsSkill
- docx-document-artifactsSkill
- durable-workflow-orchestrationSkill
- dynamic-og-imagesSkill
- eval-auditSkill
- evaluate-ragSkill
- figma-design-to-code-rulesSkill
- fine-tuningSkill
- frontend-product-builderSkill
- game-asset-pipeline-expansionSkill
- game-ui-playtestSkill
- generate-synthetic-dataSkill
- github-pr-ci-opsSkill
- gmail-inbox-opsSkill
- golden-datasetSkill
- huggingface-llm-trainerSkill
- linear-issue-managementSkill
- media-generation-transcriptionSkill
- millrace-rs-contract-paritySkill
- minecraft-mod-qa-automationSkill
- notion-workspace-flowsSkill
- openai-docsSkill
- optimize-agentic-cliSkill
- pdf-artifact-workflowSkill
- phaser-2d-game-developmentSkill
- postgres-query-performanceSkill
- product-ui-polish-reviewSkill
- pydantic-v2-patternsSkill
- python-repo-refactoring-hygieneSkill
- rag-corpus-hygieneSkill
- react-next-performance-reviewSkill
- rust-best-practicesSkill
- shadcn-ui-compositionSkill
- skill-evaluation-harnessSkill
- tauri-desktopSkill
- tauri-mcp-cliSkill
- tauri-ptySkill
- tile-pixel-art-transitionsSkill
- train-sentence-transformersSkill
- typer-cli-patternsSkill
- using-dbt-for-analytics-engineeringSkill
- validate-evaluatorSkill
- visual-asset-pipelineSkill
- watchdog-file-watcher-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 11 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Check dependsOn, outputs, inputs, env, globalDependencies, and --affected against that evidence before proposing implementation.
- Distinctive: line 49
Verify with the narrowest command or config diff that proves the claim.
- Distinctive: line 53
Do not turn a graph or cache problem into a repo-wide rebuild or rewrite.
- Distinctive: line 54
Do not guess Turborepo semantics from memory when the repo evidence is available.
- Distinctive: line 55
Do not use all files as inputs unless the repo actually needs that hash surface.
- Very specific: line 56
Do not omit outputs for tasks that produce cached artifacts.
- Distinctive: line 57
Do not let local and CI cache inputs drift without explaining the difference.
- Very specific: line 58
Do not trust --affected on a shallow checkout or the wrong base ref.
- Distinctive: line 59
Do not hide boundary violations inside package scripts.
- Distinctive: line 60
Do not disable caching as the first response to a cache miss.
- Distinctive: line 81
Keep the fix limited to graph order, cache key, workspace filter, boundary rule, or CI wiring unless the evidence proves more is needed.
- Very specific: line 86
Read the repo evidence and the exact turbo commands first.
- Distinctive: line 89
Prefer a local graph or cache correction over a broad refactor.
- Distinctive: line 90
Verify with the narrowest command, diff, or config check that proves the chosen seam.
- Distinctive: line 111
Start with the smallest useful decision: graph, cache, boundary, or CI fix.
≈ “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
JavaScript Monorepo Builds
Purpose
Help agents diagnose, plan, or review Turborepo-based JavaScript and TypeScript monorepo build problems by naming the real failure class first and then fixing the smallest honest seam. This is a guardrail, not a Turborepo manual.
Use When
- the task involves
turbo.json, package scripts, workspace filters, remote cache, or incremental CI - a leaf package change causes too many rebuilds, missed dependents, or inconsistent cache hits
- the prompt is about
dependsOn,outputs,inputs,env,globalDependencies, or--affected - package boundaries or CI checkout depth are part of the failure
- the answer needs repo evidence before it can choose a fix
Do Not Use When
- the work is not Turborepo-based
- the issue is a broad monorepo architecture discussion with no build-graph evidence
- another more specific skill already owns the exact runtime seam
- the prompt only needs generic JavaScript advice without graph, cache, boundary, or CI semantics
Quick Start
- Classify the request first as
graph fix,cache fix,boundary fix, orCI fix. - Collect repo evidence:
turbo.json, workspace manifests, package scripts, lockfile, CI config, and the exactturbocommands the repo runs. - Check
dependsOn,outputs,inputs,env,globalDependencies, and--affectedagainst that evidence before proposing implementation. - Choose the smallest honest change: a graph edge, cache key, workspace filter, boundary rule, or CI step.
- Verify with the narrowest command or config diff that proves the claim.
Operating Constraints
- Do not turn a graph or cache problem into a repo-wide rebuild or rewrite.
- Do not guess Turborepo semantics from memory when the repo evidence is available.
- Do not use all files as inputs unless the repo actually needs that hash surface.
- Do not omit
outputsfor tasks that produce cached artifacts. - Do not let local and CI cache inputs drift without explaining the difference.
- Do not trust
--affectedon a shallow checkout or the wrong base ref. - Do not hide boundary violations inside package scripts.
- Do not disable caching as the first response to a cache miss.
- Rejected trope: "just rebuild everything and move on."
- Better alternative: fix the exact graph edge, cache key, workspace filter, boundary rule, or CI checkout step that is wrong.
- Rejected trope: "rewrite the monorepo layout to make the build faster."
- Better alternative: keep the repo shape and adjust the task graph or cache contract first.
Inputs This Skill Expects
turbo.jsonor equivalent Turborepo config- workspace manifests and package scripts
- lockfile(s)
- CI config, checkout settings, and cache settings
- the actual
turboinvocation used by local scripts or CI - package boundary evidence when the prompt mentions a boundary violation
Output Contract
- Name the failure class first.
- State the smallest fix surface clearly.
- Tie the recommendation to the specific repo evidence.
- Explain
dependsOn,outputs,inputs,env,globalDependencies, and--affectedbefore implementation advice. - Keep the fix limited to graph order, cache key, workspace filter, boundary rule, or CI wiring unless the evidence proves more is needed.
- End with the next verifier and the evidence it should capture.
Procedure
- Read the repo evidence and the exact
turbocommands first. - Classify the problem as
graph fix,cache fix,boundary fix, orCI fix. - Trace the smallest evidence-backed change in
dependsOn,outputs,inputs,env,globalDependencies, workspace filters, or CI checkout and cache settings. - Prefer a local graph or cache correction over a broad refactor.
- Verify with the narrowest command, diff, or config check that proves the chosen seam.
- Hand off to the next verifier with the repo evidence that supports the decision.
Pitfalls And Gotchas
- Cycles or overly broad edges in
dependsOn - Missing or wrong
outputs - Inputs that accidentally include everything
- Cache-key drift from environment or global dependency mismatch
--affectedon a shallow clone or wrong base ref- Missing remote cache env in CI
- Boundary leakage hidden in package scripts
- Repo-wide rebuilds when one edge or cache key is enough
Rejected Trope
- Rejected trope: treat a Turborepo cache miss as a reason to bypass the cache.
- Better alternative: inspect the hash surface, tighten
inputsorenv, and keep the cache contract honest.
Progressive Disclosure
Start with the smallest useful decision: graph, cache, boundary, or CI fix. Expand only enough to prove the chosen seam. Keep the skill compact enough that it steers decisions instead of becoming a build-system manual.
Verification Pattern
Confirm the failure class, the relevant config surface, the exact turbo command or CI step, and one concrete proof step. Next verifier: build reviewer or CI checker; capture turbo.json, package scripts, lockfile, CI config, and the exact command line or diff that justifies the fix.
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.

