mit einem Klick
generate-analysis-report
// Compile bug fix proposals and validation results into a markdown report. Use this after running bug-analyzer and fix-validator on multiple PRs.
// Compile bug fix proposals and validation results into a markdown report. Use this after running bug-analyzer and fix-validator on multiple PRs.
Fetch bug-fix PRs with linked issues from a GitHub repository. Use this when asked to find PRs that fix bugs, especially when needing to analyze the relationship between PRs and their linked issues.
Set up the local environment for analyzing a specific PR/issue pair. Use this before running the bug-analyzer agent to checkout the parent commit and prepare context files.
| name | generate-analysis-report |
| description | Compile bug fix proposals and validation results into a markdown report. Use this after running bug-analyzer and fix-validator on multiple PRs. |
This skill compiles all analysis results into a summary markdown report.
Run the report.sh script:
./report.sh [--input-dir <path>] [--output <file>]
| Parameter | Required | Description | Default |
|---|---|---|---|
--input-dir | No | Directory containing analysis folders | data/analysis |
--output | No | Output file path | data/analysis-results.md |
# Generate report from all analyses
./.github/skills/generate-analysis-report/report.sh
# Custom paths
./.github/skills/generate-analysis-report/report.sh \
--input-dir ./my-analyses \
--output ./report.md
The script expects the following structure:
data/analysis/
├── 12345/ # PR number
│ ├── metadata.json # PR-level metadata
│ ├── issue.md # Bug issue description
│ ├── actual_fix/ # Real solution
│ │ ├── pr-diff.patch
│ │ ├── pr.md
│ │ └── changed-files.txt
│ └── claude-opus-4.6-2026-02-21/ # Experiment results
│ ├── proposed-fix.md
│ └── validation.md
├── 12346/
│ └── ...
The report includes:
Summary Statistics
Results Table | PR # | Issue # | Proposed Fix Summary | Alignment Score | Key Findings |
Detailed Breakdown (optional)
jq for JSON processingmetadata.json