Generate Community Pulse Report JSON
Compile gathered PR and issue metrics into a properly formatted JSON file at /app/report.json with the exact required structure and data types.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- Generate Community Pulse Report JSON
- description
- Compile gathered PR and issue metrics into a properly formatted JSON file at /app/report.json with the exact required structure and data types.
03 SKILL.md 正文
Generate Community Pulse Report JSON
Overview
Create a report.json file in the /app/ directory containing all gathered metrics in the specified JSON structure.
Step 1: Structure Validation
Ensure the JSON follows this exact structure:
{
"pr": {
"total": <integer>,
"merged": <integer>,
"closed": <integer>,
"avg_merge_days": <float>,
"top_contributor": <string>
},
"issue": {
"total": <integer>,
"bug": <integer>,
"resolved_bugs": <integer>
}
}
Data Type Requirements:
total,merged,closed: Integers (no decimals)avg_merge_days: Float with exactly 1 decimal place (e.g.,1.2,15.8)top_contributor: String (author login, e.g.,"octocat")bug,resolved_bugs: Integers
Step 2: Data Compilation
Gather all metrics from previous steps:
- PR metrics: total count, merged count, closed count, average merge days, top contributor name
- Issue metrics: total count, bug count, resolved bug count
Step 3: File Creation
Write the JSON object to /app/report.json:
- Use standard JSON formatting (valid syntax, proper escaping)
- Ensure file is readable and valid JSON (test with JSON validator)
- Verify the file path is exactly
/app/report.json
Step 4: Validation Checklist
Before finalizing:
- [ ] All integer fields contain integers (not floats or strings)
- [ ]
avg_merge_daysis a float with exactly 1 decimal place - [ ]
top_contributoris a non-empty string - [ ] File is valid JSON (no syntax errors)
- [ ] File location is
/app/report.json - [ ] Numbers match expected ranges (totals not inflated, averages reasonable)
Example Output
{
"pr": {
"total": 45,
"merged": 42,
"closed": 3,
"avg_merge_days": 1.2,
"top_contributor": "octocat"
},
"issue": {
"total": 30,
"bug": 9,
"resolved_bugs": 8
}
}
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.