Testing & QAlow risk

metagit-repo-impact

Plan repository change impact before edits by combining metagit workspace context and graph-based dependency analysis. Use when a change may affect multiple repositories.

metagit-ai/metagit-cli·src/metagit/data/skills/metagit-repo-impact/SKILL.md
85/ 100品質分

匯入這個 Skill

選擇你的 coding agent,複製專案級或個人級安裝指令。

固定至平台收錄的 commit
匯入目前專案.agents/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a codex -y
匯入個人環境~/.agents/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a codex -g -y
手動放置目錄.agents/skills/metagit-repo-impactOfficial docs ↗
匯入目前專案.claude/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a claude-code -y
匯入個人環境~/.claude/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a claude-code -g -y
手動放置目錄.claude/skills/metagit-repo-impactOfficial docs ↗
匯入目前專案.agents/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a github-copilot -y
匯入個人環境~/.copilot/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a github-copilot -g -y
手動放置目錄.agents/skills/metagit-repo-impactOfficial docs ↗
匯入目前專案.agents/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a cursor -y
匯入個人環境~/.cursor/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a cursor -g -y
手動放置目錄.agents/skills/metagit-repo-impactOfficial docs ↗
匯入目前專案.agents/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a gemini-cli -y
匯入個人環境~/.gemini/skills/metagit-repo-impact
npx skills add https://github.com/metagit-ai/metagit-cli/tree/482dfb3b7a407ca5e541657a6fcc9af619818243/src/metagit/data/skills/metagit-repo-impact -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/metagit-ai/metagit-cli.git --scope workspace --path src/metagit/data/skills/metagit-repo-impact
手動放置目錄.agents/skills/metagit-repo-impactOfficial docs ↗
⚠ 安裝指令使用開源 skills CLI。執行前請檢查來源、腳本與權限。
# Planning Repo Impact

Use this skill before risky or cross-repo modifications.

## Workflow

1. Identify target symbols/files for change.
2. Use metagit workspace context to bound repository scope.
3. Use graph impact tooling to estimate blast radius.
4. Produce a change plan with test and rollback focus.

## Commands

- `metagit workspace select --project <name>`
- MCP `metagit_cross_project_dependencies` with `source_project` and `dependency_types` before large cross-project edits
- MCP `metagit_project_context_switch` to bound scope to one workspace project
- `npx gitnexus analyze` on affected repos when `graph_status` is `stale` or `missing`
- `metagit gitnexus group sync -c .metagit.yml` when cross-repo symbol impact is needed (after per-repo analyze)
- `npx gitnexus query` / `gitnexus impact` for single-repo symbol analysis; `gitnexus group impact` for cross-index

## Output Contract

Return:
- impacted repositories and interfaces
- highest-risk change points
- minimum validation plan

## Safety

- Do not execute mutating steps in this planning phase.