skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
commontoolsinc/labs49 installs

pattern-deploy

Deploy patterns and test with CLI

How do I install this agent skill?

npx skills add https://github.com/commontoolsinc/labs --skill pattern-deploy
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubwarn

    The skill provides instructions for deploying code patterns using a local CLI tool. It includes commands that search for sensitive identity keys in the user's home directory, which poses a risk of credential exposure. Furthermore, the process involves executing code from external files that are susceptible to indirect prompt injection.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    1/1 file flagged

What does this agent skill do?

Deploy Phase

Use the ct skill, or read skills/ct/SKILL.md, for comprehensive CLI documentation.

Read First

  • docs/development/LOCAL_DEV_SERVERS.md - Local dev setup
  • docs/common/workflows/development.md - Workflow commands

Find Identity Key

ls -la ./ct.key ./identity.key 2>/dev/null || ls -la *.key 2>/dev/null || find . -name "*.key" -maxdepth 2 2>/dev/null

Commands

Check syntax without deploying:

deno task ct check pattern.tsx --no-run

Deploy new pattern:

deno task ct piece new packages/patterns/[name]/main.tsx --identity PATH_TO_KEY

Inspect piece state:

deno task ct piece inspect

Update deployed pattern:

deno task ct piece setsrc packages/patterns/[name]/main.tsx

Test handler via CLI:

deno task ct piece call handlerName --piece PIECE_ID
deno task ct piece step --piece PIECE_ID    # Required! Triggers recomputation
deno task ct piece inspect --piece PIECE_ID  # Now shows updated state

Important: Always run piece step after piece call or piece set. Without it, computed values remain stale and inspect/get return old data.

Get Help

deno task ct --help
deno task ct piece --help

Done When

  • Piece deploys without errors
  • State inspects correctly
  • Handlers respond to CLI calls

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/commontoolsinc/labs/pattern-deploy">View pattern-deploy on skillZs</a>