Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .claude/agents/auditor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: auditor
description: Independent spot check of entries the fill loop just added. Re-checks each one from scratch and puts failures on hold. Must not be the agent that added them.
tools: Read, Edit, Glob, Grep, WebFetch, WebSearch, Bash
model: sonnet
maxTurns: 60
---

You get a list of entries (name + branch file). For each one, check from scratch, without trusting the entry:

1. The URL opens and is the official page of the thing named.
2. `use_when` is true and plain.
3. The license matches the license page; `never_copy` is set if redistribution is forbidden.
4. It isn't paid while sitting outside `paid`.
5. It isn't abandoned or a duplicate of another entry under a different name.

For a failure, add `hold: "<short reason>"` to that entry in its catalog file (nothing else). Then run `python scripts/gate.py` and `python scripts/build.py`.

Write `runs/<today>-audit.md`: a table of entry | pass/fail | reason, and the fail rate as a percentage.
41 changes: 41 additions & 0 deletions .claude/agents/harvester.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: harvester
description: Finds many real tools, libraries, fonts, asset sources or lists for ONE section of a toolkit branch and writes them as proposals in catalog/_inbox/. Used by the fill-branch loop; can run many in parallel.
tools: Read, Write, Glob, Grep, WebSearch, WebFetch, Bash
model: sonnet
maxTurns: 60
---

You add entries to the toolkit catalog. You are given a branch (e.g. `frontend/motion`), one section (e.g. `Animation libraries`) and a target number.

Where to look, best first: the official directories and indexes for the area (e.g. the shadcn registry index, npm search, GitHub topics), well-kept awesome lists, then official sites. Prefer things that are free and open source; paid ones are fine but get `tier: paid`.

Before adding anything, check it isn't already there: `python scripts/find.py "<name>"` and `grep -ri "<name>" catalog/_inbox`.

Write ONE file: `catalog/_inbox/<branch with - instead of />-<section-slug>-<random 4 letters>.yaml`:

```yaml
proposals:
- branch: frontend/motion
branch_title: Motion # only if this branch has no catalog file yet
section: Animation libraries
tier: alternatives # default | alternatives | more | big_lists | paid | list
name: Motion
url: https://motion.dev # official homepage
repo: motiondivision/motion # GitHub owner/name if it has one (gives stars, activity, license)
npm: motion # npm package if there is one
search: Motion animation library React
license: MIT # as the source states it; SPDX id for code
license_url: https://github.com/motiondivision/motion/blob/main/LICENSE.md # required for non-code
install: npm i motion
use_when: you want spring and layout animations in React with a small API
status: candidate
```

Rules:
- Only use URLs you opened yourself (WebFetch) or got from an API or registry. Never guess a URL or a repo name.
- `use_when`: one plain line, no hype words (insane, stunning, powerful, seamless).
- Mark `never_copy: true` when the license allows use but forbids redistributing the code (Commons Clause, "no redistribution", most Pro kits).
- Suggest `tier: default` only for the obvious first pick; most entries are `alternatives` or `more`.
- Never edit files outside `catalog/_inbox/`. Don't install packages.
- Finish with one line: how many proposals you wrote and the file path.
18 changes: 18 additions & 0 deletions .claude/agents/license-checker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: license-checker
description: Confirms licenses for proposals in catalog/_inbox/ that the gate flagged (no license, no evidence, or a mismatch). Used by the fill-branch loop.
tools: Read, Edit, Glob, Grep, WebFetch, WebSearch
model: sonnet
maxTurns: 40
---

You fix license facts in ONE inbox file you're given. For each proposal whose `problems` mention a license:

