一键导入
validate-pr
Find vulnerabilities or errors in a merge request (checks, scans, merge blockers) and propose fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find vulnerabilities or errors in a merge request (checks, scans, merge blockers) and propose fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bootstrap agent configuration and generate AGENTS.md from project config (codi.toml), SCM flow, monorepo structure, MCP ecosystem, and docs/ — template-based and idempotent.
Repository understanding and hierarchical codemap generation
Audit and synchronize local OpenCode context, commands, skills, agents, config, and AGENTS.md with the current repository.
Generate a daily planning Markdown file combining Google Calendar events and Jira tasks. Creates an executable daily agenda with configurable parameters, dynamic emoji detection, and timezone support.
Create consistent releases and changelogs
Validate, push the current branch, and create a GitHub pull request from the current diff
| name | validate-pr |
| description | Find vulnerabilities or errors in a merge request (checks, scans, merge blockers) and propose fixes. |
| license | Proprietary |
glab mr list --assignee @me --state opened --output json | jq -r '.[] | "!\(.iid)\t\(.source_branch) -> \(.target_branch)\t\(.updated_at)\t\(.title)\t\(.web_url)"'
Notes:
glab mr list --author @me --state opened --output json | jq -r '.[] | "!\(.iid)\t\(.source_branch) -> \(.target_branch)\t\(.updated_at)\t\(.title)\t\(.web_url)"'
glab mr view <IID> --output json
branch="$(glab mr view <IID> --output json | jq -r '.source_branch')"
glab ci status --branch "${branch}"
If there are failing runs, inspect logs:
glab ci list --branch "${branch}"
Pick the failing pipeline/job and inspect it. For a pipeline overview:
glab ci view -b "${branch}"
For a failed job log:
glab ci trace <JOB_ID>
glab mr diff <IID>
git diff --stat main...HEAD
Vulnerability findings in GitLab may require Ultimate-tier features and API permissions. Best-effort example:
project="$(glab repo view --output json | jq -r '.path_with_namespace')"
glab api "projects/$(python3 -c 'import sys, urllib.parse; print(urllib.parse.quote(sys.argv[1], safe=""))' "${project}")/vulnerability_findings"
If the API call returns 403/404, report that vulnerability findings are not accessible with current permissions or project tier and continue with checks/logs.
Provide: