---
title: "不具合を調査する（エージェント用スキル） | Orchestor"
description: "不具合を再現し、影響範囲を切り分け、原因を診断して修正します。エラーやスタックトレース、環境による動作差、デプロイ後の障害など、原因が明らかでない問題を扱います。anthropics/knowledge-work-plugins が公開している「不具合を調査する」の使い方を確認できます。"
canonical_url: "https://www.orchestor.io/ja/skills/anthropics/knowledge-work-plugins/debug"
markdown_url: "https://www.orchestor.io/ja/skills/anthropics/knowledge-work-plugins/debug.md"
---

[0f94653](https://github.com/anthropics/knowledge-work-plugins/commit/0f9465302d18cc503f46846404d270678dc2e971)[原文を開く](https://github.com/anthropics/knowledge-work-plugins/blob/0f9465302d18cc503f46846404d270678dc2e971/engineering/skills/debug/SKILL.md)

jordanecker-ant2026/12/01

原文 (選択中)

未翻訳

プレビュー (選択中)

95 行（空行を除く 74 行） · 3.98 KB原文

```yaml
name: debug
description: Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
argument-hint: "<error message or problem description>"
```

# /debug

> If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Run a structured debugging session to find and fix issues systematically.

## Usage

`/debug $ARGUMENTS ` 

## How It Works

```
┌─────────────────────────────────────────────────────────────────┐
│                       DEBUG                                        │
├─────────────────────────────────────────────────────────────────┤
│  Step 1: REPRODUCE                                                │
│  ✓ Understand the expected vs. actual behavior                   │
│  ✓ Identify exact reproduction steps                             │
│  ✓ Determine scope (when did it start? who is affected?)        │
│                                                                    │
│  Step 2: ISOLATE                                                   │
│  ✓ Narrow down the component, service, or code path             │
│  ✓ Check recent changes (deploys, config changes, dependencies) │
│  ✓ Review logs and error messages                                │
│                                                                    │
│  Step 3: DIAGNOSE                                                  │
│  ✓ Form hypotheses and test them                                 │
│  ✓ Trace the code path                                           │
│  ✓ Identify root cause (not just symptoms)                      │
│                                                                    │
│  Step 4: FIX                                                       │
│  ✓ Propose a fix with explanation                                │
│  ✓ Consider side effects and edge cases                          │
│  ✓ Suggest tests to prevent regression                           │
└─────────────────────────────────────────────────────────────────┘
```

## What I Need From You

Tell me about the problem. Any of these help:

* Error message or stack trace
* Steps to reproduce
* What changed recently
* Logs or screenshots
* Expected vs. actual behavior

## Output

```markdown
## Debug Report: [Issue Summary]
​
### Reproduction
- **Expected**: [What should happen]
- **Actual**: [What happens instead]
- **Steps**: [How to reproduce]
​
### Root Cause
[Explanation of why the bug occurs]
​
### Fix
[Code changes or configuration fixes needed]
​
### Prevention
- [Test to add]
- [Guard to put in place]
```

## If Connectors Available

If **\~\~monitoring** is connected:

* Pull logs, error rates, and metrics around the time of the issue
* Show recent deploys and config changes that may correlate

If **\~\~source control** is connected:

* Identify recent commits and PRs that touched affected code paths
* Check if the issue correlates with a specific change

If **\~\~project tracker** is connected:

* Search for related bug reports or known issues
* Create a ticket for the fix once identified

## Tips

1. **Share error messages exactly** — Don't paraphrase. The exact text matters.
2. **Mention what changed** — Recent deploys, dependency updates, and config changes are top suspects.
3. **Include context** — "This works in staging but not prod" or "Only affects large payloads" narrows things fast.

## Structured data

```json
[
  [
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "name": "Orchestor",
      "url": "https://www.orchestor.io",
      "sameAs": [
        "https://orchestor.io",
        "https://www.orchestor.io",
        "https://docs.orchestor.io"
      ],
      "@id": "https://www.orchestor.io/#organization",
      "alternateName": [
        "オーケスター"
      ],
      "logo": "https://www.orchestor.io/images/common/ogp/orchestor-ogp.png",
      "parentOrganization": {
        "@type": "Organization",
        "name": "ドットメディア株式会社",
        "url": "https://www.dotmedia.co.jp"
      }
    },
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "url": "https://www.orchestor.io",
      "name": "Orchestor",
      "description": "Orchestor で画像・動画・音声を作り、参照素材を Remix できます。",
      "@id": "https://www.orchestor.io/#website",
      "alternateName": [
        "オーケスター"
      ],
      "inLanguage": "ja",
      "publisher": {
        "@id": "https://www.orchestor.io/#organization"
      }
    }
  ],
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "@id": "https://www.orchestor.io/skills/anthropics/knowledge-work-plugins/debug#breadcrumb",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Orchestor",
        "item": "https://www.orchestor.io/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "スキル",
        "item": "https://www.orchestor.io/skills"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "不具合を調査する",
        "item": "https://www.orchestor.io/skills/anthropics/knowledge-work-plugins/debug"
      }
    ]
  }
]
```

---

[Documentation index](https://www.orchestor.io/llms.txt)
