Agent skill
creating-packages
Creates new packages in the @kitz monorepo with proper structure, configuration, and workspace integration. Handles package.json, tsconfigs, source files, and runs necessary sync scripts.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/creating-packages
SKILL.md
Creating Packages
Create new packages in the monorepo with full scaffolding.
Steps
- Run the script at
.claude/skills/creating-packages/scripts/create-package.tswith the package name as argument - Run
pnpm installto link the new package in the workspace - Verify the package was created in
packages/<name>/
Reference
The script creates:
packages/<name>/
├── src/
│ ├── _.ts # Namespace file
│ ├── __.ts # Barrel file
│ └── <name>.ts # Main implementation
├── package.json # @kitz/<name> with workspace deps
├── tsconfig.json # Development config
└── tsconfig.build.json # Build config
Package naming:
- Input:
foo-bar→ Package:@kitz/foo-bar - Input:
core→ Package:@kitz/core
Notes
- The
kitzaggregator package is separate and exports from all other packages - After creating, you may want to add the new package to
kitz/src/exports - Run
syncing-package-scriptsskill if the new package needs updated scripts
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?