skill-debug

skill-debug is a skill for Claude Code from javiarmesto/ALDC-AL-Development-Collection. It costs 28 tokens per session (2,214 once invoked), scanned A, original, MIT.

A guide to diagnosing Business Central problems such as runtime errors, logic bugs, intermittent failures, slow code, and configuration issues.

In plain words
What is it for?
Use it for standard debugging, snapshot debugging, CPU profiling, telemetry analysis, and investigating publishing, authentication, or event-subscriber issues.
Why use it?
It helps match each problem with an appropriate debugging method and trace the underlying cause.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it for standard debugging, snapshot debugging, CPU profiling, telemetry analysis, and investigating publishing, authentication, or event-subscriber issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/javiarmesto/aldc-al-development-collection/skill-debug
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add javiarmesto/ALDC-AL-Development-Collection --skill skill-debug
Clone the repo
git clone --depth 1 https://github.com/javiarmesto/ALDC-AL-Development-Collection

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/javiarmesto/aldc-al-development-collection/skill-debug/github.svg)](https://agentmods.dev/skills/javiarmesto/aldc-al-development-collection/skill-debug)
Your own site
<a href="https://agentmods.dev/skills/javiarmesto/aldc-al-development-collection/skill-debug"><img src="https://agentmods.dev/badge/skills/javiarmesto/aldc-al-development-collection/skill-debug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/javiarmesto/aldc-al-development-collection/skill-debug"><img src="https://agentmods.dev/badge/skills/javiarmesto/aldc-al-development-collection/skill-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,214 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.02214
Opus 5.5 $0.00011 $0.00886
Sonnet 5.5 $0.00006 $0.00443
Haiku 4.5 $0.00003 $0.00221

Measured 1mo ago against content hash d1bd6fc73f6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/skill-debug/SKILL.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: AL Debugging & Diagnostics

Purpose

For BC29 AL0926 section-order errors or new isolation behavior, read the relevant sections of AL18 capability checks. Use actual compiler/runtime evidence and keep compilation distinct from execution.

Systematic diagnosis and root cause analysis for AL Business Central issues: runtime errors, logic bugs, intermittent failures, performance bottlenecks, and configuration problems.

When to Load

This skill should be loaded when:

  • A runtime error, exception, or unexpected behavior is reported
  • A logic bug needs root cause analysis (not just a symptom fix)
  • An intermittent issue needs snapshot capture
  • A performance bottleneck needs CPU profiling
  • Configuration issues (auth, symbols, build, publishing) block development
  • An event subscriber is not firing as expected

Core Patterns

Pattern 1: Choose Debugging Strategy

Select the right tool before starting:

Issue Type Strategy Tool
Consistent runtime error Standard debugger al_debug
Already deployed code Debug without publish al_debug
Rapid dev cycle Incremental publish al_publish (incremental)
Intermittent / hard-to-reproduce Snapshot debugging al_snapshotdebugging
Slow performance CPU profiling VS Code command (not an agent tool)
Auth / symbols / build Configuration troubleshoot See Workflow Step 2b
Copilot AI feature Agent session debug launch.json with clientType: Agent

Pattern 2: Data Flow Tracing

Scenario: "Value is wrong after posting"

1. Set breakpoint at final location (where value is wrong)
2. Work backwards to find where value is set
3. Use `usages` tool to find all assignments
4. Set breakpoints at each assignment point
5. Step through to find which execution path is taken
6. Inspect conditions and variable states at each point

Pattern 3: Event Subscriber Not Firing

Scenario: "My event subscriber doesn't execute"

1. Verify subscriber signature exactly matches publisher (name, parameters, types)
2. Check SkipOnMissingLicense and SkipOnMissingPermission attributes
3. Confirm the extension containing the publisher is active and published
4. Set breakpoint inside subscriber body
5. Verify the publisher event is actually being raised (breakpoint in publisher)
6. Check if IsHandled = true is set before your subscriber runs
7. Inspect subscriber execution order (EventPriority)

Read the full file on GitHub · 252 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -3 lines d1bd6fc73f6c
  2. 1mo ago Changed · +4 lines a39cb6fb1081
  3. 1mo ago Changed 96646c4ea391
  4. 1mo ago First seen · 251 lines · 28 tokens per session scan A 1cb52bafa2fa

Subscribe to this mod's changes

skill-debug is a skill published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (112 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 2,214 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debugging-and-error-recovery

Use when encountering unexpected behavior, crashes, or test failures in Android. Six-step triage from reproduction to regression guard, using Logcat, Android Studio debugger, and profiling tools.

GuillemRoca/agent-skills-android · 43 tokens

refactor

Surgical code refactoring to improve maintainability without changing behaviour. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

MarieLynneBlock/arcanum-artifex · 54 tokens

spk-admin-setup-doctor

Install, verify, and repair Spec Kitty commands, skills, agent paths, runtime prerequisites, and common setup failures.

Priivacy-ai/spec-kitty · 31 tokens

022-root-cause-analysis

Use when a framed problem needs root-cause investigation rather than a symptom-level fix, applying Five Whys, Fishbone (Ishikawa), Current Reality Tree, and constraint identification. This should trigger when an issue's Root Cause Analysis point of view needs evaluation, or when a maintainer directly asks to find the…

jabrena/plinth · 85 tokens

126-java-exception-handling

Use when you need to apply Java exception handling best practices — including using specific exception types, managing resources with try-with-resources, securing exception messages, preserving error context via exception chaining, validating inputs early with fail-fast principles, handling thread interruption…

jabrena/plinth · 144 tokens

hotfix-triage

Urgent issue classification, root cause analysis, and fast-path routing for production hotfixes.

a5c-ai/babysitter · 24 tokens