agentic-actions-audito…
Audit GitHub Actions that run AI agents for prompt injection, unsafe interpolation, sandbox gaps, and permissive actor rules. Use…
Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a
$ npx -y skills add waybarrios/opencode-power-pack --skill security-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/security-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a
name: security-review description: Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a branch for security issues before merging. This is NOT a general code review. license: MIT (modified; see UPSTREAMS.json)
Review one frozen change set as a senior security engineer. Report only high-confidence vulnerabilities introduced by that change set, but make incomplete coverage visible instead of turning missing analysis into a clean result.
This is not a general code review. Use `code-review` for general correctness or convention review.
Track scope discovery, category analysis, filtering, exploit validation, recovery, and output in a todo list. Do not run commands to reproduce vulnerabilities; inspect code and repository evidence only.
Resolve review mode in this order. An explicit requested scope takes precedence over every inferred scope:
1. An explicit requested commit range or revision. 2. An explicit PR URL or number. 3. The open PR for the current branch, when one exists. 4. Local branch and pending changes.
Do not mix modes or widen the resolved scope. Requested paths are a filter over the resolved mode, not a separate baseline.
Use requested revisions exactly. A path-only request first resolves the appropriate explicit PR, current-branch PR, or local change set, then filters that set to the requested paths. Restrict the resolved set to requested paths while retaining committed branch or PR changes in those paths even when the worktree is clean. Include staged, unstaged, deleted, renamed, and untracked states when the resolved mode includes worktree changes.
Run `gh pr view <PR> --json number,title,body,state,isDraft,baseRefName,baseRefOid,headRefOid,files`. Pin `baseRefName`, `baseRefOid`, and `headRefOid`, ensure both objects are available, and compute the merge base from the two pinned OIDs. Diff the merge base against `headRefOid`; never substitute a symbolic branch tip or current checkout. Exclude unrelated local edits unless the user explicitly requested them.
An explicit baseline takes precedence when supplied: resolve it to one commit OID and use it as `BASE_SHA`. Otherwise resolve exactly one upstream tracking ref and its OID with `git rev-parse --abbrev-ref --symbolic-full-name @{upstream}` and `git rev-parse --verify @{upstream}^{commit}`, then require `git merge-base --all HEAD <upstream-oid>` to return exactly one OID. That OID is the uniquely resolved upstream merge base; do not guess a remote default branch or use a symbolic ref as evidence.
Default local scope requires that committed-branch provenance. If no unique trustworthy base can be established because the branch has no upstream, a ref or object cannot be resolved, or the merge base is absent or ambiguous, mark scope discovery incomplete and use the incomplete terminal outcome before checking for an empty scope. Never silently use `HEAD` as a committed-branch baseline or report the empty `No reviewable changes found in the resolved scope.` outcome after baseline-resolution failure.
Pure pending-change local review is allowed only when the user explicitly requests pending-only scope. Record that mode unambiguously, pin `HEAD` solely as the preimage for those worktree changes, and do not infer pending-only mode from a missing upstream or a clean worktree.
Include committed current-branch changes relative to the resolved base and the complete working tree. Use `git diff --find-renames HEAD` for staged and unstaged tracked changes. Use `git ls-files --others --exclude-standard` and read every returned untracked file as an addition. Include committed, staged, unstaged, deleted, renamed, and untracked states without counting the same change twice.
Pinned commit OIDs identify committed bytes. When worktree changes are included, capture a frozen patch and the exact bytes for every staged, unstaged, and untracked entry before analysis. Record a SHA-256 content hash for each snapshot, a preimage hash plus deletion marker for deletions, and old and new paths plus content hashes for renames. Analyze only this frozen evidence, never later mutable worktree bytes.
Before analysis, freeze a scope manifest containing:
SCOPE_ID: MODE: range | revision | pr | local PATH_FILTER: REPOSITORY_ROOT: BASE_SHA: BASE_SOURCE: explicit | upstream-merge-base | explicit-pending-only HEAD_SHA: WORKTREE_INCLUDED: yes | no WORKTREE_SNAPSHOT_SHA256: WORKTREE_ENTRIES: state | old/new path
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…