What problem does it solve?
Scaffolds a new package in the monorepo with correct workspace wiring, TypeScript configuration, and path aliases, reducing manual setup time.
Core Features & Use Cases
- Package creation: creates a new package directory under the appropriate path (packages/<category-path>/<name>/src) and wires it into the monorepo.
- Standardized metadata: generates package.json with the @tx-agent-kit scope (name @tx-agent-kit/<name>), default version, "module" type, and basic scripts for build, type-check, lint, and tests.
- TypeScript & tooling setup: creates tsconfig.json with the proper extends and root/out dirs and adds vitest.config.ts for unit tests.
- Source entry: adds a minimal src/index.ts as a barrel export.
- Workspace wiring: updates tsconfig.base.json to register the path alias @tx-agent-kit/<name>.
- Verification & onboarding: provides a repeatable workflow and a checklist to verify the new package compiles and tests run.
Quick Start
Execute the scaffold workflow by running pnpm install, pnpm env:configure, and then following the steps in this Skill to create and wire the new package.