This skill should be used when reviewing or auditing AI-generated code for common failure patterns. Applies a systematic checklist covering hallucinated APIs, phantom dependencies, OWASP security vulnerabilities, control-flow omissions, logic errors, and agentic AI risks. Triggers on "scrutinize AI code", "check for hallucinated APIs", "OWASP review", "audit generated code", "review code for AI-specific bugs", "security checklist on generated code".
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-quality-guardrails:ai-code-scrutinyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **No runtime dependencies** — this is a pure instruction/skill package (Markdown + YAML frontmatter)
Systematic checklist for code produced by AI coding agents.
AI-generated code has significantly higher rates of security vulnerabilities (45% per Veracode 2025), logic errors (+75% per CodeRabbit 2025), and control-flow omissions compared to human-written code. These follow patterns that can be checked systematically.
See the plugin's docs/RESEARCH.md for full sourced evidence.
Apply this section only when reviewing code that configures AI agents, skills, hooks, or MCP servers:
When reviewing code:
[CRITICAL|HIGH|MEDIUM|LOW] Section X.Y — description (file:line)
When a capability warrant block is present in the session context:
[HIGH] if a capability was relied upon without warrant coverage.verification_state: stale, flag usage of that capability as [MEDIUM] — the capability may not be reliably available.policy: prohibit or policy: discourage, flag any usage as [CRITICAL] or [HIGH] respectively.When no warrant block is present: use existing heuristic checks unchanged.
self-review-before-done — uses this checklist as fallback when no validation commands existparallel-review — Perspective 1 covers items from this checklistreview-loop — quality gate applied after findings are producedtdd-enforcement — complementary: TDD catches logic errors at write time; this catches them at review timenpx claudepluginhub mariogusmao/mg-plugins --plugin ai-quality-guardrailsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.