pattern-test
Use Skill("ct") for ct CLI documentation when running commands.
Test Sub-Pattern
Prerequisite Check
Before writing tests, verify the pattern has:
pattern<Input, Output>()(not single-typepattern<State>())- Actions typed as
Stream<T>in Output interface - Bound handlers returned from the pattern
If missing, fix the pattern first - tests can't call .send() without proper Output types.
Read First
docs/common/workflows/pattern-testing.md- Full test file format and prerequisites
Test Command
deno task ct test packages/patterns/[name]/[file].test.tsx
More from commontoolsinc/labs
knowledge-base
Shared foundation for Oracle & Corrector agents. Establishes the source hierarchy for resolving conflicts between documentation, code, and specs. Load this skill first when investigating how the system works.
102lit-component
Guide for developing Lit web components in the Common UI v2 system (@commonfabric/ui/v2). Use when creating or modifying cf- prefixed components, implementing theme integration, working with Cell abstractions, or building reactive UI components that integrate with the Common Fabric runtime.
62pattern-critic
Critic agent that reviews pattern code for violations of documented rules, gotchas, and anti-patterns. Produces categorized checklist output with [PASS]/[FAIL] for each rule.
54task-management
Guide for managing tasks within a session using bd (beads) for subtasks and local todo lists. Use this skill when breaking down plans into issues, tracking progress, managing dependencies, or coordinating work across sessions and agents. Triggers include requests to "manage tasks", "track progress", "break down this work", or questions about bd workflow.
52pattern-debug
Debug pattern errors systematically
51pattern-ui
Add UI polish with layout and styling
51