| name | blueprint |
|---|---|
| description | Read to create a project from the TypeScript Blueprint template. |
English | 简体中文
Blueprint is a strict TypeScript starter with one SDK, a thin CLI, and Heaven Style agent guidance. This branch contains the current 0.2.0-alpha.1 template.
For this upstream checkout, fetch both product branches before running the full gate. For a new template repository or extracted archive, complete “Create your project” first, including the upstream-only parity setting.
Use Node.js 24 or newer and the pnpm version declared in package.json.
pnpm install --frozen-lockfile
pnpm check
pnpm exec bp --helpUse the public SDK from the built or installed package:
import { getProjectInfo } from "@magolor/blueprint";
console.log(getProjectInfo());The result contains the project name, version, and output format. Configuration is validated and immutable. BLUEPRINT_PROJECT_NAME and BLUEPRINT_OUTPUT configure CLI output; the supported formats are text and json.
- Create a repository from the template and choose the required product branch.
- Replace package, import, CLI, author, and repository identities in the manifest, source, tests, and root documents.
- Replace upstream policy in
AGENTS.mdandBLUEPRINT.md; update citation, contact details, badges, and release ownership. - Keep Heaven Style unchanged during product renaming. Remove the two-branch parity gate if your project does not maintain that shared-tree contract.
- Refresh the lockfile and generated README, then run the full check command above.
| Path | Purpose |
|---|---|
src/ |
One native SDK and CLI package. |
tests/ |
Public behavior, failure paths, and tooling contracts. |
scripts/ |
Repository checks, generation, and release preparation. |
docs/ |
Engineering guidance, one task queue, and development evidence. |
.agents/skills/heaven-style/ |
Canonical shared agent guidance. |
Add folders or packages only for real responsibilities. Empty template directories do not require an application framework, database, GUI, or service.
Install or replace the standard local skill with the following command. The TypeScript template uses uv only for this standalone Python helper.
uv run --no-project --with PyYAML==6.0.3 python .agents/skills/heaven-style/scripts/install.pyThe default destination is ~/.agents/skills/heaven-style. Use --all-harnesses when the Claude plugin bridge is needed.
typescript is the hosted default; python is the Python starter. Their Heaven Style trees are identical. Python packages use the equivalent version 0.2.0a1.
Use release preparation for verified template archives. Preparing an archive does not publish a package or GitHub release.
See Contributing, Support, Security, Code of conduct, Changelog, and Acknowledgements. Citation metadata is in CITATION.cff; the project uses the MIT License.
The engineering guide owns the documentation map. docs/tasks.yaml is the only live queue.