Claude-skill-registry 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
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/creating-packages" ~/.claude/skills/majiayu000-claude-skill-registry-creating-packages && rm -rf "$T"
manifest:
skills/data/creating-packages/SKILL.mdsource content
Creating Packages
Create new packages in the monorepo with full scaffolding.
Steps
- Run the script at
with the package name as argument.claude/skills/creating-packages/scripts/create-package.ts - Run
to link the new package in the workspacepnpm install - 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:
→ Package:foo-bar@kitz/foo-bar - Input:
→ Package:core@kitz/core
Notes
- The
aggregator package is separate and exports from all other packageskitz - After creating, you may want to add the new package to
exportskitz/src/ - Run
skill if the new package needs updated scriptssyncing-package-scripts