Create a new monorepo package using the create-package CLI
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/create-package/SKILL.mdUse this skill when the user asks to create a new package in the monorepo.
The yarn create-package command automates the creation of new monorepo packages by:
--name (or -n): The package name. Will be prefixed with "@ocap/" if not provided.--description (or -d): A short description of the package for package.jsonyarn create-package --name <package-name> --description "<description>"yarn workspace @ocap/<package-name> add <dep># Create the package
yarn create-package --name my-package --description "A package for handling my feature"
# Add dependencies if needed
yarn workspace @ocap/my-package add some-dependency @ocap/kernel-agentsWhen adding monorepo dependencies like @ocap/kernel-agents, update the TypeScript references:
// packages/my-package/tsconfig.build.json
{
"references": [{ "path": "../kernel-agents/tsconfig.build.json" }],
}This creates a new package at packages/my-package with the name @ocap/my-package.
packages/template-package/Consensys-Incorporated/ocap-kernel
44fef0c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.