adversarial-workflow
/adversarial-workflow
Opisuje przepływ pracy z wieloma agentami AI w przeglądzie kodu: adwersarialny przegląd, pętla review z Codex, przegląd planu i podwójna weryfikacja przez dwóch agentów.
- Autor
- bobby-beckmann ↗
- Repozytorium
- adversarial-review ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 23.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 23.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Opisuje przepływ pracy z wieloma agentami AI w przeglądzie kodu: adwersarialny przegląd, pętla review z Codex, przegląd planu i podwójna weryfikacja przez dwóch agentów.
Wyzwalacze z opisu
Oryginalny opis (EN)
This skill should be used when the user asks about "adversarial review", "codex review loop", "plan review with codex", "dual-agent review", or discusses using multiple AI agents for code review.
Jak działa
- Available Commands
- Convergence Protocol
- Artifact Storage
- Customization
Podgląd SKILL.md
---
name: adversarial-workflow
description: >
This skill should be used when the user asks about "adversarial review",
"codex review loop", "plan review with codex", "dual-agent review",
or discusses using multiple AI agents for code review.
---
# Adversarial Review Workflow
This project has an adversarial review plugin that orchestrates iterative review loops between Claude Code and OpenAI Codex CLI.
## Available Commands
### `/adversarial-plan <task description>`
Creates an implementation plan with adversarial review:
1. Claude analyzes the codebase and writes a detailed implementation plan
2. Codex reviews the plan critically as a senior staff engineer
3. Claude revises based on feedback
4. Loop continues until Codex approves or max iterations (20) reached
5. **Pauses for user approval** before any implementation
### `/adversarial-review`
Runs adversarial code review on current changes:
1. Captures git diff of all changes
2. Codex reviews the code for bugs, security issues, performance, and style
3. Claude autonomously fixes any critical issues found
4. Loop continues until Codex approves or max iterations (20) reached
5. No pause — fixes are applied automatically
## Convergence Protocol
Codex ends every review with exactly one of:
- **`APPROVED`** — no blocking issues, work is acceptable
- **`NEEDS_REVISION`** — blocking issues listed that must be addressed
Convergence typically happens in 2-3 iterations. The 20-iteration limit is a safety backstop.
## Artifact Storage
All artifacts are saved to `.adversarial-review/<session-slug>/` in the project root. Each run of `/adversarial-plan` or `/adversarial-review` creates a new session directory with a unique slug, so previous sessions are preserved.
A `latest` symlink at `.adversarial-review/latest` always points to the most recent session. This is used by `/adversarial-review` to find `plan_final.md` from a prior planning session.
```
.adversarial-review/
latest -> abcd-efgh-ijkl/
abcd-efgh-ijkl/ # planning session
plan_v1.md, plan_v2.md, ...
review_v1.md, review_v2.md, ...
plan_final.md
mnop-qrst-uvwx/ # code review session
diff_for_review.md
code_review_v1.md, code_review_v2.md, ...
```
You may want to add `.adversarial-review/` to your project's `.gitignore`.
## Customization
Plugin files are installed to the Claude Code plugin cache. To customize, fork the repo and point your marketplace at your fork, or edit files in the cache directly (changes will be overwritten on update).
- **Iteration limit**: Currently hardcoded to 20 in the command files (`commands/adversarial-plan.md`, `commands/adversarial-review.md`)
- **Review prompts**: Customize what Codex evaluates by editing `scripts/codex-review.sh`
- **Review types**: The script supports `plan` (architectural review) and `code` (code change review) types
Wersje
W bazie nie ma innych skilli o nazwie adversarial-workflow.
Migawka bazy z 28.10.2026 · wersja paczki fbcaa1ae1966 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100codex-review
Uruchamia przegląd kodu w Codex z niezależnym podwójnym sprawdzeniem przez Claude. - 100codex-review
Prowadzi przepływy wtyczki codex-review: przegląd planu lub implementacji przez Codex, status i ustalenia, rozwiązywanie planu oraz plany inline. - 100adversarial-review
Prowadzi adwersarialny przegląd planów, diffów, konfiguracji, promptów lub skilli na żądanie oraz wszędzie tam, gdzie projekt wymaga tej bramki. - 100adversarial-setup-review
Przeprowadza przegląd na poziomie principal engineera zmian w ustawieniach przestrzeni roboczej AI: topologia agentów i skilli, kontrakty AGENTS.md i CLAUDE.md oraz rejestracja wtyczek w marketplace. - 100codex-plan-review
Recenzuje plik planu przez Codex CLI pod kątem wykonalności, poprawności technicznej i luk, zamienia uwagi w listę zadań i powtarza przegląd do zbieżności. - 100codex-plan-review
Prowadzi międzydostawcowy przegląd adwersaryjny zatwierdzonego planu, specyfikacji, ADR lub diffa kodu przez OpenAI Codex, w pierwszej rundzie wraz ze ślepym recenzentem Opus.