基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/loomantix/codex-platform --skill task-packet命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
PR-first adversarial code review for Codex. Use after implementation or refactorpass on an open draft PR, especially when the user asks to critique, review hard, find bugs, or run the platform review chain. Posts verified findings inline before fixing, then replies and resolves. Lean mode runs the two highest-signal lanes; the deep matrix runs only when the resolved review tier is Deep.
High-fidelity PR-first Codex review chain that opens or reuses a draft PR, records verified findings inline before fixes, and runs critique deep — preceded by refactorpass on this engine's first pass only. Rounds 3+ run in convergence mode. Runs only when the review tier resolved to Deep; hands a Lean changeset back to critique.
Post-push AI review orchestrator for pull requests. Use when the user asks Codex to run AI review on a PR, address Gemini or Copilot findings, dedupe reviewer comments, push fixes, reply in PR threads, or complete the platform review chain. Both modes fire Gemini Flash + Copilot only — no in-skill local review during the loop. Accepts a PR number, optional `deep` (4-iter cap + early-exit on no-fix iters + final `deepcritique`) which asserts the resolved review tier rather than choosing it, and optional `--resume`.
| name | task-packet |
| description | Execute an implementation Task Packet end-to-end (code, tests, GitHub issue, PR, and closure) |
You are given a Task Packet in markdown. Your job is to execute it end-to-end:
Parse the argument as a markdown Task Packet following this structure:
# Task Packet: ...## Metadata## Context## Implementation Checklist## Testing & Coverage## GitHub Issue & PR## Observability & Post-Deploy Validation## Done WhenExtract key fields:
Sanity-check:
Summarize in 3–6 bullet points:
If Risk = high or the task involves:
Once confirmed (or if clearly safe/low-risk), begin executing the packet.
Before creating a branch or preparing the environment, create an isolated worktree for this Task Packet. This prevents conflicts between concurrent tasks.
Determine Worktree Name
<worktree-slug> from the Task Packet name.task-<slug>
Example: task-calendar-seed-fixCreate or Reuse Worktree
If the worktree directory does not exist:
git worktree add worktrees/<worktree-slug> <target-branch>
If it already exists:
git worktree unlock worktrees/<worktree-slug> || true
git -C worktrees/<worktree-slug> pull --rebase
Switch Execution Context
All subsequent steps (branch creation, commits, tests, PR creation) must be performed inside this worktree:
cd worktrees/<worktree-slug>
Create Task Branch
Create the branch inside the new worktree, naming it as specified in the packet or derived from the task name (e.g. feature/<slug-from-task-name> or bugfix/<slug-from-task-name>):
git switch -c <branch-name>
Environment
just dev recipe, pnpm dev, or docker compose up).Todo tracking
Follow the Implementation Checklist in order:
Commits
Observability
event name plus per-domain ids).If you discover inconsistencies between the Task Packet and the current code:
Non-negotiable: you must run the tests specified in the Task Packet before calling it done.
Unit / Integration Tests
E2E Tests
pnpm exec playwright test or repo equivalent).Run All Required Commands
Coverage
Issue Handling
existing:#<issue-number>:
create:new:
gh issue create if available.Pull Request
Fixes #<issue-number> to auto-close the issue.Linking
Local / Dev Validation
Status Report to User
Wait for User Confirmation
Fixes #<issue-number>, andAfter Confirmation
When responding to the user (outside of terminal actions):
Do not restate the entire packet; only report on execution and deviations.