用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TuYv/ccpm --skill traiage-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when auditing a paid ad account for incremental contribution, wasted spend, or measurement integrity before scaling; runs a typed 20-item ROAS profile with verified vetoes and a SHIP/FIX/BLOCK/UNDECIDED gate on own exported data. Not for campaign structure design — use campaign-architect; not for creative production — use ad-creative-builder. 付费广告账户审计/ROAS评分
Use when the user asks to "write ad copy", "generate RSA headlines", or "build ad creative at volume"; produces ad units — RSA headlines/descriptions, hooks, and an angle matrix — message-matched to the destination landing page. Not for scoring an ad account — use ad-account-auditor; not for the post-click page — use landing-optimizer; not for organic articles — use content-writer. 广告创意/广告文案/RSA标题
Use when the user asks to "design an A/B test", "set up a creative/landing test", "run an incrementality test", or "is this result statistically and practically material?"; produces a hypothesis, variant matrix, sample-size/duration/power plan, and a documented effect/uncertainty read from own exported results. It applies only a precommitted owner-approved action rule; the statistical helper never chooses a business action. Not for producing variants — use ad-creative-builder; not for reading back one shipped change — use paid-measurement-loop. 广告AB测试设计/实验设计/显著性判定/增效测试
基于 SOC 职业分类
正在显示 SKILL.md
| name | traiage-review |
| description | This skill should be used when need prioritize what changed code in repository human must review. |
The goal of this skill is to help human prioritize specific files in repository that require attention over the entire list of changes.
CRITICAL: Human attention and time is limited. Reviewer cannot check all existing changes in repository. Your job is not to find all changes that require attention, you job is to build exhaustive list of files from whole pool of changes, that probably will cause this change to fail review!
git status, git diff --name-only, git branch, git symbolic-ref, git rev-parse.git rev-parse HEAD (resolve the latest commit), git show --name-only, git diff (commit-diff inspection).commit param was passed to the skill → use the commit workflow directly (this takes precedence over the local-changes/branch auto-detection below):
commit <commit-hash>) → use that hash.commit or latest commit) → resolve the latest commit with git rev-parse HEAD and use the resolved concrete hash.branch param was passed to the skill → use the branch-diff workflow directly.git status --porcelain (non-empty output means staged, unstaged, or untracked changes exist).
git rev-parse --abbrev-ref HEAD.git symbolic-ref --short refs/remotes/origin/HEAD → strip the origin/ prefix to get main or master.git rev-parse --verify origin/main — if it succeeds, default is main; otherwise try git rev-parse --verify origin/master — if it succeeds, default is master.origin/<default-branch> (e.g. origin/main) for use in the branch-mode prompt and the random sample script.origin/<default-branch> filled in) for the branch-diff workflow, or the commit-mode prompt (with the resolved concrete <commit-hash> filled in) for the commit workflow.
Choose the prompt that matches the review mode determined in the Process step, and pass it EXACTLY to launch change-story-agent, change-impact-agent, change-failure-agent and change-expectation-agent.
Default path for local-changes workflow — staged, unstaged, and untracked changes:
Review current project staged AND unstaged changes according to your process and provide list of files that require attention.
Replace origin/<default-branch> with the default ref you detected, e.g. origin/main:
Review the diff of the current branch against the default branch `origin/<default-branch>` (use `git diff origin/<default-branch>...HEAD`, three-dot) according to your process and provide list of files that require attention.
Replace <commit-hash> with the concrete commit hash the orchestrator resolved:
Review the diff introduced by commit `<commit-hash>` (use `git show <commit-hash>` or `git diff <commit-hash>^!`, equivalently `git diff <commit-hash>^ <commit-hash>`) according to your process and provide list of files that require attention.
Use this script to pick 20 random files from the whole batch of changed files. Use the local mode block for the local-changes workflow (staged + unstaged + untracked), the branch mode block for the branch-diff workflow (files changed between the default branch and the current branch), and the commit mode block for the commit workflow (files changed by the commit). Replace origin/<default-branch> with the default ref you detected (e.g. origin/main), and <commit-hash> with the resolved concrete commit hash.
Local mode (staged + unstaged + untracked):
import random
import subprocess
# Tracked changes (staged + unstaged) relative to HEAD
tracked = subprocess.check_output(['git', 'diff', '--name-only', 'HEAD']).decode('utf-8').splitlines()
# Untracked files (new, not yet added)
untracked = subprocess.check_output(['git', 'ls-files', '--others', '--exclude-standard']).decode('utf-8').splitlines()
changed_files = sorted(set(tracked + untracked))
# Pick up to 20 random files (won't crash on small changesets)
random_files = random.sample(changed_files, min(20, len(changed_files)))
print(random_files)
Branch mode (files changed on the current branch vs the default branch):
import random
import subprocess
# Files changed between the default branch and the current branch (three-dot: since the merge base)
default_ref = 'origin/<default-branch>' # e.g. 'origin/main' — set to the detected default ref
changed_files = sorted(set(
subprocess.check_output(
['git', 'diff', '--name-only', f'{default_ref}...HEAD']
).decode('utf-8').splitlines()
))
# Pick up to 20 random files (won't crash on small changesets)
random_files = random.sample(changed_files, min(20, len(changed_files)))
print(random_files)
Commit mode (files changed by the commit):
import random
import subprocess
# Files changed by the commit
commit = '<commit-hash>' # set to the resolved concrete commit hash
changed_files = sorted(set(
line for line in subprocess.check_output(
['git', 'show', '--name-only', '--pretty=format:', commit]
).decode('utf-8').splitlines()
if line.strip()
))
# Pick up to 20 random files (won't crash on small changesets)
random_files = random.sample(changed_files, min(20, len(changed_files)))
print(random_files)
In list of random files, pick only files that relate to logic changes, ignore documentation, tests, configuration, etc. Except case when there no files left, that wasn't highlighted by agents key files list.
### Key Facts
<note>Key facts should be provided by Change Story Agent</note>
- What change trying to achive: <if any>
- Architecture change: <if any>
- Design decisions: <if any>
- Risks: <if any>
- Solutions: <if any>
### Key Files
| File Path | Changed Lines | Importance | Severity | Detectability | Confidence |
|------------------|-----------------------|--------------|------------|-----------------|------------|
| <file path> | <changed lines count> | <importance> | <severity> | <detectability> | <confidence> |
<note>
- include in last column confidence rating that was provided by agent that provided this file (if there multiple, include highest confidence)
- in the rest columns include ratings that were provided by agent that provided this file (if there multiple, include highest rating. If there no rating, mark it as "-")
| File Path | Changed Lines |
|-------------|-----------------------|
| | |
| File Path | Changed Lines |
|-------------|-----------------------|
| | |