Use this skill when you need to QA audit and fix a plugin skill file. Provides a methodology for verifying skill content against official documentation, fixing issues in-place, and producing verification reports.
npx skills add https://github.com/OmidZamani/dspy-skills --skill skill-perfection
A systematic process for auditing and fixing plugin skills in a single pass.
Audit + Fix in One Pass: When you find an issue, fix it immediately, then continue. This eliminates redundant research and multiple iterations.
[Optional Preflight] → Audit+Fix (single pass) → Verify (spot-check) → Report
A Python-based preflight script is bundled for Python-heavy skills only.
| Skill Content | Use Preflight? |
|---------------|----------------|
| Mostly Python code blocks | ✅ Yes |
| Mixed Python + other languages | ⚠️ Optional (Python blocks only) |
| Non-Python (JS, Rust, Go, etc.) | ❌ Skip, go to Phase 2 |
| Skill about the preflight script itself | ❌ Skip (conflict of interest) |
uv run python ${SKILL_DIR}/scripts/preflight.py <path-to-skill.md> --no-urls
| Result | Action |
|--------|--------|
| ✅ PASSED | Good signal. Proceed to Phase 2, trust syntax is valid. |
| ❌ FAILED with clear errors (syntax error at line X) | Fix those specific issues, then proceed to Phase 2. |
| ❌ FAILED with confusing/many errors | Ignore preflight entirely. Proceed to Phase 2, let LLM verify. |
| Script crashes or hangs | Ignore preflight entirely. Proceed to Phase 2. |
The preflight script is a helper, not a gatekeeper. If it produces confusing output, skip it. The LLM-based Phase 2 is always authoritative.
Signs to ignore preflight:
When in doubt, skip preflight and let the LLM verify everything.
This is the main phase. Work through the skill file section by section.
From the skill's content, identify:
Batch similar lookups to minimize web calls:
Example: For a skill with 10 import statements from the same package,
do ONE search that covers them all, not 10 separate searches.
Documentation priority:
site: filter)| Item Type | What to Verify |
|-----------|---------------|
| Import/require statement | Package exists, path is current, not deprecated |
| API call | Signature matches official docs, parameters correct |
| Code example | Would execute, complete imports, correct syntax |
| URL/link | Accessible (WebFetch), points to claimed content |
| Version claim | Current/accurate |
| Best practice claim | Aligned with official recommendations |
When you find an issue:
{location, old, new, reason, source_url}All severities get fixed in one pass - don't defer anything.
For code blocks, verify syntax by reading carefully:
Python: Check for matching parentheses, correct indentation, valid syntax
JavaScript/TypeScript: Check for matching braces, valid syntax, correct imports
Rust: Check for matching braces, semicolons, valid syntax
Go: Check for matching braces, correct package structure
Any language: Apply your knowledge of that language's syntax rules
If unsure about syntax validity, note it but don't block on it - focus on semantic correctness against official docs.
After completing Phase 2:
If spot-checks pass → Proceed to Phase 4
If spot-checks fail → Fix those specific items, re-check only those
Do NOT do a full re-audit. You already verified everything in Phase 2.
Create a concise report (<100 lines):
# Skill Perfection Report
**Skill**: {skill-name}
**Date**: {date}
**Version**: {old} → {new}
**Status**: ✅ PERFECTED | ⚠️ NEEDS REVIEW
## Summary
- Items verified: {N}
- Issues found and fixed: {N}
## Changes Made
### High Priority
| Location | Change | Reason | Source |
|----------|--------|--------|--------|
| line 45 | `old` → `new` | why | [docs](url) |
### Medium/Low Priority
| Location | Change | Reason | Source |
|----------|--------|--------|--------|
| line 12 | `old` → `new` | why | [docs](url) |
## Verification
- [x] All imports verified against official docs
- [x] All API signatures match current documentation
- [x] Code examples are complete and correct
- [x] All URLs accessible
## Sources
1. {url}
2. {url}
Save to: {skill-directory}/PERFECTION_REPORT.md
| Metric | Target |
|--------|--------|
| Web searches | <20 per skill (batch similar items) |
| Iterations | 1 audit+fix pass + 1 spot-check |
| Report length | <100 lines |
❌ Run preflight on non-Python skills
✅ Skip preflight, let LLM verify
❌ Trust confusing preflight output
✅ Ignore preflight when output doesn't make sense
❌ Separate audit pass, then separate update pass
✅ Fix issues as you find them
❌ Full re-audit after fixes
✅ Spot-check only changed items
❌ Research same API multiple times
✅ Batch similar lookups, cache results
Purpose: Quick syntax check for Python-heavy skills
Limitation: Only useful for Python; advisory only
# Use for Python skills
uv run python ${SKILL_DIR}/scripts/preflight.py skill.md --no-urls
# Skip for non-Python skills or if output is confusing
If preflight causes problems, ignore it entirely. The LLM-based audit is always the authoritative verification.
Multi-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, data/ML, business operations, marketing, HR, and customer success. Takes PRD to fully deployed, revenue-generating product with zero human intervention. Features Task tool for subagent dispatch, parallel code review with 3 specialized reviewers, severity-based issue triage, distributed task queue with dead letter handling, automatic deployment to cloud providers, A/B testing, customer feedback loops, incident response, circuit breakers, and self-healing. Handles rate limits via distributed state checkpoints and auto-resume with exponential backoff. Requires --dangerously-skip-permissions flag.
Use when working with error debugging multi agent review
Build evaluation frameworks for agent systems. Use when testing agent performance systematically, validating context engineering choices, or measuring improvements over time.
Diagnoses and debugs A2A agent communication issues including agent status, message routing, transport connectivity, and log analysis. Use when agents aren't responding, messages aren't being delivered, routing is incorrect, or when debugging orchestrator, coder-agent, tester-agent communication problems.
Use when working with error debugging multi agent review
Rapidly creates atomic, focused skills optimized with evidence-based prompting, specialist agents, and systematic testing. Each micro-skill does one thing exceptionally well using self-consistency, program-of-thought, and plan-and-solve patterns. Enhanced with agent-creator principles and functionality-audit validation. Perfect for building composable workflow components.
Ultimate multi-agent framework for Google Antigravity. Orchestrates specialized domain agents (PM, Frontend, Backend, Mobile, QA, Debug) via Serena Memory.
This skill should be used when the user asks to "evaluate agent performance", "build test framework", "measure agent quality", "create evaluation rubrics", or mentions LLM-as-judge, multi-dimensional evaluation, agent testing, or quality gates for agent pipelines.
Take omidzamani/skill-perfection from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.