agentsclimarketplace

Run3 Data Processing and JSON Serialization

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3.1-flash-lite-preview/github-repo-analytics/run3_Data-Processing-and-JSON-Serialization

Used to transform raw GitHub CLI output into the required reporting structure, ensuring data integrity and correct typing.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_Data-Processing-and-JSON-Serialization

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.0 KB, 217 tokens by cl100k_base, as published. Nobody here has run it

When processing the data, implement the following logic:

  1. Time-to-Merge Calculation:
    • Filter for items where mergedAt is not null.
    • Use jq to compute the difference between createdAt and mergedAt in seconds, divide by 86400, and calculate the average.
    • Apply round or map to ensure the float has one decimal place.
  2. Bug Report Filtering:
    • Use any or contains within jq to filter labels: any(.labels[]; .name | contains("bug")).
  3. Empty State Handling:
    • Use the // coalesce operator in jq to default empty values to 0 or null to ensure the report.json structure remains strictly valid even if no data exists for a category.
  4. Validation:
    • Pipe the final result through jq '.' to verify that the generated JSON matches the required schema before writing to /app/report.json.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.