github-trending-daily-report
npx skills add https://github.com/zblackif/github-trending-daily-report --skill github-trending-daily-report
Agent 安装分布
Skill 文档
GitHub Trending Daily Report
Generate comprehensive deep analysis reports for GitHub Trending repositories, scheduled daily at 9 AM for the past 24 hours of trending data.
Quick Start
To generate a complete GitHub Trending daily report:
- Fetch trending data from https://github.com/t/trending
- Parse and extract repository information (name, stars, description, language)
- Generate markdown report with deep analysis for each trending repository
- Analyze technical trends, frameworks, and potential applications
- Save report as
github-trending-report-YYYY-MM-DD.md
Workflow
Step 1: Fetch GitHub Trending Data
Use scripts/fetch_trending.py to fetch the latest trending repositories:
python3 scripts/fetch_trending.py
This script:
- Fetches HTML from https://github.com/trending
- Parses repository information (name, description, language, stars)
- Saves data to
trending-data-YYYY-MM-DD.json - Limits to top 20 repositories
Output format: JSON array with each repository containing:
full_name: owner/reponame: repository namedescription: repository descriptionlanguage: primary programming languagetoday_stars: stars gained todaytotal_stars: total star count
Step 2: Generate Analysis Report
Use scripts/generate_report.py to create the markdown analysis:
python3 scripts/generate_report.py
This script:
- Reads latest
trending-data-*.jsonfile - Generates comprehensive markdown report
- Saves as
github-trending-report-YYYY-MM-DD.md
Step 3: Enhance with Deep Analysis
For each trending repository, add the following analysis sections:
Technical Principles & Implementation:
- Core architecture and design patterns
- Key technologies and frameworks used
- Implementation details and innovations
Core Features:
- Main capabilities and functionality
- Unique selling points
- Integration options
Potential Application Directions:
- Real-world use cases
- Industry applications
- Market opportunities
- Future potential
Step 4: Trend Summary & Insights
Add analysis sections covering:
Current Technology Trends:
- Identify patterns across trending repositories
- Highlight emerging technologies
- Note industry shifts
Investment Suggestions & Risk Warnings:
- Technologies worth watching
- Potential market opportunities
- Risks and concerns
Report Structure
The generated markdown report includes:
- Header: Report date, analysis scope, data source
- Executive Summary: Total repositories analyzed, overview table
- Technical Domain Distribution: Categorized by technology area
- Deep Analysis: Individual repository analysis with:
- Repository name and URL
- Star counts (today/total)
- Primary language
- Project description
- Technical principles
- Core features
- Potential applications
- Trend Summary & Insights: Technology trends and recommendations
Scheduling for Daily Execution
Use cron to schedule daily 9 AM execution:
# Edit crontab
crontab -e
# Add daily 9 AM cron job
0 9 * * * cd /path/to/github-trending-report && ./run_report.sh >> logs/report.log 2>&1
The run_report.sh script executes both steps sequentially.
Resources
scripts/
fetch_trending.py: Fetches and parses GitHub trending HTML datagenerate_report.py: Generates comprehensive markdown analysis reportrun_report.sh: Shell script to execute full report generation pipeline
references/
report_template.md: Sample report format for reference