Defect Grade

Recommends manufacturing defect severity and disposition from validated engine deviations. Use for "grade the defects", "what disposition?", "how bad is it?", "can we ship it?", or "certificate says pass". Do NOT use for document intake — use spec-ingest; tolerance math — use tolerance-check; NCR writing — use ncr-draft. No release approval or operational actions.

110 stars 122 forksWriting & ContentOfficial

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add microsoft/cat-agent-skills --skill defect-grade
Manual install
git clone --depth 1 https://github.com/microsoft/cat-agent-skills.git /tmp/cat-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cat-agent-skills/submissions/quality-inspection/defect-grade ~/.claude/skills/defect-grade

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Defect Grade
## Purpose
Apply references/disposition-rules.md deterministically: severity, disposition, watch-list, lot recommendation - every grade citing the rule section that fired.
## When to use
After tolerance-check, whenever any characteristic is out_of_tolerance or marginal - and on any "can we ship it / use it as is" question.
## Inputs
deviations.json (contract mfg.quality-inspection.v2, the {deviations} hop).
## Steps
1. Run the local Bash tool on the Python CLI below; its dependency-free runtime validator checks the evaluated v2 input before grading. Never depend on an unavailable jsonschema package or hand-roll a substitute. Legacy v1 payloads are blocked; rerun original inputs with tolerance-check v3.0.
2. Run scripts/defect_grade.py --deviations deviations.json --out graded.json --spec characteristics.json --measurements measurements.csv --coc coc.json
3. Quote severities, dispositions and rule citations verbatim. The model may write the rationale narrative but never changes a grade - not for schedule pressure, not because a certificate says the part is fine, not because the value "looks basically in spec".
4. Surface borderline-incidence (#4.2) and document-conflict (#4.3) escalations explicitly.
## Output
graded.json - the {graded_defects} hop: graded_defects[], watch_list[], recommended_disposition, escalations[].
## Grounding requirements
Read the full skill on GitHub

Details

Skill name
defect-grade
Path
submissions/quality-inspection/defect-grade/SKILL.md
License
MIT
Repo updated
15 November 2026

FAQ

What does the Defect Grade skill do?

Recommends manufacturing defect severity and disposition from validated engine deviations. Use for "grade the defects", "what disposition?", "how bad is it?", "can we ship it?", or "certificate says pass". Do NOT use for document intake — use spec-ingest; tolerance math — use tolerance-check; NCR writing — use ncr-draft. No release approval or operational actions.

How do I install the Defect Grade skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add microsoft/cat-agent-skills --skill defect-grade. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Defect Grade popular?

It lives in microsoft/cat-agent-skills, which has 110 GitHub stars and 122 forks.

Related skills

3 Statements

110

microsoft/cat-agent-skills

Completes existing income statement, balance sheet and cash flow templates while preserving layout, grounding historical inputs and linking forecast formulas with reconciliation checks. Use for "fill in a 3-statement template", "complete an IS/BS/CF framework", "populate my integrated financial model", "link statements in this template", or "finish the forecasts in my three-statement workbook". Do NOT use for blank-slate models or general workbook edits (use xlsx), DCF valuation (use dcf-valuation), or buyout modeling (use lbo-model).

AI, LLMs & Agents122

Accessibility Pass

110

microsoft/cat-agent-skills

Use this skill whenever the user asks to check, review, or fix the accessibility of a PowerPoint deck, Word document, HTML page, or Markdown file, and before handing over any deck or document this agent just generated, so it does not ship with missing alt text, untitled slides, or unreadable colour contrast.

Frontend & Design122

Accessible Learning Materials

110

microsoft/cat-agent-skills

Maintains instructionally equivalent, accessible variants of a set of learning materials — lessons, readings, slides, and handouts — with parity checks against the original learning goals and recorded approvals. Use when the user asks to "make these materials accessible", "audit this lesson set for accessibility", "create an accessible version of this reading", "check reading level and alt text", or "keep my accessible variants in sync". Do NOT use for individual student accommodation or support-plan decisions (IEP, EHCP, or local equivalent), and do NOT use for generic document formatting (us

Learning & Education122

Disruption Writeup

110

microsoft/cat-agent-skills

Renders one fixed Markdown draft containing a cited supplier follow-up and internal escalation brief from a local packet. Use for "draft the supplier follow-up", "write the escalation brief", "draft the supplier email", "write it up", or "prepare the internal brief". No audience-switching or document conversion. Do NOT use for intake, retrieval, mapping or mitigation — use disruption-intake, supply-knowledge-retrieve, shortage-impact-map or mitigation-recommend. No sending, ERP writes or spending, even after approval.

Writing & Content122

Content Quality Auditor

110

microsoft/cat-agent-skills

Use this skill when the user asks to assess, audit, score, review, improve, prioritise, or quality-check content, documents, pages, posts, decks, or reusable artefacts.

Writing & Content122

Ehs Knowledge Retrieve

110

microsoft/cat-agent-skills

Attaches cited local OSHA, ISO summaries, JHA and policies and computes supplied-log history. Use for "find cited local safety evidence", "pull the OSHA criteria", "get the JHA", "attach local EHS evidence", or "have we had this incident before". Do NOT use for incident intake, recordability decisions or drafting — use incident-intake, severity-recordability or incident-writeup. No live retrieval; EHS REVIEW REQUIRED.

Writing & Content122

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.