Suite-level context for AI agents (Claude Code) when consumers compose projects from the pycemrg library suite.
When a user is building a project that needs pycemrg functionality ("extract atrial myocardium, then mesh it"), this repo lets Claude:
- Recommend which pycemrg libraries and functions to use
- Output the right install instructions per library (pip or git clone)
- Flag steps that aren't in the suite — distinguishing project-specific glue from things that look like missing suite capabilities
This is a consumer-side tool. It does not handle contribution back to the suite; that goes through normal GitHub Issues/PRs in the individual library repos.
git clone <url> ~/dev/pycemrg-context
cd ~/dev/pycemrg-context
./install.shThe install script symlinks command files into ~/.claude/commands/.
Re-run if you pull updates to the commands.
In any Claude Code session, run:
/pycemrg-build
Then describe what you want to build. Claude will:
- Decompose the task into steps
- Ask you to confirm the decomposition
- Route to the relevant library source files
- Produce a build plan tagging each step as SUITE / PROJECT / GAP
- Output consolidated install instructions
| File | Purpose | Maintained by |
|---|---|---|
LIBRARY_REGISTRY.md |
One row per library: name, distribution, install | Hand (you) |
PYCEMRG_SUITE.md |
One-paragraph + capabilities per library | CI (future) / hand |
source/*.md |
Per-library API reference for consumers | CI on push to main |
commands/pycemrg-build.md |
The consumer slash command | Hand |
commands/export-api.md |
Prompt run by CI to generate source files | Hand |
- Add a row to
LIBRARY_REGISTRY.md - Add a section to
PYCEMRG_SUITE.md(until CI generates this) - Set up the export-api CI workflow in the new library's repo
(see
docs/CI_SETUP.md— to be written when first CI workflow lands) - Source file appears under
source/on the library's next push to main
| Scope | Location |
|---|---|
| Personal practices, manifest | ~/.claude/CLAUDE.md |
| Suite-level consumer routing | This repo |
| Library-specific commands + gotchas | {library}/CLAUDE.md |
| Full per-library API reference | source/{library}.md (this repo, CI-generated) |