pattern-deploy
π―Skillfrom commontoolsinc/labs
Deploys and manages Claude patterns via CLI, enabling syntax checking, deployment, inspection, and testing of pattern handlers.
Installation
npx skills add https://github.com/commontoolsinc/labs --skill pattern-deploySkill Details
Deploy patterns and test with CLI
Overview
# Deploy Phase
Use Skill("ct") for comprehensive ct CLI documentation.
Read First
docs/development/LOCAL_DEV_SERVERS.md- Local dev setupdocs/common/workflows/development.md- Workflow commands
Find Identity Key
```bash
ls -la .key 2>/dev/null || ls -la ~/.claude/.key 2>/dev/null || find . -name "*.key" -maxdepth 2 2>/dev/null
```
Commands
Check syntax without deploying:
```bash
deno task ct check pattern.tsx --no-run
```
Deploy new pattern:
```bash
deno task ct charm new packages/patterns/[name]/main.tsx --identity PATH_TO_KEY
```
Inspect charm state:
```bash
deno task ct charm inspect
```
Update deployed pattern:
```bash
deno task ct charm setsrc packages/patterns/[name]/main.tsx
```
Test handler via CLI:
```bash
deno task ct charm call handlerName --charm CHARM_ID
```
Get Help
```bash
deno task ct --help
deno task ct charm --help
```
Done When
- Charm deploys without errors
- State inspects correctly
- Handlers respond to CLI calls
More from this repository8
Guides developers in creating and integrating Lit web components within the Common UI v2 system, focusing on reactive, theme-aware, and runtime-integrated UI components.
Guides developers in creating reactive TypeScript patterns for CommonTools, focusing on efficient, iterative development from sketch to deployment.
Guides developers in deploying, managing, and interacting with charms and recipes using the CommonTools CLI through precise command-line operations.
Establishes a hierarchical source resolution system for Oracle & Corrector agents, prioritizing specs, code, and documentation.
Validates pattern implementation by writing and executing structured test sequences for pattern-based components.
Applies standardized UI components and layout patterns to polish and structure user interfaces with consistent design.
Breaks down complex tasks into manageable subtasks using bd (beads), tracking progress and dependencies across sessions.
Generates TypeScript schemas with Input/Output types for patterns, ensuring type safety and testability through structured type definitions.