Packkit
v1.2.1Scaffold, compose, and upgrade modern multi-language projects as a native tool for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_generators
START HERE. Lists every Packkit generator (a language target — e.g. javascript, python, go) with its maturity and protocol capabilities. Pick the generator whose language matches what the user wants, then call list_presets and get_generator_schema for it before generating.
list_presets
List the presets a generator offers (e.g. ts-lib, react-lib, node-service for javascript; py-lib, py-cli for python), each with a description and maturity. Experimental presets are hidden unless includeExperimental is true. Choose a preset that matches the shape the user wants instead of guessing.
| Parameter | Type | Description |
|---|---|---|
generator * | string | Generator id from list_generators (e.g. "javascript", "python", "go") |
includeExperimental | boolean | Include experimental presets (default false) |
get_generator_schema
Return a generator's full option schema — every option, its choices and defaults — as JSON. Read this before passing a `config` to generate_project so the options you set are valid for that generator.
| Parameter | Type | Description |
|---|---|---|
generator * | string | Generator id from list_generators |
generate_project
Generate a project with a generator. By default it PREVIEWS (returns the file tree, stack summary and deployment contract without touching disk); pass write: true to scaffold the files under <directory>/<name>. Existing files are never overwritten unless force is set. Call list_presets / get_generator_schema first.
| Parameter | Type | Description |
|---|---|---|
generator * | string | Generator id from list_generators |
name * | string | Project/package name (also the folder name when writing) |
config | object | Options from get_generator_schema (overrides the preset) |
directory | string | Parent directory to create <name>/ in when writing (default: cwd) |
force | boolean | Overwrite colliding existing files when writing (default false) |
preset | string | A preset (or alias) from list_presets |
write | boolean | Write files to disk (default false = preview only) |
plan_upgrade
Plan a re-scaffold of an existing project against the current templates: a three-way diff (baseline vs on-disk vs freshly generated) that separates template changes from the user's own edits, so nothing is clobbered. Reports the plan only — it writes nothing. Requires a generator that supports baseline-upgrade.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Path to the existing scaffolded project |
generator * | string | Generator id from list_generators |
name * | string | Project name (as originally generated) |
config | object | The options it was generated with |
preset | string | The preset it was generated from (if any) |
compose_fullstack
Compose two projects — a static frontend and an HTTP service backend, from ANY generators — into one fullstack repo (apps/web + apps/server) with a fullstack deployment contract and a docker-compose. Language-neutral: e.g. a "javascript" react-app frontend + a "python" py-service (or "go" go-service) backend. By default PREVIEWS; pass write: true to scaffold under <directory>/<name>.
| Parameter | Type | Description |
|---|---|---|
backend * | object | The service backend to generate: { generator, name, preset?, config? } |
frontend * | object | The static frontend to generate: { generator, name, preset?, config? } |
name * | string | Repo name (folder when writing; README heading) |
backendDir | string | Subdir for the backend (default apps/server) |
directory | string | Parent directory to create <name>/ in when writing |
dockerCompose | boolean | Emit a root docker-compose.yml (default true) |
force | boolean | Overwrite colliding existing files when writing |
frontendDir | string | Subdir for the frontend (default apps/web) |
write | boolean | Write files to disk (default false = preview only) |