dmitrl-dev/aisecurity/qa-fix-loop

Claude Code and agent skill by dmitrl-dev/aisecurity

Trust tier 1
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Автономный цикл Reviewer → Fixer для непрерывного улучшения качества

Install

npx vskill@latest install dmitrl-dev/aisecurity/qa-fix-loop

SKILL.md

QA Fix Loop

Адаптировано из Auto-Claude QA Loop для SENTINEL DevKit

Философия

Вместо ручного ping-pong между reviewer и developer, создаём автономный цикл:

  1. Reviewer Agent находит проблемы
  2. Fixer Agent исправляет их
  3. Re-review до достижения качества

Архитектура

┌─────────────┐ issues ┌─────────────┐
│ Reviewer │ ─────────────→ │ Fixer │
│ Agent │ │ Agent │
└─────────────┘ └─────────────┘
↑ │
│ fixed code │
└──────────────────────────────┘

Reviewer Agent

Обязанности
  • Проверка spec compliance (Stage 1)
  • Проверка code quality (Stage 2)
  • Генерация структурированных issues
Output Format
json
{
"status": "NEEDS_FIX | APPROVED",
"issues": [
{
"id": "QA-001",
"severity": "HIGH | MEDIUM | LOW",
"file": "path/to/file.py",
"line": 42,
"type": "SPEC_VIOLATION | CODE_QUALITY | SECURITY",
"description": "Что не так",
"suggestion": "Как исправить"
}
],
"approved_aspects": ["tests", "documentation"]
}

Fixer Agent

Обязанности
  • Получает issues от Reviewer
  • Исправляет каждый issue
  • Документирует изменения
  • Запрашивает re-review
Process
  1. Для каждого issue:
  • Понять root cause
  • Применить минимальное исправление
  • Добавить тест если нужно
  1. Собрать все изменения
  2. Вернуть на review

Workflow (DOT)

dot
digraph qa_fix_loop {
rankdir=LR;
node [shape=box, style=rounded];
code [label="New Code"];
review [label="Reviewer Agent"];
decision [shape=diamond, label="Issues?"];
fix [label="Fixer Agent"];
done [label="✅ Merged", style=filled, fillcolor=lightgreen];
code -> review;
review -> decision;
decision -> fix [label="Yes"];
decision -> done [label="No"];
fix -> review [label="re-review"];
}

Лимиты и Safety

Max Iterations
  • Default: 3 итерации
  • После 3 итераций: Эскалация к человеку
Severity Escalation
  • HIGH severity не исправлена: Немедленная эскалация
  • Security issue: Блокировка merge + alert
Infinite Loop Prevention
python
if iteration > MAX_ITERATIONS:
escalate_to_human(
reason="QA loop exceeded max iterations",
issues=unresolved_issues
)

Интеграция с SENTINEL

Для Engine QA
1. Engine code → Reviewer Agent
2. Reviewer checks:
- All payloads detected (Strike integration)
- Interface compliance
- Performance bounds
3. Issues → Fixer Agent
4. Loop until approved
Для Shield QA
1. C code → Reviewer Agent (специализированный)
2. Reviewer checks:
- Memory safety
- Protocol compliance
- Cross-platform compatibility
3. Issues → Fixer Agent
4. Loop until approved

Metrics

Трекинг эффективности цикла:

  • Loop count — среднее число итераций
  • Issue categories — какие типы проблем чаще
  • Time to fix — время на исправление
  • Escape rate — сколько issues пропущено на production

Anti-patterns

❌ Бесконечный loop — всегда ставить max iterations ❌ Fixer игнорирует issues — проверять что ВСЕ issues адресованы ❌ Reviewer слишком строгий — избегать nitpicking на каждой итерации ❌ Нет эскалации — человек должен быть в loop для сложных cases

Security

  • Security scanPassed, 40 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
98
Repository forks
12
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dmitrl-dev/aisecurity/qa-fix-loop/badge)](https://verified-skill.com/skills/dmitrl-dev/aisecurity/qa-fix-loop)

Something wrong with this skill or its page? Tell us.