skills/package-publish/SKILL.md
# Package Publish Skill Publish packages to npm using Changesets workflow. ## Task You are helping the user publish packages to npm with proper versioning and changelog generation. ## Instructions ### Pre-publish Checklist 1. **Ensure all checks pass**: ```bash bun run lint && bun run typecheck && bun run test && bun run build ``` 2. **Check for uncommitted changes**: ```bash git status ``` All changes must be committed before publishing. 3. **Verify on main branch**
npx skillsauth add leobrival/topographic-skills skills/package-publishInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Publish packages to npm using Changesets workflow.
You are helping the user publish packages to npm with proper versioning and changelog generation.
Ensure all checks pass:
bun run lint && bun run typecheck && bun run test && bun run build
Check for uncommitted changes:
git status
All changes must be committed before publishing.
Verify on main branch:
git branch --show-current
Should be main.
Create a changeset (if not already done):
bun changeset
Version packages:
bun version-packages
This updates package.json versions and generates CHANGELOGs.
Review changes:
Commit version changes:
git add .
git commit -m "chore: version packages"
git push origin main
Publish to npm:
bun release
This builds and publishes all packages with changesets.
"You need to login to npm"
npm login
# Or set NPM_TOKEN environment variable
"Package already exists"
bun changeset to create new version bump"Build failed"
bun run build to verifyPublishing packages...
✅ @topographic-studio/[email protected]
✅ @topographic-studio/[email protected]
✅ @topographic-studio/[email protected]
Published 3 packages successfully!
View on npm:
- https://npmjs.com/package/@topographic-studio/ui
- https://npmjs.com/package/@topographic-studio/utils
- https://npmjs.com/package/@topographic-studio/types
Before publishing, verify:
tools
# New Package Skill Create a new package in the Topographic Studio monorepo. ## Task You are helping the user scaffold a new package in the monorepo with all necessary configuration. ## Instructions 1. **Gather information** from the user: - Package name (e.g., "hooks", "animations", "api-client") - Package description - Package type (library, UI components, utilities, types, config) - Dependencies needed 2. **Create package structure**: ``` packages/{name}/ ├── packag
development
# Monorepo Build Skill Build all packages in the Topographic Studio monorepo using Turborepo. ## Task You are helping the user build all packages in the monorepo. ## Instructions 1. Navigate to the monorepo root directory 2. Run the build command with Turborepo 3. Report any build errors with specific package names and error messages 4. If successful, show a summary of built packages ## Commands ```bash # Build all packages bun run build # Build with cache info turbo run build --summariz
development
# Check All Skill Run the complete validation suite for Topographic Studio projects. ## Task You are helping the user validate their code with a full quality check suite. ## Instructions Run these checks in order: 1. **Lint** - Check code style with Biome ```bash bun run lint ``` 2. **Type Check** - Verify TypeScript types ```bash bun run typecheck ``` 3. **Test** - Run all tests ```bash bun run test ``` 4. **Build** - Build all packages ```bash bun run
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.