new-package

Community

Scaffold a wired monorepo package quickly.

Authorjamesaphoenix
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: new-package
Download link: https://github.com/jamesaphoenix/tx-agent-kit/archive/main.zip#new-package

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.