agentic-actions-audito…
Audit GitHub Actions that run AI agents for prompt injection, unsafe interpolation, sandbox gaps, and permissive actor rules. Use…
Review a pull request or a set of code changes for bugs, logic errors, and project-convention violations using a confidence-filtered, multi-agent process. Use this skill when the user asks to review a PR, audit pending changes, or inspect a diff for problems before merging.
$ npx -y skills add waybarrios/opencode-power-pack --skill code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Review a pull request or a set of code changes for bugs, logic errors, and project-convention violations using a confidence-filtered, multi-agent process. Use this skill when the user asks to review a PR, audit pending changes, or inspect a diff for problems before merging.
name: code-review description: Review a pull request or a set of code changes for bugs, logic errors, and project-convention violations using a confidence-filtered, multi-agent process. Use this skill when the user asks to review a PR, audit pending changes, or inspect a diff for problems before merging. license: Apache-2.0 (modified; see UPSTREAMS.json)
Provide a high-signal review of one frozen change set. Surface real, actionable issues while making incomplete coverage visible instead of treating missing work as a clean result.
Track scope discovery, detection, cross-checking, validation, and output in a todo list. Execute the following steps in order.
Resolve review mode with this precedence:
1. An explicit PR URL or number selects PR mode. 2. An explicit commit range or path list selects range mode. 3. Otherwise select local mode and review all pending changes.
Do not mix modes or widen an explicit scope.
Run `gh pr view <PR> --json number,title,body,state,isDraft,baseRefName,baseRefOid,headRefOid,files`. Stop without reviewing a closed PR, a draft PR, or a change that is both trivial and obviously correct.
Pin `baseRefOid` and `headRefOid` from that response. Ensure those objects are available, compute the baseline with `git merge-base <baseRefOid> <headRefOid>`, and diff that merge base against the pinned `headRefOid`. Never substitute `origin/HEAD`, a symbolic branch tip, or the current checkout for either pinned PR object. Record every file and status, including deletions and renames.
Use the explicit baseline, implementation, and paths exactly as requested. For an explicit path list without commits, use `HEAD` as the baseline and the complete working tree as the implementation; include staged, unstaged, deleted, renamed, and untracked changes only for those paths. Do not add nearby files to the change set.
Set the baseline to `HEAD` and the implementation to the complete working tree. Use `git diff --find-renames HEAD` so staged and unstaged changes are represented together. Run `git ls-files --others --exclude-standard`, read every untracked file as an addition, and include it in the diff evidence. Record staged, unstaged, deleted, renamed, and untracked statuses.
Discover repository-root and path-ancestor `AGENTS.md` and `CLAUDE.md` files. Read the applicable rules and map them to each changed path rather than applying unrelated nested rules.
For staged, unstaged, and untracked evidence, capture exact bytes before analysis: snapshot staged index blobs separately from unstaged working-tree bytes, retain a frozen patch, and record SHA-256 content hashes for the patch and every entry. Record a preimage hash and deletion marker for deletions, and old and new paths with their content hashes for renames. Analyze only this frozen snapshot, never later mutable worktree bytes.
Create a stable `SCOPE_ID` from the repository identity, mode, pinned baseline and implementation, changed paths, frozen patch digest, and per-entry snapshot hashes. Emit this frozen scope manifest before any dispatch:
SCOPE_ID: MODE: pr | range | local REPOSITORY_ROOT: BASELINE: IMPLEMENTATION: DIFF_SOURCE: CHANGED_PATHS_AND_STATUSES: UNTRACKED_PATHS: WORKTREE_INCLUDED: yes | no WORKTREE_PATCH_SHA256: WORKTREE_SNAPSHOT_SHA256: WORKTREE_ENTRIES: state | old/new paths | source | content/preimage SHA-256 | deletion marker PR_NUMBER: PR_TITLE: PR_BODY: PR_BASE_REF: PR_BASE_SHA: PR_HEAD_SHA: RULES_BY_PATH:
Use empty PR fields outside PR mode. Summarize the intent and implementation only from this manifest and its pinned evidence.
Before every dispatch, before consuming a child result, and before output or posting, recompute the included index and working-tree hashes and compare them with the manifest. Any mutation or mismatch makes the affected detection, cross-check, and validation coverage incomplete. Do not update `SCOPE_ID`, analyze replacement bytes, or combine evidence from different snapshots; preserve valid frozen evidence and use the incomplete outcome.
Dispatch these seven independent detection roles in parallel when task dispatch is available:
54 rigorous skills for Codex, OpenCode, and Pi: code review, security audit, feature development, frontend design, MCP tools, Hugging Face ML/training, and more.
Audit GitHub Actions that run AI agents for prompt injection, unsafe interpolation, sandbox gaps, and permissive actor rules. Use…
Audit and improve project-rules files (AGENTS.md, CLAUDE.md, .agents/instructions, local overrides) so the agent keeps accurate…
Capture learnings from the current session into the project-rules file (AGENTS.md, CLAUDE.md, or local override) so future…
Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair…
Design a feature architecture by analyzing existing codebase patterns and conventions, then provide a comprehensive…
Deeply analyze an existing codebase feature by tracing execution paths, mapping architecture layers, understanding patterns and…