add-package

star 0

Create a new publishable package following OneUI standards

sridharkumaresan By sridharkumaresan schedule Updated 2/24/2026

name: add-package description: Create a new publishable package following OneUI standards

Objective

Add a new package to the monorepo that conforms to all architectural rules.

Package Requirements

Each package must:

  • Live under packages/ (or packages/organisms/)
  • Use TypeScript
  • Provide independent build capability
  • Export a public API from src/index
  • Be tree-shakeable
  • Include README

Configuration

Add:

  • package metadata
  • build script
  • lint script
  • typecheck script
  • test script

Ensure compatibility with:

  • pnpm workspaces
  • Turborepo pipeline
  • Changesets publishing

Dependency Rules

  • React must be a peer dependency for UI packages
  • Internal packages should be referenced via workspace protocol
  • Avoid circular dependencies

Documentation

Add a README explaining:

  • Purpose of the package
  • Public API overview
  • Usage examples (high-level)

Success Criteria

  • Package builds successfully
  • Package integrates into workspace pipelines
  • No architectural rule violations
Install via CLI
npx skills add https://github.com/sridharkumaresan/oneui-design-system --skill add-package
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
sridharkumaresan
sridharkumaresan Explore all skills →