一键导入
what-if
Perform "what-if" scenario analysis and impact evaluations for proposed codebase changes, migrations, or architectural shifts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform "what-if" scenario analysis and impact evaluations for proposed codebase changes, migrations, or architectural shifts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Autonomous pull request review loop that pushes code, polls for AI/bot review comments (e.g., Gemini Code Assist), surgically remediates feedback, commits, pushes, comments `/gemini review`, and loops until zero feedback remains. Requires the `github-pr-triage` skill.
Triage open PR comments/reviews and associated CI/CD workflow failures using the `triage.dart` helper script and formulate an actionable plan.
Intake multi-step tasks by clarifying ambiguities, summarizing understanding, and confirming readiness via ask_question before executing code changes.
Analyzes unstructured artifacts (proposals, design docs, issues, notes) to identify gaps, contradictions, and implicit assumptions, and interviews the user via a structured quiz to distill a definitive strategy and trade-off matrix. Use when resolving competing architectural proposals, clarifying ambiguous project goals, identifying blind spots in early design documents, or synthesizing consensus from fragmented team notes. Don't use for simple text summarization without strategic synthesis, writing code solutions directly, or managing task lists without strategic decision-making.
Apply the "Encapsulated Method Object" refactoring pattern to simplify functions with deeply nested scopes, bloated closures, and heavy shared local state.
Best practices for managing stacked changelists (CLs) in Gerrit using depot_tools, avoiding common pitfalls with Change-Ids.
| name | what-if |
| description | Perform "what-if" scenario analysis and impact evaluations for proposed codebase changes, migrations, or architectural shifts. |
| key_features | ["What-if analysis","Codebase metric gathering","impact evaluation","risk assessment"] |
Activate this skill when the user asks a what-if question or requests a thought experiment about potential codebase modifications, deprecations, dependency upgrades, or migrations.
Examples of trigger phrases:
grep_search,
view_file, list_dir) to provide empirical metrics.ask_question Tool Guidelinesask_question tool ONLY if the user's
intent or scope is unclear or vague.