ai-error-handling/SKILL.md
Validation and error handling for AI-generated code. Use when verifying AI output, building production code, or ensuring code correctness. Enforces automatic quality checks and validation loops.
npx skillsauth add peterbamuhigire/skills-web-dev ai-error-handlingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ai-error-handling or would be better handled by a more specific companion skill.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.Use when:
This skill automatically enforces validation patterns.
Every AI-generated code MUST pass through all 5 layers:
Layer 1: Syntax Check ─→ Can it parse?
↓
Layer 2: Requirement Check ─→ Does it meet specs?
↓
Layer 3: Test Check ─→ Do tests pass?
↓
Layer 4: Security Check ─→ Any vulnerabilities?
↓
Layer 5: Documentation Check ─→ Can Claude explain it?
↓
APPROVED ✓
Extended guidance for ai-error-handling was moved to references/skill-deep-dive.md to keep this entrypoint compact and fast to load.
Use that deep dive for:
Layer 1: Syntax ValidationLayer 2: Requirement ValidationLayer 3: Test ValidationLayer 4: Security ValidationInput ValidationSQL Injection PreventionXSS PreventionAuthentication & AuthorizationData ExposureError HandlingLayer 5: Documentation ValidationThe Validation Loopdata-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...