ai-ready-nx-workspace
CLAUDE.md2 starsChanged 3 months agoMITView on GitHub
Every commit you make here carries CAF-SDLC-010 provenance trailers: AI-Tool is not optional. The PR gate fails a change that declares AI involvement without naming a tool. Never invent a session id. The full convention, and what the gate does with it, is .ai/standards/ai-provenance.md — read that, do not work from this summary. Pull requests are tiered T0–T3 by git-native-sdlc-controls@v0.2.0. The tier is the authority on risk and selects the .ai/workflows/ pipeline; do not declare a tier from story points.…
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- link-workspace-packagesSkill
- monitor-ciSkill
- nx-generateSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
- link-workspace-packagesSkill
- monitor-ciSkill
- nx-generateSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Very specific: line 7
When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through nx (i.e.
- Very specific: line 11
NEVER guess CLI flags - always check nx_docs or --help first when unsure
- Distinctive: line 19
USE for: advanced config options, unfamiliar flags, migration guides, plugin configuration, edge cases
- Very specific: line 20
DON'T USE for: basic generator syntax (nx g @nx/react:app), standard commands, things you already know
- Distinctive: line 29
Every commit you make here carries CAF-SDLC-010 provenance trailers:
- Distinctive: line 53
Before opening a PR, tier your branch the way CI will:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
<!-- nx configuration start--><!-- Leave the start & end comments to automatically receive updates. -->General Guidelines for working with Nx
- For navigating/exploring the workspace, invoke the
nx-workspaceskill first - it has patterns for querying projects, targets, and dependencies - When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through
nx(i.e.nx run,nx run-many,nx affected) instead of using the underlying tooling directly - Prefix nx commands with the workspace's package manager (e.g.,
pnpm nx build,npm exec nx test) - avoids using globally installed CLI - You have access to the Nx MCP server and its tools, use them to help the user
- For Nx plugin best practices, check
node_modules/@nx/<plugin>/PLUGIN.md. Not all plugins have this file - proceed without it if unavailable. - NEVER guess CLI flags - always check nx_docs or
--helpfirst when unsure
Scaffolding & Generators
- For scaffolding tasks (creating apps, libs, project structure, setup), ALWAYS invoke the
nx-generateskill FIRST before exploring or calling MCP tools
When to use nx_docs
- USE for: advanced config options, unfamiliar flags, migration guides, plugin configuration, edge cases
- DON'T USE for: basic generator syntax (
nx g @nx/react:app), standard commands, things you already know - The
nx-generateskill handles generator discovery internally - don't call nx_docs just to look up generator syntax
<!-- nx configuration end--><!-- The block above is regenerated by Nx. Keep repository rules below it. -->Committing in this workspace
Every commit you make here carries CAF-SDLC-010 provenance trailers:
AI-Assisted: true
AI-Tool: claude-code
AI-Session: <your session id, verbatim — omit if you do not have one>
Prompt-Ref: <issue or task, e.g. #12>AI-Tool is not optional. The PR gate fails a change that declares AI involvement
without naming a tool. Never invent a session id.
The full convention, and what the gate does with it, is
.ai/standards/ai-provenance.md — read that, do not
work from this summary.
<!-- gate-only:start -->The PR gate
Pull requests are tiered T0–T3 by git-native-sdlc-controls@v0.2.0. The tier is the
authority on risk and selects the .ai/workflows/ pipeline; do not declare a tier from
story points. See docs/sdlc-controls-integration.md.
Before opening a PR, tier your branch the way CI will:
pnpm nx graph --file=/tmp/graph.json
node tools/sdlc-controls/generate-component-map.mjs /tmp/graph.json > /tmp/components.yaml
sdlc-controls tier --base origin/main --head HEAD --config /tmp/components.yaml<!-- gate-only:end -->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.

