.cursor/skills/qa-changelog-analyzer/SKILL.md
Analyze git diff and commit history to recommend which tests to add, update, or run based on code changes.
npx skillsauth add AZANIR/qa-skills qa-changelog-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 |
tools
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.
testing
Universal QA plan generator supporting 10 plan types including test plans, sprint plans, regression plans, release plans, UAT plans, performance plans, migration plans, onboarding plans, and custom plans.
development
Generate consumer-driven contract tests using Pact for JavaScript and Python to verify microservice API compatibility between consumer and provider.
development
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.