defect-diagnosis SKILL.md skillB

defect-diagnosis from ccoalm/ccl-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ccoalm/ccl-skills/defect-diagnosis@git:20261031.7c87cf9

Pins git:20261031.7c87cf9 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
ccoalm/ccl-skills
Path
skills/defect-diagnosis/SKILL.md
Versions recorded
15
Latest version
git:20261031.7c87cf9, committed Oct 31, 2026
First version recorded
Sep 2, 2026
Size
34,797 bytes
Repository stars
6
License
Apache-2.0

bug / 报错 / test 挂了 / 线上问题 / 接口变慢·性能退化 / 复现 / 找根因 / debug → diagnose first-hand failure evidence, isolate cause, verify before fixing, add regression proof, and route prevention. Also use for AI-proposed causes or fixes.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Defect Diagnosis

Diagnose and fix from evidence; route prevention to product, architecture, development, testing, release or tooling.

- Code/test changes require self-checks; invoke `code-review` automatically before completion.

## Non-Negotiable Rules

- Required failures, including inherited debt: diagnose, safely repair and rerun that check before handoff. Read [repair-before-handoff](../product-rd-workflow/references/refactoring-discipline.md#responding-to-quality-gates). Working alternatives never close defects.
- Do not delete, comment out, or weaken a failing test just to make the suite pass.
- Do not call a workaround the fix unless the owner explicitly accepts the tradeoff and residual risk is recorded.
- Do not start broad refactoring while the cause is unknown. Isolate and fix first; refactor after the behavior is understood.
- Do not stop at "this line was wrong" when the defect reveals a missing contract, guardrail, test, review check, or skill rule.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ccoalm/ccl-skills/defect-diagnosis@sha256:cd076e48923fc5d2

The line at the top of this page pins the label git:20261031.7c87cf9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_k3ybsfr3ipza4qj2.svg)](https://markdownregistry.com/a/art_k3ybsfr3ipza4qj2)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 15 versions of this file, between Sep 2, 2026 and Oct 31, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261031.7c87cf9 latest2026-10-31 7c87cf9 34,797 BB view · diff
git:20261031.b46c6662026-10-31 b46c666 34,831 BB view · diff
git:20261031.2f8c0ce2026-10-31 2f8c0ce 34,773 BB view · diff
git:20261031.f5e87252026-10-31 f5e8725 34,751 BB view · diff
git:20261031.36219142026-10-31 3621914 34,750 BB view · diff
git:20261003.4808a502026-10-03 4808a50 34,401 BB view · diff
git:20261003.7faeb8b2026-10-03 7faeb8b 34,310 BB view · diff
git:20260907.87995ee2026-09-07 87995ee 34,921 BB view · diff
git:20260907.2a1553a2026-09-07 2a1553a 34,716 BB view · diff
git:20260907.78d410b2026-09-07 78d410b 34,712 BB view · diff
git:20260905.260c6032026-09-05 260c603 34,734 BB view · diff
git:20260902.206a4ef2026-09-02 206a4ef 34,705 BB view · diff
git:20260902.28c14922026-09-02 28c1492 34,715 BB view · diff
git:20260902.4adf8f52026-09-02 4adf8f5 34,780 BB view · diff
git:20260902.2910d9e2026-09-02 2910d9e 34,700 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (34797 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

ccoalm/ccl-skills · 6 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_k3ybsfr3ipza4qj2
GET https://markdownregistry.com/api/v1/resolve?ref=ccoalm/ccl-skills/defect-diagnosis
GET https://markdownregistry.com/api/v1/blob/cd076e48923fc5d2977a310913aa8952987552a8a09b07e1a60e38d4814e4afa

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ccoalm/ccl-skills

AGENTS.md AGENTS.md file
ccoalm/ccl-skills · AGENTS.md
git:20261003.5ac538d · audit A · 6 stars
AGENTS.md@eval AGENTS.md file
ccoalm/ccl-skills · eval/AGENTS.md
git:20261004.932325c · audit A · 6 stars
AGENTS.md@eval/evidence/placement-face-2026-08-28 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/placement-face-2026-08-28/AGENTS.md
git:20260829.e0c8729 · audit A · 6 stars
AGENTS.md@eval/evidence/placement-face-2026-08-28/arms AGENTS.md file
ccoalm/ccl-skills · eval/evidence/placement-face-2026-08-28/arms/AGENTS.md
git:20260829.e0c8729 · audit A · 6 stars
AGENTS.md@eval/evidence/routing-bank-runner-round-2026-08-14 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/routing-bank-runner-round-2026-08-14/AGENTS.md
git:20260815.594239a · audit A · 6 stars
AGENTS.md@eval/evidence/routing-new-tighten-vs-owner-2026-08-15 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/routing-new-tighten-vs-owner-2026-08-15/AGENTS.md
git:20260815.14dfddf · audit A · 6 stars
AGENTS.md@eval/evidence/routing-p3-log-plus-test-2026-08-14 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/routing-p3-log-plus-test-2026-08-14/AGENTS.md
git:20260814.f4c1164 · audit A · 6 stars
AGENTS.md@eval/evidence/zh-doc-borrow-2026-08-27 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/zh-doc-borrow-2026-08-27/AGENTS.md
git:20260828.6e3ddd8 · audit A · 6 stars
AGENTS.md@eval/evidence/zh-doc-borrow-2026-08-27/arms AGENTS.md file
ccoalm/ccl-skills · eval/evidence/zh-doc-borrow-2026-08-27/arms/AGENTS.md
git:20260828.6e3ddd8 · audit A · 6 stars
AGENTS.md@eval/skill-effectiveness AGENTS.md file
ccoalm/ccl-skills · eval/skill-effectiveness/AGENTS.md
git:20260812.206facb · audit A · 6 stars
AGENTS.md@hooks AGENTS.md file
ccoalm/ccl-skills · hooks/AGENTS.md
git:20260812.206facb · audit A · 6 stars
AGENTS.md@packages AGENTS.md file
ccoalm/ccl-skills · packages/AGENTS.md
git:20260815.1f122f5 · audit A · 6 stars

Every file in ccoalm/ccl-skills

Browse by kind, by grade B, or by owner.