一键导入
qa-changelog-analyzer
Analyze git diff and commit history to recommend which tests to add, update, or run based on code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze git diff and commit history to recommend which tests to add, update, or run based on code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Master skill coordinating all QA skills through pipeline modes (full-cycle, docs-only, testcases-only, write-tests, report), formalized handoff chains, scheduler rules, and framework/language selection based on project context.
QA project memory with auto-update. Structured log of bugs, decisions, tests, regressions, environments. Automatically updated after every QA task. Archive system with searchable index for large projects. Trigger phrases (EN): "initialize memory", "init qa memory", "find known bug", "search memory", "show what was done", "check regressions", "memory status", "archive memory", "log a bug", "add decision", "memory summary", "what bugs do we know", "update memory", "show test log". Trigger phrases (UA): "ініціалізувати пам'ять", "знайти відомий баг", "пошук у пам'яті", "показати що було зроблено", "перевірити регресії", "статус пам'яті", "архівувати пам'ять", "залогувати баг", "додати рішення", "зведення пам'яті", "які баги відомі", "оновити пам'ять", "показати лог тестів", "що ми вирішили про", "які тестові середовища є".
Analyze OpenAPI/Swagger spec (JSON or YAML) against existing test files and generate an HTML coverage report with QA automation tasks. Use when user provides an OpenAPI spec file and wants to know test coverage status.
Generate accessibility tests for WCAG 2.2 compliance using axe-core, Pa11y, and Lighthouse with automated checks for ARIA patterns, keyboard navigation, color contrast, and screen reader support.
Manage and formalize API contracts from existing endpoints, swagger/JSON, network traffic, or developer interviews into OpenAPI specifications.
Autonomously explore live web applications using Playwright MCP to collect page structure, form fields, validation rules, API endpoints, and user flows for test case generation.
| name | qa-changelog-analyzer |
| description | Analyze git diff and commit history to recommend which tests to add, update, or run based on code changes. |
| output_dir | reports/changelog |
Analyze code changes (git diff, commit history, branch comparisons) to determine testing impact. Map changed files to modules/components, identify affected tests, and produce actionable recommendations: tests to run (regression scope), tests to update (if source changed), and tests to add (if new code uncovered).
git diff --cached), committed (git diff HEAD~1..HEAD), or between branches (git diff base..HEAD)references/git-analysis-patterns.md)| Change Type | Action | Recommendation |
|---|---|---|
| New files | Need new tests | Add unit/integration tests; flag for qa-task-creator |
| Modified files | Check existing coverage | Run existing tests; update if assertions/source diverged |
| Deleted files | Remove/update related tests | Remove obsolete tests; update imports in remaining tests |
| Renamed/moved files | Update imports in tests | Fix import paths; run affected tests |
| Config changes | Validate environment | Run env-specific/smoke tests; verify config loading |
See references/impact-mapping.md for mapping strategies.
# Change Impact Report — [Branch/PR/Commit]
## Summary
| Change Type | Count | Modules Affected |
|-------------|-------|------------------|
| Added | N | [list] |
| Modified | N | [list] |
| Deleted | N | [list] |
## Regression Scope
### Must Run (High Impact)
- [test file paths]
### Should Run (Medium Impact)
- [test file paths]
### Optional (Low Impact)
- [test file paths]
## Task Suggestions
- **Add:** [new modules/files needing tests]
- **Update:** [tests that may need assertion/import updates]
- **Remove:** [obsolete tests for deleted code]
| Need | Skill | Usage |
|---|---|---|
| Create tasks from recommendations | qa-task-creator | Pass task suggestions for add/update/remove |
| Coverage data for mapping | qa-coverage-analyzer | Which tests cover changed files |
| Risk prioritization | qa-risk-analyzer | Combine with risk scores for regression order |
| Git diff patterns | — | references/git-analysis-patterns.md |
| Impact mapping | — | references/impact-mapping.md |
Can do (autonomous):
Cannot do (requires confirmation):
Will not do (out of scope):
| Symptom | Likely Cause | Fix |
|---|---|---|
| No changed files | Wrong diff range or branch | Verify git diff range; check branch names |
| Module mapping empty | Unclear structure | Use directory convention; add impact-mapping config |
| Too many tests in scope | Broad imports or coverage | Narrow to direct tests first; use risk prioritization |
| Missing coverage data | qa-coverage-analyzer not run | Use path/import mapping as fallback |
| Renamed files not detected | Git rename detection off | Use git diff -M or --find-renames |
| Config changes missed | Only tracking source files | Include config paths in analysis (e.g. .env, config/) |
| Topic | Reference |
|---|---|
| Git diff parsing, file-to-module mapping | references/git-analysis-patterns.md |
| Mapping code changes to test recommendations | references/impact-mapping.md |