1. Find the real license page (the repo's LICENSE file, the site's license or terms page). Open it.
2. Set `license` to what it actually says (SPDX id for code, e.g. MIT, Apache-2.0, OFL-1.1; for others, the license's own name).
3. Set `license_url` to the page you opened.
4. If it allows use but forbids redistributing the files or code, set `never_copy: true`.
5. If it costs money for normal use, set `tier: paid`.
6. If you can't confirm it, leave the license alone and set `note: license unclear`.

Change only `license`, `license_url`, `never_copy`, `tier` and `note`. Never add or delete proposals. Never touch other files.
54 changes: 54 additions & 0 deletions .claude/skills/fill-branch/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: fill-branch
description: Fill toolkit branches with many checked entries. Runs parallel harvester subagents, the scripts pipeline (enrich, gate, merge, build), license checks and an independent audit, in a loop with stop rules. Use when asked to fill, grow or harvest a branch or the whole catalog.
---

# Fill a branch

Goal: as many good entries as possible without a person reviewing each one. Machines check facts (link, license, activity, popularity, duplicates); an independent auditor spot-checks a sample; a person only reads the run report.

## Inputs
- Branch(es): from the user, or the next unfinished one in **Order** below.
- Target per section: from the user, default 15.

## Loop

0. `git checkout -b fill/<branch-with-dashes>-<YYYY-MM-DD>` (or continue the branch if it exists). `pip install pyyaml` if needed.
1. For each round, up to **3 rounds**:
1. Count what each section already has: `python scripts/find.py "<section name>" --branch <branch> -n 100`. Skip sections already at target.
2. Spawn one **harvester** per section that still needs entries, **in parallel** (at most 8 at once). Tell each: branch, section, how many more it needs, and the section hints below.
3. Run `python scripts/pipeline.py --inbox`.
4. If any waiting proposals have license problems, spawn one **license-checker** per inbox file, in parallel, then run `python scripts/pipeline.py --inbox` again.
5. Commit: `Fill <branch>: +<added> entries (round <n>)`. No co-author or AI attribution lines.
6. **Stop** when every section is at target, or this round added fewer than 3 entries, or this was round 3.
2. **Audit.** From this run's additions (`git diff main --stat -- catalog` and the run reports), pick 10% at random (at least 5, at most 20). Spawn the **auditor** with that list. It must be a fresh auditor, not a harvester.
3. If the audit fail rate is **over 10%**, stop and say so first in the summary. Leave everything committed so the person can look.
4. Run `python scripts/build.py --check` and `agentskills validate "$PWD"`. Commit `Audit fill run` if anything changed.
5. Summarise in 5 lines: entries added per section, verified vs candidate, rejected count, audit fail rate, report paths in `runs/`. **Never push.**

## Rules
- Only harvesters write to `catalog/_inbox/`. Only scripts and the auditor change entries in branch files. You (the orchestrator) may set a branch's `intro` and `notice` in one plain sentence each.
- Don't edit `SKILL.md`, `README.md` or the maintainer's wording.
- Don't raise the thresholds in `scripts/gate.py` to get more entries through.
- If the GitHub API rate limit is hit, say so: the person should run `gh auth login` or set `GITHUB_TOKEN`.

## Order and sections

| Branch | Sections (hints in brackets) |
| --- | --- |
| frontend/ui | Base kits (shadcn/ui, Radix, React Aria) · Animated kits (Magic UI, Aceternity, React Bits, Animate UI, Motion Primitives, Cult UI, Watermelon UI, Skiper UI; check never_copy) · Blocks and sections · Icons · Color and tokens (tweakcn, Radix Colors) · Component registries |
| frontend/motion | Animation libraries · Text and background effects · Shaders and WebGL backgrounds · Smooth scroll · Lottie and Rive |
| assets/ready-made | Photos · Public domain · Illustration · 3D models · Textures and HDRIs · Video · Music · Sound effects · Animation files |
| frontend/ux | Real-app references (paid ones to paid) · Patterns and flows · Forms and inputs · Accessibility tools · Copy and microcopy |
| frontend/frameworks | Web frameworks · Static site generators · Build tools · Styling · State and data fetching · Forms and validation |
| frontend/3d | Engines · React helpers · Physics · Model tools and compression · Performance |
| assets/ai-generators | Image · 3D · Video · Voice · Music (mostly paid; say what the free tier allows) |
| print-pdf | Make PDFs · Edit and merge · Read and extract · OCR · Templates · Print and layout tools |
| platforms | Mobile · Desktop · Browser extensions · Games · MCP servers |
| ship | Hosting · CI · Domains and DNS · Analytics · Error tracking · SEO and sharing |
| quality | Testing · Accessibility checks · Performance · Security · Linting and formatting |
| backend | Databases · ORMs · Auth · Payments · Email · File storage · Search · Realtime · Background jobs · AI features · Public APIs. Set the branch `notice` to: Listed, not endorsed. No security guarantee: use managed providers for auth and payments and review before going live. |
| assets/make-your-own | 3D · Vector · Painting · Photo editing · Video editing · Audio · Design tools |
| frontend/dataviz | Charts · Maps · Diagrams · Tables |
| agent-tooling | MCP servers and connectors · Skills · Plugins · Docs for agents |
| learn | Repos to read · Awesome lists · Courses · References |
10 changes: 6 additions & 4 deletions .github/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions .github/workflows/fill.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Fill pipeline
# Runs the checks on new catalog proposals (links, licenses, stars, activity, duplicates),
# places the ones that pass, rebuilds the pages and commits the result to the same branch.
on:
push:
branches: ["fill/**"]
paths: ["catalog/**"]
workflow_dispatch:
permissions:
contents: write
concurrency:
group: fill-${{ github.ref }}
cancel-in-progress: false
jobs:
pipeline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: "3.12" }
- run: pip install pyyaml
- name: Enrich, gate, merge, build
run: python scripts/pipeline.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit results
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A catalog reference runs
git diff --cached --quiet && { echo "nothing changed"; exit 0; }
git commit -m "Pipeline: check and place proposals"
git push
- name: Summary
run: cat "$(ls -t runs/*.md | head -1)" >> "$GITHUB_STEP_SUMMARY"
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- `reference/` pages are generated. Edit `catalog/**/*.yaml`, then run `python scripts/build.py`. Never hand-edit a generated page.
- Every entry needs `name`, `url`, `search`, `license`, `status`. New entries start as `candidate`. See `catalog/SCHEMA.md`.
- Alternatives per section: 1-5. Free options before paid ones; paid entries go in `paid`.
- To add many entries, use the `fill-branch` skill (`.claude/skills/fill-branch`): harvester subagents write to `catalog/_inbox/`, then `python scripts/pipeline.py` checks and places them. Don't hand-place entries in bulk.
- Search the catalog with `python scripts/find.py "<need>"`.
- Before finishing: `agentskills validate "$PWD"` and `python scripts/build.py --check` both pass.
- Don't rewrite the maintainer's wording in `SKILL.md` or `README.md` without asking.
- Commits: no AI co-author lines.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Unreleased

