# Skmtc debug

> Skmtc debug is an open-source agent skill for developer tools. Walks an agent through diagnosing failed Skmtc generation runs using manifest and parse. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/skmtc/skmtc/tree/main/deno/docs/skills/skmtc-debug
- **Repository:** https://github.com/skmtc/skmtc
- **GitHub stars:** 20
- **License:** Apache-2.0
- **Skill name:** skmtc-debug
- **Collection:** https://github.com/skmtc/skmtc
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill guides an AI agent through diagnosing why a Skmtc run produced no output, wrong output, or an error. It asks the agent to gather evidence first: read the run manifest, check parse issues, and reproduce the failure before suggesting a fix. A symptom table maps common messages such as bundle failures, registered definition mismatches, dangling references and module-not-found errors to the investigation steps that usually resolve them.

The skill includes jq queries for slicing the manifest by generator and status, and explains how cascade pruning turns one root schema error into many downstream dependency issues. It also covers scenarios for missing operations, type errors in generated code, and duplicate-core package conflicts, and tells the agent when to hand off to the CLI or generator skills.

It expects a Skmtc project with a generated manifest at hand, and the Deno-based CLI, since the bundle and worker steps depend on deno.json and deno bundle. The exact error text is needed for accurate diagnosis.

## When your agent uses it

> Diagnose failures in Skmtc sessions — no output, wrong output, error messages, failed bundle builds, parseIssues, "Registered definition mismatch", ref cycles, "Module not found" in generated code, or any other broken behavior. Applies across both CLI usage and generator authoring contexts. Use this skill when the user asks "why isn't my generator working", "no output for X", "wrong output", "what does this error mean", "manifest says X", "bundle failed", "INVALID_SCHEMA", "INVALID_DEPENDENCY_REF", "Registered definition mismatch", "Module not found" (in generated code), "ConfigValidationError", or reports any other Skmtc failure. This skill encodes a **verify-first epistemic stance** — read the manifest, check parseIssues, reproduce the failure before proposing fixes. Distinct from `skmtc-cli` and `skmtc-generator` which guide *doing*; this skill guides *diagnosing*.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-debug)
- [Asks for: Bash, Read, Glob, Grep, Write, Edit](https://github.com/skmtc/skmtc/blob/HEAD/deno/docs/skills/skmtc-debug/SKILL.md)
- [License: Apache-2.0](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/skmtc-debug)

## Features

- **Symptom lookup table:** Maps common Skmtc failure messages to first checks and follow-up investigation steps.
- **Manifest reading guide:** Explains the run manifest layout, result statuses and jq queries for filtering outcomes.
- **Parse issue tracing:** Shows how root schema errors cascade into dependent issues and how to trace them.
- **Bundle and version checks:** Covers failed bundle builds and duplicate core package copies with doctor-based diagnosis.
- **Verification-first approach:** Requires reproducing a failure and reading source before proposing changes.

## Good for

- Why did my Skmtc generate run produce no files for one operation?
- Fix a 'Registered definition mismatch' error in my generator output
- Find the root schema error behind a cascade of dependency issues
- Diagnose a failed deno bundle step during generate
- Figure out why generated code shows a module not found error

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/skmtc-debug` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/skmtc-debug &&
cp -R "$tmp/deno/docs/skills/skmtc-debug" ~/.claude/skills/skmtc-debug &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/skmtc-debug` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/skmtc-debug` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/skmtc-debug &&
cp -R "$tmp/deno/docs/skills/skmtc-debug" ~/.agents/skills/skmtc-debug &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/skmtc-debug` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/skmtc-debug` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/skmtc-debug &&
cp -R "$tmp/deno/docs/skills/skmtc-debug" ~/.cursor/skills/skmtc-debug &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/skmtc-debug` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/skmtc-debug
```

Or copy the folder to `~/.gemini/skills/skmtc-debug` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/skmtc-debug`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/skmtc-debug &&
cp -R "$tmp/deno/docs/skills/skmtc-debug" ~/.copilot/skills/skmtc-debug &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/skmtc-debug` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/skmtc/skmtc.git
```

Then copy `skmtc/deno/docs/skills/skmtc-debug` into your agent's skills folder as `skmtc-debug`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Skmtc debug trigger?

When the user asks why a generator isn't working, reports no or wrong output, or quotes a Skmtc error such as INVALID_SCHEMA, ConfigValidationError or a bundle failure.

### Does Skmtc debug change code automatically?

No. It guides diagnosis by reading the manifest and source and reproducing the failure before any fix is proposed; editing is handed to the CLI or generator skills.

### What should I provide when asking for help?

The exact verbatim error message, since paraphrased messages lose the detail needed to match a diagnostic path.

### How do I install Skmtc debug in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/skmtc-debug to use it in all your projects, or to .claude/skills/skmtc-debug in one project.

### Does Skmtc debug run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Skmtc debug?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Skmtc debug?

The closest alternatives to Skmtc debug are Skmtc CLI, Skmtc architecture, Skmtc generator, Skmtc lang scala and Debugging and error recovery.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Skmtc CLI](https://ai-powered.com/skills/skmtc-cli): Skmtc CLI is an open-source agent skill for developer tools.
- [Skmtc architecture](https://ai-powered.com/skills/skmtc-architecture): Skmtc architecture is an open-source agent skill for developer tools.
- [Skmtc generator](https://ai-powered.com/skills/skmtc-generator-skmtc): Skmtc generator is an open-source agent skill for developer tools.
- [Skmtc lang scala](https://ai-powered.com/skills/skmtc-lang-scala): Skmtc lang scala is an open-source agent skill for developer tools.
- [Debugging and error recovery](https://ai-powered.com/skills/debugging-and-error-recovery): Debugging and error recovery is an open-source agent skill for developer tools.
- [Skmtc lang erlang](https://ai-powered.com/skills/skmtc-lang-erlang): Skmtc lang erlang is an open-source agent skill for developer tools.
- [Skmtc lang ruby](https://ai-powered.com/skills/skmtc-lang-ruby): Skmtc lang ruby is an open-source agent skill for developer tools.
- [Skmtc lang kotlin](https://ai-powered.com/skills/skmtc-lang-kotlin): Skmtc lang kotlin is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/skmtc-debug
