chore: use local README stats cards via GitHub Action and profile placeholders

This commit is contained in:
sck_0
2026-03-07 12:11:15 +01:00
parent 54f326f749
commit 13c7482f00
4 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
name: Update README stats cards
on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate pin card
uses: readme-tools/github-readme-stats-action@v1
with:
card: pin
options: username=sickn33&repo=antigravity-awesome-skills&show_owner=true&theme=default
path: profile/pin.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate top languages card
uses: readme-tools/github-readme-stats-action@v1
with:
card: top-langs
options: username=sickn33&layout=compact&langs_count=8&card_width=320
path: profile/top-langs.svg
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit cards
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add profile/*.svg
git diff --staged --quiet || (git commit -m "chore: update README stats cards" && git push)

View File

@@ -19,10 +19,10 @@
[![Buy Me a Book](https://img.shields.io/badge/Buy%20me%20a-book-d13610?logo=buymeacoffee&logoColor=white)](https://buymeacoffee.com/sickn33)
<a href="https://github.com/sickn33/antigravity-awesome-skills">
<img height="180" align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=sickn33&repo=antigravity-awesome-skills&show_owner=true&theme=default" alt="antigravity-awesome-skills" />
<img height="180" align="center" src="./profile/pin.svg" alt="antigravity-awesome-skills" />
</a>
<a href="https://github.com/sickn33/antigravity-awesome-skills">
<img height="180" align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=sickn33&layout=compact&langs_count=8&card_width=320" alt="Top languages" />
<img height="180" align="center" src="./profile/top-langs.svg" alt="Top languages" />
</a>
**Antigravity Awesome Skills** is a curated, battle-tested library of **1,272+ high-performance agentic skills** designed to work seamlessly across the major AI coding assistants.

4
profile/pin.svg Normal file
View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="170" viewBox="0 0 400 170">
<rect width="400" height="170" fill="#fff" stroke="#e4e2e2" rx="4.5"/>
<text x="200" y="85" text-anchor="middle" fill="#434d58" font-size="14" font-family="sans-serif">Pin card " Generated by GitHub Action</text>
</svg>

After

Width:  |  Height:  |  Size: 312 B

4
profile/top-langs.svg Normal file
View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="170" viewBox="0 0 320 170">
<rect width="320" height="170" fill="#fff" stroke="#e4e2e2" rx="4.5"/>
<text x="160" y="85" text-anchor="middle" fill="#434d58" font-size="14" font-family="sans-serif">Top languages " Generated by GitHub Action</text>
</svg>

After

Width:  |  Height:  |  Size: 317 B