feat: reproducible agent skill collection with install/update tooling

- skills-lock.json pins every skill (extracted from infinito-nexus-core)
- make install (global to $HOME) and make project TARGET=<repo> copy the
  rendered skills into .agents/skills + .claude/skills
- make update refreshes the lock via npx skills; make test validates the
  lock shape and shellchecks the scripts
- CI: test workflow on push/PR, daily update workflow opening a PR
- MIRRORS for code.infinito.nexus and git.veen.world
This commit is contained in:
2026-07-10 11:23:51 +02:00
parent 2970bcb888
commit 16c8b7f4af
12 changed files with 282 additions and 36 deletions

16
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: 🧪 Test
on:
push:
pull_request:
jobs:
test:
name: 🧪 Lock + scripts
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v7
- name: 🧪 Run tests
run: make test

38
.github/workflows/update.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: 🔄 Update
on:
schedule:
- cron: "17 4 * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-skills:
name: 🧠 Update skills-lock.json
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v7
- name: 🔧 Set up Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
- name: 🔄 Update skills
run: make update
- name: 🧪 Run tests
run: make test
- name: 📂 Open PR if skills-lock.json changed
uses: peter-evans/create-pull-request@v7
with:
branch: update/skills
commit-message: "update(skills): update skills-lock.json to latest versions"
title: "update(skills): update agent skills to latest versions"
body: "Automated daily update of `skills-lock.json` via `make update`."
add-paths: skills-lock.json