Skip to content
cccskills
FreePublished on GitHub

create-package

Create a new monorepo package using the create-package CLI

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9 stars(GitHub 9 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Create Package Skill

Use this skill when the user asks to create a new package in the monorepo.

Overview

The yarn create-package command automates the creation of new monorepo packages by:

  • Generating package scaffolding from the template package
  • Setting up the package structure, configuration files, and dependencies
  • Creating package.json with the provided name and description

Required Arguments

  • --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.json

Usage Pattern

  1. Ask the user for the package name and description if not provided
  2. Run yarn create-package --name <package-name> --description "<description>"
  3. Add any additional dependencies using yarn workspace @ocap/<package-name> add <dep>

Example

# 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-agents

When 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.

Notes

  • The package name will automatically be prefixed with "@ocap/" if not provided
  • The created package is private by default
  • The template is located at packages/template-package/
  • All placeholder values in the template will be replaced with actual values

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

How to review code; a pull request, feature branch, local changes etc.

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9Updated Oct 26, 2026

commit

Free

Optionally checks, then commits code to the current or a new feature branch.

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9Updated Oct 26, 2026

Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9Updated Oct 26, 2026

Run the evm-wallet Docker e2e tests (build, start stack, wait for healthy, test, diagnose failures).

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9Updated Oct 26, 2026

How to add entries to the glossary

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9Updated Oct 26, 2026

How to check code by linting, building, and testing.

The English summary is being prepared. Showing the original description.

Consensys-Incorporated/ocap-kernel9Updated Oct 26, 2026

See all skills by Consensys-Incorporated

Report a problem with this skill