TL;DR
The CLI is already mostly mono-repo-safe by design: every scaffolded project is self-contained (.intropy/scaffold.json + its own skills.json), and manifests create / skills * find their project by walking up from the current directory, so nearest-project-wins works today as long as you cd in. What's missing is everything that operates across or from above the projects: targeting a project without cd, enumerating projects, running a command over all of them, and guarding against the walk-up escaping a project's boundary. Those are the four things I'd add.
What works today
int create is layout-agnostic. -n orders scaffolds into ./orders wherever you stand, so repo/integrations/orders, repo/integrations/invoices etc. just works. Crucially, skillProjectAt (cmd/intropy/int_create_skills.go:115) deliberately roots the skills project exactly at the new directory and never walks up — the comment even says "the scaffolded integration is its own skills project even when created inside a larger repo". Someone already thought about this.
- Per-project records are self-contained.
scaffold.json carries blueprint, owner/repo, version, and values — no repo-level state, no shared config file to fight over.
- Nearest-wins resolution.
blueprint.FindScaffold (internal/blueprint/scaffold.go:69) and skill.FindProject (internal/skill/project.go:20) both walk up to the first match, so from anywhere inside orders/ you get orders' context. manifests create then defaults output to <projectRoot>/deploy, which is the right per-project answer.
The gaps
1. No way to target a project without cd-ing into it. deploy.CreateOptions.StartDir exists internally but isn't exposed as a flag. In a mono-repo, CI pipelines and scripts want intropy -C integrations/orders manifests create, not cd-juggling.
2. No enumeration. There's no command that answers "which scaffolded projects live in this repo?" — the primitive a CI matrix build, a Backstage ingestion job, or an agent needs before fanning out.
3. Confusing failure at the repo root. Run manifests create at the mono-repo root and you get ErrScaffoldNotFound with a hint about re-scaffolding — misleading when three perfectly good projects sit one level down. The error assumes single-project repos.
4. The skills walk-up can escape the project. If someone runs skills add at the repo root once (which auto-bootstraps a skills.json in cwd, per the README), every later skills add from a subdirectory that happens to lack its own skills.json silently installs at the repo root. The walk-up has no boundary — it doesn't stop at .git or at another project's .intropy/.
Suggestions, in priority order
a) Add a persistent -C <dir> flag on the root command (the git -C / make -C convention). Implementation is small: resolve it in the root's PersistentPreRunE and either os.Chdir or thread it as StartDir into the option structs — deploy.CreateOptions already has the field. This alone makes the CLI fully scriptable in a mono-repo:
for p in $(intropy int list -o json | jq -r '.[].path'); do
intropy -C "$p" manifests create --no-input -f "$p/deploy-values.yaml"
done
b) Add intropy int list — walk down from cwd (or the git root), collect every .intropy/scaffold.json, print a table of path / blueprint / version, with -o json for machines. Skip .git, node_modules, bin, dist, and don't descend into a directory once it's matched (projects don't nest). This is the discovery primitive; everything else composes on top of it.
c) Improve the not-found error with a downward scan. When the walk-up fails, do a bounded scan below cwd and, if projects are found, say so: "no scaffold.json here, but found 3 scaffolded projects: Demo/, Orders/, … — run with -C or cd into one." Cheap, and it converts the most common mono-repo confusion into a self-explaining moment.
d) Bound the walk-ups at the repo boundary. Stop both FindScaffold and FindProject when the directory contains .git and nothing matched — matching there is fine, but walking past the repo root into $HOME never finds anything intentional. For the skills case specifically, consider also stopping the skills.json walk-up when a directory contains .intropy/scaffold.json but no skills.json — that directory is a project boundary, and bootstrapping there beats silently installing into a parent.
What I'd deliberately skip (for now): a workspace file and a built-in fan-out command. A .intropy/workspace.json at the root, or manifests create --all, adds state and partial-failure semantics (what happens when project 3 of 5 needs an interactive prompt?) for something int list -o json + a shell loop or a CI matrix already does deterministically. Convention-over-config: the repo layout is the workspace, discovered by scanning for scaffold.json. If fan-out demand becomes real, add it later on top of the list command — the composition order stays right.
One caveat on skills duplication: with one project per integration, each gets its own .agents/skills copy of the collection. I'd accept that — independent versioning per integration is a feature, and skills.json already supports additionalBasePaths if a team truly wants a shared install location.
Separately: your working tree has the whole manifests create feature plus the scaffold-record work sitting uncommitted (scaffold.go, deploy/, manifests*.go, the README section). That's a coherent unit — worth committing before starting mono-repo changes so the diffs stay separable.