agentleFS
schen22schen22/claude-config/skills/web-kit/SKILL.md

web-kit

Skill0 starsChanged 2 days agoMITView on GitHub

Start a new website, or add/update the shared header and light/dark theme toggle in one of Sarah's 11ty sites, from ~/Documents/projects/web-kit. Use on "new site", "new website", "start a site", "add a header", "theme toggle", "dark mode toggle", "add web-kit", "update web-kit".

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask: name, slug, one-line description, folder (default ~/Documents/projects/<slug>), GitHub repo or not.

    line 17
  2. Distinctive:

    Read the site's header, toggle, base layout, tokens and tests first.

    line 30
  3. Very specific:

    Keep the site's icons/wordmark by moving them into wk-icon-* / wk-wordmark.

    line 34
  4. Very specific:

    After the change: the site's gate, plus copy scripts/browser-check.mjs in and run it against a page that shows the header.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

web-kit

Source: ~/Documents/projects/web-kit (read its README.md for the file list and contract). Plan, then wait, as always.

New site

  1. Ask: name, slug, one-line description, folder (default ~/Documents/projects/<slug>), GitHub repo or not.
  2. cp -R ~/Documents/projects/web-kit/starter <folder>, then ~/Documents/projects/web-kit/scripts/copy-into.sh <folder>/src/_includes <folder>/src/assets/css/components <folder>/src/assets/js.
  3. Replace placeholders: SITE_NAME, SITE_SLUG, SITE_DESCRIPTION, CREATED_DATE, WEB_KIT_VERSION (grep -rl them; none may remain).
  4. git init -b main, npm install, npm run gate (expect all pass), first commit.
  5. Offer frontend-design for the visual direction; the palette in tokens.css is a placeholder until its contrast pairs are verified in docs/design-system.md.

Add to an existing site

  1. Read the site's header, toggle, base layout, tokens and tests first. List what the site's tests assert about them (labels, classes) — those change.
  2. Plan: which files to copy (copy-into.sh, never overwrites), the token mapping block (tokens/mapping.example.css), include lines, what to delete, test updates. Keep the site's icons/wordmark by moving them into wk-icon-* / wk-wordmark.
  3. After the change: the site's gate, plus copy scripts/browser-check.mjs in and run it against a page that shows the header. Visual sign-off is Sarah's.
  4. Record web-kit <version> in the site's PLAN.md Decisions.

Update a site

Diff each web-kit-stamped file against web-kit; keep intentional local edits; bump the stamp; gate + browser check; record the version. Never overwrite blindly.

Change web-kit itself

Edit in ~/Documents/projects/web-kit, bump VERSION and all stamps, npm run gate, run the browser check in a scratch site built from starter/, add a CHANGELOG line.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.