skills/core-protocols/SKILL.md
Debug errors systematically by searching first, then analyzing, then proposing verified solutions. MUST BE USED when user reports: "error", "bug", "doesn't work", "fails", "crash", stack traces, exception messages, or any troubleshooting scenario. Triggers: "TypeError", "ImportError", "undefined is not a function", "segfault", "panic", "broken", "not working", "unexpected behavior", "regression", "failing", "exception", "traceback", "stack trace", "debug this", "why does this fail", "help me fix". Also enforces confidence levels and output templates. Prevents guessing solutions without research.
npx skillsauth add aedelon/claude-code-blueprint core-protocolsInstall 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.
Activate when:
NEVER propose solutions before completing Steps 1-2.
1. Extract EXACT error message
2. WebSearch: "[error message] [language/framework] [version]"
3. Context7 if library-related:
- mcp__context7__resolve-library-id(libraryName)
- mcp__context7__get-library-docs(id, topic: "error")
4. Look for GitHub issues / StackOverflow
1. Identify ROOT CAUSE (not symptoms)
2. Check version compatibility
3. Isolate the problem
4. Check changelogs for breaking changes
1. Cite SOURCE of solution
2. State CONFIDENCE level
3. Propose ALTERNATIVES if uncertain
4. Include VALIDATION command
| Error Type | First Action | |------------|--------------| | Library/API error | Context7 lookup | | Runtime error | WebSearch exact message | | Build error | Check versions, config | | Type error | Read type definitions | | Import error | Check package installation |
| Level | Criteria | Action | |-------|----------|--------| | HIGH | Verified via tool, 2+ sources | State source | | MEDIUM | Single source, partial verification | Add caveat | | LOW | Memory only, no verification | Warn explicitly | | UNKNOWN | Cannot assess | Say "I don't know" |
Libraries/APIs: Context7 → cross-reference docs → HIGH if verified Current Events: WebSearch 2024-2025 → multiple sources → HIGH if recent Best Practices: Official docs → community consensus → MEDIUM-HIGH
| Topic | Warning | |-------|---------| | Pricing | "Verify at official URL" | | Rate limits | "Check your dashboard" | | New features | "As of [DATE], may have changed" | | Model IDs | "Verify current availability" |
**Intent**: [1-2 sentences]
\`\`\`[language]
[code with comments]
\`\`\`
**Validation**: `[command]`
**Dependencies**: [if new]
**Confidence**: [LEVEL] - [source]
## Summary
[3-5 sentences max]
## Sources
1. [Author (Year). Title. DOI/URL]
**Confidence**: [LEVEL] - [justification]
**Limitations**: [what couldn't be verified]
## Problem Identified
[1-2 sentences]
## Root Cause
[Technical explanation]
**Source**: [reference]
## Solution
\`\`\`[language]
[fix]
\`\`\`
## Validation
\`\`\`bash
[command]
\`\`\`
**Confidence**: [LEVEL]
**Prevention**: [how to avoid]
**Prompt [Tool]**:
[ready-to-use prompt]
**Parameters**: [key settings]
**Variations**: [alternatives]
tools
Master uv package manager for Python: project setup, dependency management, virtual environments, lockfiles, CI/CD integration, Docker builds, and migration from pip/poetry. MUST BE USED when user mentions: "uv", "uv add", "uv run", "uv sync", "uv init", "uv lock", "uv venv", "uv pip", "pyproject.toml", "python project setup", "python dependencies", "virtual environment", "venv", "pip install", "poetry to uv", "migrate from pip", "lockfile python", "requirements.txt", "setup.py", "pip freeze", "uv tool", "install package", "add dependency", "python environment", "new python project", "package manager python", "create project", "uv export", "uv cache", "uv python". 10-100x faster than pip. Covers init, add, sync, lock, run, Docker, CI/CD. NOT for npm/pnpm/yarn (JS toolchain), Rust cargo, or deployment (use deployment-assistant).
development
Proactive security audit: OWASP top 10, dependency vulnerabilities, secrets detection, input validation, auth patterns, and secure defaults. MUST BE USED when user mentions: "security", "vulnerability", "audit", "OWASP", "CVE", "security review", "pentest", "injection", "XSS", "CSRF", "authentication", "authorization", "secrets", "hardcoded password", "secure", "npm audit", "pip-audit", "check security", "is this secure", "security risk", "data leak", "SQL injection", "command injection", "path traversal", "SSRF", "RCE", "privilege escalation", "supply chain", "dependency scan", "snyk", "trivy", "semgrep", "bandit". Scans code for vulnerabilities, checks dependencies, verifies auth patterns. NOT for explaining security concepts (use pedagogical-explain), or general code review (use code-review).
development
Conduct rigorous research with proper citations (DOI, arXiv, PMID) and source triangulation. MUST BE USED when user asks: "what is SOTA", "recent developments", "compare X vs Y", "is it true that", "research says", "latest papers on", "scientific evidence", "studies show", "state of the art", "literature review", "find papers", "academic research", "benchmark results", "who published", "when was X released", "current best", "what does the research say", "evidence for", "peer reviewed". Searches multiple sources, evaluates reliability, states confidence level. NOT for verifying API signatures (use anti-hallucination) or general web search (use WebSearch directly).
development
Ship workflow: review changes, generate conventional commit messages, push, and create PRs. MUST BE USED when user says: "commit", "git commit", "commit this", "save changes", "commit message", "ship", "ship it", "push", "create PR", "pull request", "ready to merge", "deploy this", "stage changes", "what changed", "review my changes", "conventional commit", or after completing a coding task. Reviews changes, generates commit, optionally pushes and creates PR. NOT for git branching/rebasing (use git-workflow), code review (use review command), or deployment configuration (use deployment-assistant).