- Fill pipeline: `scripts/enrich.py` (facts from GitHub, npm and the link), `gate.py` (status from fixed rules), `merge.py` (inbox to branches, duplicates dropped, rejects kept with reasons), `pipeline.py` (runs all four and writes a report to `runs/`).
- `scripts/find.py` searches every entry; `build.py` also writes `catalog/index.json`.
- New tier **More options** so sections can grow past 5 alternatives.
- Claude Code: `fill-branch` skill plus `harvester`, `license-checker` and `auditor` subagents.

## 0.1.0 (draft, not released)

- Toolkit moves from `Aydin-codes/skills/toolkit` to its own repo.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src=".github/assets/logo.svg" alt="toolkit logo: a black index folder with a checked list on a safety-yellow tile" width="96"></p>
<p align="center"><img src=".github/assets/logo.svg" alt="toolkit logo: a black toolbox on a safety-yellow tile" width="96"></p>

<h1 align="center">toolkit</h1>

Expand Down
4 changes: 2 additions & 2 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ At the start of a task:
Use this whenever the user has to choose a tool, library or asset source.

1. **Scope first.** Ask only what you can't infer: what it is, who uses it, what already exists (logo, photos, data, a repo), free only or paid OK, deadline.
2. **Open one branch file** from **Where to look**. Don't load other branches. If the page is marked *coming soon*, use this file's stack table and rules plus the official docs, and say so.
2. **Open one branch file** from **Where to look**. Don't load other branches. If the page is marked *coming soon*, use this file's stack table and rules plus the official docs, and say so. If you can run Python, `python scripts/find.py "<need>" --free` searches every page at once.
3. **Rank** the options in that file by, in order: fits the stack → free → license allows this use → commits in the last 12 months → an agent can install it (npm, shadcn registry, MCP or download) → popularity.
4. **Answer with 1-3 picks**, one line each: name, link, why it fits, license. Start with the file's **Default** unless there's a reason not to.
5. If nothing fits, use the file's **Big lists** links, or the Context Awesome MCP if connected, and apply the same ranking.

Each branch file has three tiers: **Default** (one pick), **Strong alternatives** (3-5, each with "use when"), **Big lists** (links to larger awesome lists, not copied in).
Each branch file has three tiers: **Default** (one pick), **Strong alternatives** (3-5, each with "use when"), **Big lists** (links to larger awesome lists, not copied in). Long sections also have **More options**.

## Operating rules

Expand Down
25 changes: 25 additions & 0 deletions catalog/SCHEMA.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ sections:
default: { ...entry } # one pick
alternatives: [ entry, ... ] # 3-5, each with use_when
big_lists: [ entry, ... ] # bigger lists we link to, not copy
more: [ entry, ... ] # extra options beyond the 5 alternatives (filled by scripts/merge.py)
paid: [ entry, ... ] # listed separately, with a free option in `note`
list: [ entry, ... ] # plain list, for sections that don't rank (e.g. style buckets)
```
Expand All @@ -38,3 +39,27 @@ sections:
3. An agent can install or fetch it.
4. Works with the stack it's listed under.
5. A free demo or specimen you can actually see.

## Fields the pipeline adds

| Field | Set by | Meaning |
| --- | --- | --- |
| `repo` | harvester | GitHub `owner/name`, so `enrich.py` can read stars, activity and license |
| `npm` | harvester | npm package name, for license, last publish and weekly downloads |
| `license_url` | harvester / license-checker | The license page; required evidence for anything that isn't code |
| `facts` | `scripts/enrich.py` | What the web says: link status, stars, last push, archived, licenses, downloads, date checked |
| `verified_by` | `scripts/gate.py` or a person | `auto` (passed the gate rules) or `human` (a person checked it) |
| `problems` | `scripts/gate.py` | Why an entry is still a candidate |
| `hold` | auditor or a person | Keeps an entry a candidate until a person removes it |

## The pipeline

```
harvester agents ──► catalog/_inbox/*.yaml
│
enrich.py (facts) ──► gate.py (status) ──► merge.py (place or reject) ──► build.py (pages + index.json)
│
catalog/_rejected.yaml
```

`python scripts/pipeline.py` runs the four scripts and writes a report to `runs/`. The gate rules are at the top of `scripts/gate.py`. `python scripts/find.py "<need>"` searches every entry.
Loading
Loading