pattern-debug — community pattern-debug, community, ide skills

v1.0.0

이 스킬 정보

TypeScript 환경에서 고급 패턴 디버깅 기능을 필요로 하는 AI 에이전트에 적합합니다. Debug pattern errors systematically

commontoolsinc commontoolsinc
[30]
[12]
Updated: 3/11/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
50
Canonical Locale
en
Detected Body Locale
en

TypeScript 환경에서 고급 패턴 디버깅 기능을 필요로 하는 AI 에이전트에 적합합니다. Debug pattern errors systematically

이 스킬을 사용하는 이유

5단계 프로세스와 오류 참조 매트릭스를 사용하여 패턴 문제를 체계적으로 디버깅할 수 있는 기능을 에이전트에게 부여하며, Deno 태스크 CLI와 TypeScript 오류 확인을 사용하여 배포 및 조각 문제를 해결합니다.

최적의 용도

TypeScript 환경에서 고급 패턴 디버깅 기능을 필요로 하는 AI 에이전트에 적합합니다.

실행 가능한 사용 사례 for pattern-debug

TypeScript 코드의 패턴 문제 디버깅
Deno 태스크 CLI를 사용하여 배포 오류를 해결하는 것
오류를 문서와 일치시켜 효율적인 문제 해결을 수행합니다

! 보안 및 제한 사항

  • Deno 태스크 CLI 설치가 필요합니다
  • TypeScript 환경에 특정
  • 문서 파일(예: README.md, workflow.md)에 대한 액세스가 필요합니다

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is pattern-debug?

TypeScript 환경에서 고급 패턴 디버깅 기능을 필요로 하는 AI 에이전트에 적합합니다. Debug pattern errors systematically

How do I install pattern-debug?

Run the command: npx killer-skills add commontoolsinc/labs/pattern-debug. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for pattern-debug?

Key use cases include: TypeScript 코드의 패턴 문제 디버깅, Deno 태스크 CLI를 사용하여 배포 오류를 해결하는 것, 오류를 문서와 일치시켜 효율적인 문제 해결을 수행합니다.

Which IDEs are compatible with pattern-debug?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for pattern-debug?

Deno 태스크 CLI 설치가 필요합니다. TypeScript 환경에 특정. 문서 파일(예: README.md, workflow.md)에 대한 액세스가 필요합니다.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add commontoolsinc/labs/pattern-debug. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use pattern-debug immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

pattern-debug

Install pattern-debug, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Debug Pattern

Use Skill("ct") for ct CLI documentation if debugging deployment or piece issues.

Read First

  • docs/development/debugging/workflow.md - 5-step debugging process
  • docs/development/debugging/README.md - Error reference matrix

Process

  1. Check TypeScript errors:

    bash
    1deno task ct check pattern.tsx --no-run
  2. Match error to documentation:

    • Read the error message carefully
    • Check docs/development/debugging/README.md for matching errors
  3. Check gotchas:

    • docs/development/debugging/gotchas/handler-inside-pattern.md
    • docs/development/debugging/gotchas/filter-map-find-not-a-function.md
    • docs/development/debugging/gotchas/onclick-inside-computed.md
  4. Simplify to minimal reproduction:

    • Comment out code until error disappears
    • Add back piece by piece to find root cause
  5. Fix and verify:

    • Apply fix
    • Run tests to confirm

Common Issues

Handler defined inside pattern body:

  • Move handler() to module scope
  • Only bind it inside pattern: onClick={myHandler({ state })}

Type errors with Writable/Default:

  • Check if field needs write access → use Writable<>
  • Check if field could be undefined → use Default<T, value>

Action not triggering:

  • Ensure Output type includes action as Stream<void>
  • Use .send() not .get() to trigger

computed() wrapping JSX — conditional rendering broken:

  • Inside computed() body, ternaries are plain JS (Writable objects always truthy)
  • Cell bindings ($value, $checked) inside derive() may get positionally mis-resolved
  • Fix: use bare JSX ternaries, hoist computed() for data only
  • See docs/common/concepts/computed/computed.md

Runtime Debugging (browser)

When the pattern compiles but behaves wrong at runtime, use the browser console utilities. Full reference: docs/development/debugging/console-commands.md.

With agent-browser (for automated testing):

bash
1# Read piece cell values 2agent-browser eval "(async () => { 3 const v = await commontools.readCell(); 4 return JSON.stringify(v).slice(0, 500); 5})()" 6 7# Inspect VDOM tree 8agent-browser eval "(async () => { 9 await commontools.vdom.dump(); 10 return 'dumped'; 11})()" 12 13# Detect non-idempotent computations (UI churning) 14agent-browser eval "(async () => { 15 const r = await commontools.detectNonIdempotent(5000); 16 return JSON.stringify({ nonIdempotent: r.nonIdempotent.length, cycles: r.cycles.length }); 17})()" 18 19# Check for action schema mismatches (handlers doing nothing) 20agent-browser eval "JSON.stringify(commontools.getLoggerFlagsBreakdown())"

In browser console (for interactive debugging):

javascript
1// Read cell values 2await commontools.readCell() 3await commontools.readArgumentCell({ path: ["items"] }) 4 5// Watch values change during interaction 6const cancel = commontools.subscribeToCell() 7// ... interact ... then cancel() 8 9// VDOM tree 10await commontools.vdom.dump() 11commontools.vdom.stats() 12 13// Logger counts and timing 14commontools.getLoggerCountsBreakdown() 15commontools.getTimingStatsBreakdown() 16 17// Non-idempotent detection 18await commontools.detectNonIdempotent()

Done When

  • Root cause identified
  • Error fixed
  • Tests pass again

관련 스킬

Looking for an alternative to pattern-debug or another community skill for your workflow? Explore these related open-source skills.

모두 보기

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
인공지능

widget-generator

Logo of f
f

prompts.chat 피드 시스템을 위한 사용자 지정 가능한 위젯 플러그인을 생성합니다

149.6k
0
인공지능

flags

Logo of vercel
vercel

리액트 프레임워크

138.4k
0
브라우저

pr-review

Logo of pytorch
pytorch

파이썬에서 텐서와 동적 신경망 구현 및 강력한 GPU 가속 지원

98.6k
0
개발자