create-ai-engineering-system
v0.2.0
Published
Bootstrap a new project from the AI Engineering System via `npm create ai-engineering-system@latest`.
Maintainers
Readme
create-ai-engineering-system
Thin Node wrapper around ai-engineering-system's scripts/init-project.sh.
Use it when you don't want to clone the system repo by hand.
quickstart
npm create ai-engineering-system@latest -- \
--name my-api \
--stack go-gin-hexagonal \
--agent claudeThe -- separator is required by npm create — every flag after it is forwarded to init-project.sh verbatim.
stacks
--stack is one of:
go-gin-layeredgo-gin-cleango-gin-hexagonalnestjs-layerednextjs-defaultfastify-hexagonalfastapi-layeredreact-native-expo
agents
--agent is one of claude | codex | both (default: claude).
environment variables
| Variable | Purpose |
|----------|---------|
| AI_ENG_SYSTEM_HOME | Path to a local ai-engineering-system checkout. When set, the wrapper uses it instead of cloning. Useful for system contributors. |
| AI_ENG_SYSTEM_TAG | Pin the wrapper to a specific system release tag (e.g. ai-engineering-system-v0.6.0). When unset, the wrapper queries the remote and clones the latest ai-engineering-system-v* tag. Falls back to the default branch only when the lookup fails. |
| AI_ENG_KEEP_TMP=1 | Keep the temporary clone on exit (debugging). |
requirements
- Node.js ≥ 20
- Bash ≥ 4 on
PATH(macOS ships bash 3.2; install viabrew install bash) gitonPATH(only when the wrapper has to clone the system)
how it resolves the system
- If
AI_ENG_SYSTEM_HOMEis set and points at a valid checkout, use it. - Otherwise, walk up from the wrapper's install dir looking for a sibling
scripts/init-project.sh(this covers running the wrapper from inside the system monorepo during development). - Otherwise, look up the system version to clone:
- If
AI_ENG_SYSTEM_TAGis set, use that tag. - Otherwise, query the remote for the latest
ai-engineering-system-v*tag and use it. - Fall back to the default branch only when the lookup fails.
- If
The wrapper itself does nothing except locate the system source, verify bash, and exec init-project.sh. All bootstrap logic lives in the system repo.
releasing
The wrapper is versioned independently of the system. To publish a new version:
Bump
versioninpackage.json.Open a PR, merge to main.
Create and push a tag matching
create-ai-engineering-system-v<version>:git tag create-ai-engineering-system-v0.2.0 git push origin create-ai-engineering-system-v0.2.0The
Publish create-ai-engineering-systemGH Actions workflow runs on tag push, verifies the tag matchespackage.json, and publishes to npm with provenance.
A workflow_dispatch button on the same workflow runs npm publish --dry-run for sanity-checking without uploading. The repo must have an NPM_TOKEN secret with publish rights.
license
MIT — see the system repo LICENSE.
