Automatically curates and updates a list of GitHub stars. Benefits developers by maintaining an organized repository of starred projects. Integrates with GitHub Actions for scheduled updates at UTC 00:00 and 16:00.
git clone https://github.com/erbanku/awesome.gitAutomatically curates and updates a list of GitHub stars. Benefits developers by maintaining an organized repository of starred projects. Integrates with GitHub Actions for scheduled updates at UTC 00:00 and 16:00.
[{"step":"Create a new repository named [REPO_NAME] (e.g., 'awesome-stars') to store your starred repositories list.","tip":"Use a clear name like 'starred-repos' or 'awesome-projects' to make it easy to find later."},{"step":"Generate a GitHub Personal Access Token with 'repo' scope and add it as a repository secret named GITHUB_TOKEN in your [REPO_NAME] repository.","tip":"Go to Settings > Secrets > Actions > New repository secret. Name it GITHUB_TOKEN and paste the token value."},{"step":"Create a new file in your repository at `.github/workflows/update_starred_repos.yml` and paste the workflow YAML from the example output.","tip":"Replace [USERNAME] with your GitHub username and [REPO_NAME] with your repository name in the workflow file."},{"step":"Commit and push the workflow file. The workflow will automatically run at the scheduled times (UTC 00:00 and 16:00).","tip":"Check the Actions tab in your repository to monitor the workflow runs and debug any issues."},{"step":"Customize the output format by editing the Python script in the workflow. For example, add sorting, filtering, or additional metadata like stars count.","tip":"Use GitHub's API documentation to explore additional fields you can include in the output."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/erbanku/awesomeCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a GitHub Actions workflow that automatically curates and updates a list of starred repositories for [USERNAME]. The workflow should run at UTC 00:00 and 16:00 daily, fetch the starred repos, and update a markdown file in the [REPO_NAME] repository. Include error handling for rate limits and API failures. Use the GitHub API token [GITHUB_TOKEN] for authentication.
```yaml
# .github/workflows/update_starred_repos.yml
name: Update Starred Repositories
on:
schedule:
- cron: '0 0 * * *'
- cron: '0 16 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Fetch starred repositories
id: fetch_stars
run: |
python << 'EOF'
import requests
import os
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
USERNAME = 'alice-dev'
REPO_NAME = 'awesome-stars'
headers = {
'Authorization': f'token {GITHUB_TOKEN}',
'Accept': 'application/vnd.github.v3+json'
}
try:
response = requests.get(
f'https://api.github.com/users/{USERNAME}/starred',
headers=headers,
params={'per_page': 100}
)
response.raise_for_status()
repos = response.json()
with open('starred_repos.md', 'w') as f:
f.write('# Starred Repositories\n\n')
for repo in repos:
f.write(f"- [{repo['name']}]({repo['html_url']}) - {repo['description'] or 'No description'}\n")
print(f"Updated starred repos for {USERNAME}")
except requests.exceptions.RequestException as e:
print(f"Error fetching starred repos: {e}")
exit(1)
EOF
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add starred_repos.md
git diff --quiet && git diff --staged --quiet || git commit -m "Update starred repositories [skip ci]"
git push
```
The workflow will:
1. Run at UTC 00:00 and 16:00 daily.
2. Fetch starred repositories for `alice-dev` using the GitHub API.
3. Update the `starred_repos.md` file in the `awesome-stars` repository with the latest starred projects.
4. Commit and push changes if updates are found.
5. Handle API errors gracefully with error logging.
The resulting `starred_repos.md` file will look like:
```markdown
# Starred Repositories
- [react](https://github.com/facebook/react) - A declarative, efficient, and flexible JavaScript library for building user interfaces
- [next.js](https://github.com/vercel/next.js) - The React Framework for Production
- [tailwindcss](https://github.com/tailwindlabs/tailwindcss) - A utility-first CSS framework for rapidly building custom designs
```Let’s build from here, together
Your one-stop shop for church and ministry supplies.
Automate your browser workflows effortlessly
Extensive icon library for web and app design
Customer feedback management made simple
Enterprise workflow automation and service management platform
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan