Repository navigation
Expand file tree
/
Copy pathllms.txt
More file actions
50 lines (33 loc) · 2.6 KB
/
Copy pathllms.txt
File metadata and controls
50 lines (33 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Packkit (create-packkit)
> A highly configurable, non-interactive scaffolder for modern npm packages, CLIs, HTTP services, and front-end apps (React/Vue/Svelte). Designed to be driven by humans OR automation/agents.
Packkit generates a complete, ready-to-ship project from a single deterministic command. It is safe for agents to call because every option is a flag — no prompts are required when a name and flags (or a preset) are given.
## For agents: how to use it
Introspect the full interface (all options, presets, aliases) as JSON:
```sh
npx create-packkit --schema
```
Generate non-interactively (no prompts; `--no-install`/`--no-git` for a pure file scaffold):
```sh
npx create-packkit <preset> <name> [--flags...]
```
The preset and name positionals may be given in either order; an unrecognized
positional (e.g. a mistyped preset) is a hard error, not silently ignored.
Examples:
```sh
npx create-packkit ts-lib my-lib
npx create-packkit cli my-cli --pm pnpm
npx create-packkit react-lib ui --storybook
npx create-packkit node-service api
npx create-packkit react-app web
npx create-packkit lib my-lib --no-install --no-git
```
## Presets (and short aliases)
`ts-lib` (`lib`) · `js-lib` (`jslib`) · `ts-cli` / `cli` · `react-lib` (`rlib`) · `react-app` (`rapp`) · `vue-lib` (`vlib`) · `vue-app` (`vapp`) · `svelte-lib` (`slib`) · `svelte-app` (`sapp`) · `node-service` (`svc`) · `oss` · `minimal` · `full`
## Key flags
`--language ts|js` · `--framework none|react|vue|svelte` · `--target library|cli|service|app` (repeatable) · `--module esm|cjs|dual` · `--bundler tsup|tsdown|unbuild|rollup|none` · `--minify` · `--test vitest|jest|node|none` · `--lint eslint-prettier|biome|oxlint|none` · `--hooks ...` · `--release changesets|release-it|np|none` · `--workflows ci|npm-publish|pages|codeql|codecov|stale` (repeatable) · `--pkg-checks` (publint + are-the-types-wrong) · `--knip` · `--jsr` · `--deps renovate|dependabot|none` · `--license MIT|Apache-2.0|ISC|none` · `--pm npm|pnpm|yarn|bun` · `--from <file>` (load a JSON profile) · `--no-install` · `--no-git`
## MCP server
`packkit-mcp` (https://github.com/PackkitLabs/packkit-mcp) exposes every Packkit generator (JS/TS + Python) as Model Context Protocol tools (`list_generators`, `list_presets`, `get_generator_schema`, `generate_project`, `plan_upgrade`). MCP config: `{ "mcpServers": { "packkit": { "command": "npx", "args": ["-y", "packkit-mcp"] } } }`.
## Links
- Web configurator: https://packkitlabs.github.io/create-packkit-js/
- Repo: https://github.com/PackkitLabs/create-packkit-js
- npm: https://www.npmjs.com/package/create-packkit