ml-container-creator
CLAUDE.md20 starsChanged 17 days agoApache-2.0View on GitHub
This repo is also worked on by Kiro, which may be running at the same time. The shared rules live in the Kiro steering files below and are imported, not copied, so the two tools cannot drift. Where an import disagrees with this file, this file wins (the imports have a few stale details, listed under Corrections). @.kiro/steering.md @.kiro/steering/derive-dont-hardcode.md
- Commits and pushes
The file
We split this CLAUDE.md into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 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.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 9
Treat
.kiro/as read-only: Never edit, move or delete anything under .kiro/ (steering, specs, trackers, backlog.jsonl, tools/). - Very specific: line 10
Read specs and trackers freely: .kiro/specs/<name>/ (requirements, design, tasks), .kiro/backlog.jsonl, .kiro/v2.0-tracker.md.
- Very specific: line 11
Only .kiro/steering.md and .kiro/hyperpod-ops-surface.md are tracked in git.
- Very specific: line 12
Do not create AGENTS.md, .kiro/steering/* or anything else Kiro would load automatically.
- Distinctive: line 13
Run git status before editing.
- Very specific: line 14
Never run npm run codegen, tests or git operations that rewrite many files while Kiro may be doing the same.
- Very specific: line 20
Do not infer implementation status from the package.json version.
- Very specific: line 30
Use plan mode for any BL item.
- Distinctive: line 31
When a test fails, decide whether the test or the code is wrong using the spec, committed behavior and git history.
- Distinctive: line 32
Never fabricate data to make a test pass.
- Very specific: line 37
Ask before git commit, git push, npm publish, npx cdk, aws and node scripts/e2e-runner.js.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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
ml-container-creator (MLCC) — Claude Code notes
This repo is also worked on by Kiro, which may be running at the same time. The shared rules live in the Kiro steering files below and are imported, not copied, so the two tools cannot drift. Where an import disagrees with this file, this file wins (the imports have a few stale details, listed under Corrections).
@.kiro/steering.md @.kiro/steering/derive-dont-hardcode.md
Kiro coexistence (read first)
- Treat
.kiro/as read-only. Never edit, move or delete anything under.kiro/(steering, specs, trackers,backlog.jsonl,tools/). Kiro owns it and may be mid-edit. If a tracker or spec needs an update, say so and let the user make it. - Read specs and trackers freely:
.kiro/specs/<name>/(requirements, design, tasks),.kiro/backlog.jsonl,.kiro/v2.0-tracker.md. - Only
.kiro/steering.mdand.kiro/hyperpod-ops-surface.mdare tracked in git. The rest of.kiro/is local-only (gitignored), so it exists only in this checkout. - Do not create
AGENTS.md,.kiro/steering/*or anything else Kiro would load automatically. - Run
git statusbefore editing. If files outside your task are already modified, Kiro is probably working: leave them alone and avoid broadgit add -A; stage files by name. - Never run
npm run codegen, tests orgitoperations that rewrite many files while Kiro may be doing the same. Ask the user if unsure.
Corrections to the imported steering
- Regenerate code with
npm run codegen(there is nonpm run generate). - The commit gate is
.husky/pre-commit, not just ESLint. In order: reject hardcodednumRunsin staged property tests;lint-staged; Pythonast.parseon staged.py(skips EJS templates containing<%); codegen parity when schema, codegen scripts or catalogs are staged (plus catalog and tune-manifest validation);node scripts/sync-command-generator.js --check;npm run buildininfra/bootstrap-moduleswhen.tsfiles are staged; strip__pycache__. Never bypass it with--no-verify..git/configpointscore.hooksPathat.husky/_, so.githooks/pre-commitis a legacy duplicate and not the live gate. - There are 13 bundled MCP servers in
servers/(the steering text says 12 and lists 11). They are MLCC's product, not dev tooling. - Do not infer implementation status from the
package.jsonversion. Check the tracker and the code. Specs for a release often sit at drafted or hardened long after the minor bump.
Extra rules not in the steering files
- Flexible Training Plan (
trainingPlanArn) is NOT a bootstrap-time input. Do not add it as a bootstrap option, SSM value or CDK context. The integration point is undecided (likelydo/deploy --target hyperpod-eksor ado/configvariable). Ask before implementing. - MLflow registered model names must not contain
/(breaks loading, MLflow #8801). Use--between family/variant and__between sub-components. do/scripts that callpython3must call_require_python_env(fromlib/script-contract.sh) after sourcingscript-contract.sh, so the project venv (.mlcc/hey-venv) auto-activates.- In
deploy.d/hyperpod-eks, anything exported inside$(...)does not reach the parent shell. SetHP_MODEL_SOURCEexplicitly beforeenvsubst. - Serving on HyperPod is vLLM via the inference operator. Do not add SGLang references.
Working from specs (Claude Code)
- Use plan mode for any BL item. Read its spec and its row in
.kiro/v2.0-tracker.mdfirst, then worktasks.mdin order and report which tasks you finished. - When a test fails, decide whether the test or the code is wrong using the spec, committed behavior and git history. Do not fix whichever side is easier.
- Never fabricate data to make a test pass. Use a documented skip.
Claude Code guardrails
.claude/settings.jsondenies edits tosrc/lib/generated/**, and aPreToolUsehook (.claude/hooks/guard-generated.mjs) blocks edits inside# >>> GENERATED ... # <<< END GENERATEDblocks. The hook only covers Edit/Write, so never usesed -ior shell redirection on generated files either. Edit the schema or descriptor and runnpm run codegen..mcp.jsonis Claude-only and loads juste2e-statusandagent-knowledge. Kiro has no MCP config in this setup.- Ask before
git commit,git push,npm publish,npx cdk,awsandnode scripts/e2e-runner.js.
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.

