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
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者