Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

codex-plan-review

/codex-plan-review

Przeprowadza krytyczny przegląd szkicu planu, specyfikacji lub zgłoszeń przez Codex w trybie tylko do odczytu, przed publikacją.

Repozytorium
codex-delegate ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
5
Skrypty
3
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/codex-run.mjs, scripts/windows-codex.mjs, scripts/windows-stop-tree.ps1

Co robi i kiedy

Przeprowadza krytyczny przegląd szkicu planu, specyfikacji lub zgłoszeń przez Codex w trybie tylko do odczytu, przed publikacją.

Oryginalny opis (EN)

Adversarial review of a draft plan, spec, or ticket breakdown by Codex running GPT 6 Astra (read-only). Use after drafting a spec or tickets and before publishing them, or whenever a plan should be challenged before work starts.

Jak działa

  1. Process
  2. Cleanup
  3. Attack
  4. Output
Sekcje z nagłówków SKILL.md, w oryginale · 62 linii, 678 słów
Podgląd SKILL.md
---
name: codex-plan-review
description: Adversarial review of a draft plan, spec, or ticket breakdown by Codex running GPT 6 Astra (read-only). Use after drafting a spec or tickets and before publishing them, or whenever a plan should be challenged before work starts.
---

Have the Codex review worker attack a draft before anyone builds on it. You stay the decision-maker: the worker's findings are input, not instructions.

## Process

1. Create a fresh task directory `.scratch/codex/<YYYYMMDD-HHMMSS>-plan-review-<slug>/` following Cleanup rule 1 below, then save the draft there as `draft.md`, exactly as it would be published.

2. Write `prompt.md` in the same directory using the template below. The worker runs at the repo root and can read the codebase, `GLOSSARY.md` and ADRs on its own, so point to them rather than pasting them.

3. Run the worker (Bash, `timeout: 600000`):

   ```
   node "${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs" critic --prompt-file <task-dir>/prompt.md
   ```

   For a large draft, run it with `run_in_background: true` instead and wait for the notification. Don't publish anything until it has finished.

4. Triage every finding:
   - **Accept**: revise the draft.
   - **Reject**: note why in one line (wrong about the codebase, out of scope, already decided with the user).
   - **Needs the user**: the finding reopens a decision the user made, or the fix is a judgment call.

5. Show the user a short table: finding, severity, disposition. Ask about the "needs the user" ones and wait for answers before continuing.

6. Revise the draft to incorporate the user's answers. Ensure the revised draft lives outside the task directory (at its publish location or in the conversation), not only in `<task-dir>/draft.md`. Then remove the task directory following Cleanup below and return to the step of the calling skill that comes after the review.

If the run fails (non-zero exit, empty result), keep the task directory, show the user the tail of `<task-dir>/result.md.log` and ask whether to retry or continue without the review. Once the user has chosen and you no longer need the directory, ensure the draft lives outside the task directory (as in step 6), then remove the directory following Cleanup below. A retry runs in a new task directory.

## Cleanup

1. Create `.scratch/codex/` first if it is missing; it may already exist, so that create need not be exclusive. Then create each task directory inside it with an exclusive create that fails if the directory already exists. On collision, retry with another name (for example, a later timestamp). An error because `.scratch/codex/` is missing is not a collision. Write files only after the task directory's creation succeeds.
2. Remove only the task directories you created for this task, each addressed by its exact path. Verify that each path is a direct child of `.scratch/codex/`.
3. Use your shell's recursive delete. Never use wildcards; never remove `.scratch/codex/` or `.scratch/` themselves.
4. If removal fails (for example, a locked file or permission error), leave the delegation's outcome unchanged and report the path left behind so the user can delete it by hand.
5. Keep a failed delegation's task directory until the user has chosen how to proceed and you no longer need it, then remove it. A retry that refers to it keeps it until the task ends.

<prompt-template>

# Adversarial review

Review the draft at `<task-dir>/draft.md`. It is a <spec | ticket breakdown | plan> for: <one-line summary>.

Read the codebase areas it touches, plus `GLOSSARY.md` and ADRs if they exist. Do not modify any files.

## Attack

- Assumptions that are unstated, unverified, or contradicted by the code.
- Failure modes, edge cases, and user stories that are missing.
- Scope: work that is missing, or work that doesn't belong.
- Test seams: too many, too low, or ones that won't actually exercise the behaviour.
- For ticket breakdowns: slices that are horizontal rather than vertical, tickets too large for one context window, and blocking edges that are wrong or missing.
- Conflicts with the glossary vocabulary or existing ADRs.
- A materially simpler design that meets the same goals.

Skip wording and formatting nits.

## Output

Return a Markdown list of findings, most severe first. For each: severity (blocker / major / minor), the problem, evidence (file paths or quotes from the draft), and a suggested change. End with a one-line verdict: ship as is, ship after fixes, or rethink.

</prompt-template>
Pliki w paczce (5)
  • SKILL.md 4 KB
  • scripts/codex-run.mjs 18 KB
  • scripts/roles.json 1 KB
  • scripts/windows-codex.mjs 1 KB
  • scripts/windows-stop-tree.ps1 6 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · starpia-forge/codex-delegate100MIT
jasonm4130/claude-skills100MIT
smirnov-labs/claude-skills100MIT
syou6162/agent-skills100MIT

Migawka bazy z 13.11.2026 · wersja paczki efa61fa58d31 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100codex-review
    Prowadzi ograniczony przegląd planu wdrożenia: Claude poprawia PLAN.md, a Codex krytykuje go w trybie tylko do odczytu.
  • 100codex-review
    Pobiera niezależny przegląd planu, specyfikacji lub zmiany w kodzie od Codex na ważnych etapach albo przed scaleniem.
  • 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-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.
  • 100use-codex
    Deleguje analizę, przegląd, debugowanie i poprawki do OpenAI Codex CLI jako zewnętrznego subagenta, tylko na wyraźne życzenie.
  • 100guy-loop
    Prowadzi pętlę od specyfikacji do wdrożenia: rozmowa o pomyśle, dwie rundy recenzji, plan, a potem przekazanie budowy do Codex.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.