Skip to content

Add CLAUDE.md with architecture and workflow guidance - #11

Closed
BenCaunt wants to merge 1 commit into
mainfrom
claude/add-claude-documentation-XQrSx
Closed

Add CLAUDE.md with architecture and workflow guidance#11
BenCaunt wants to merge 1 commit into
mainfrom
claude/add-claude-documentation-XQrSx

Conversation

@BenCaunt

@BenCaunt BenCaunt commented May 7, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a root CLAUDE.md so future Claude Code sessions can be productive in this repo without re-deriving its conventions from source.

The doc covers:

  • Common commands — build / probe / inspect / show-interference / report / URDF / pytest, plus the readline pytest workaround that mirrors .github/workflows/synthcad-ci.yml.
  • Architecture — the BUILD_TARGETS registry in synthcad/build.py as the single source of truth that every CLI reads; the dual project layout (synthcad/projects/<slug>/ for source vs. projects/<slug>/ for real-parts/, docs/, tests/, generated/); shared synthcad/cad/ and synthcad/library/ primitives; the .brep cache layer in synthcad/external_parts.py; the inspection / review-asset / PR diff pipeline; and URDF handoff conventions.
  • Conventions — mm units, never hand-edit generated artifacts, preserve real component interfaces, project-local vs. root test split, registry-driven discovery (no per-target CLI flags).
  • Done criteria for a CAD change.
  • Pointer to the two skills/ bundles.

Generic development advice is intentionally omitted to keep the file focused on what requires reading multiple modules to discover.

Test plan

  • CLAUDE.md renders correctly on GitHub
  • Commands listed match those exposed in pyproject.toml [project.scripts]
  • Architecture section accurately reflects current layout of synthcad/ and projects/

Generated by Claude Code

Documents the build-registry-driven design, project layout convention,
shared CAD library, inspection/review pipeline, URDF generation, and the
done criteria for CAD changes so future Claude sessions can be productive
without re-deriving them.
github-actions Bot added a commit that referenced this pull request May 7, 2026
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

SynthCAD CAD review

Compared 50cc8c6e6505 to fafb2b885624 for flat-disk-robot.

@BenCaunt BenCaunt closed this May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants