agent-html-skills
CLAUDE.md57 starsChanged 3 months agoMITView on GitHub
Always bump the plugin version on every update — never ship changed code under the same version string. - The version lives in plugins/html-skills/.claude-plugin/plugin.json → "version". - Every skill's SKILL.md frontmatter carries the same version in metadata.version (ecosystem sites read individual skills, so per-skill versions must match the plugin version). Don't edit the 19 files by hand — run python3 scripts/sync-skills.py --set X.Y.Z to bump plugin.json and stamp every skill in one step (or --write to re-sync after a manual…
- Commits and pushes
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Every skill's SKILL.md frontmatter carries the same version in metadata.version (ecosystem sites read individual skills, so per-skill …
- Very specific: line 17
Update plugins/html-skills/CHANGELOG.md in the same change.
- Very specific: line 18
After the release merges to main, tag it: git tag vX.Y.Z && git push origin vX.Y.Z (matches the existing v1.0.0 tag convention).
- Very specific: line 22
Do not confuse this with the submit-payload version: 1 inside the interactive skills' SKILL.md / submit-handler.js — that is the JSON …
- Very specific: line 28
Every content skill repeats the same ## Pre-flight, ## HTML output foundation, and (interactive skills only) ## Submit pipeline sections …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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.
Files
agent-html-skills — conventions for Claude Code
Versioning (required)
Always bump the plugin version on every update — never ship changed code under the same version string.
- The version lives in
plugins/html-skills/.claude-plugin/plugin.json→"version". - Every skill's
SKILL.mdfrontmatter carries the same version inmetadata.version(ecosystem sites read individual skills, so per-skill versions must match the plugin version). Don't edit the 19 files by hand — runpython3 scripts/sync-skills.py --set X.Y.Zto bump plugin.json and stamp every skill in one step (or--writeto re-sync after a manual plugin.json bump). The script has no third-party dependencies. - Bump the minor (
x.Y.0) for new skills or any behaviour/instruction change; bump the patch (x.y.Z) for small fixes (typos, tiny tweaks). Never reuse a released version. - Update
plugins/html-skills/CHANGELOG.mdin the same change. - After the release merges to
main, tag it:git tag vX.Y.Z && git push origin vX.Y.Z(matches the existingv1.0.0tag convention). - This bump is also load-bearing for skills.sh: it re-audits a skill only when the version string changes, so bumping is what refreshes the security badges.
- Do not confuse this with the submit-payload
version: 1inside the interactive skills'SKILL.md/submit-handler.js— that is the JSON envelope schema version and is unrelated to the plugin release version.
Shared skill sections (single-sourced)
Every content skill repeats the same ## Pre-flight, ## HTML output foundation, and
(interactive skills only) ## Submit pipeline sections verbatim, because skills load
independently and skills.sh reads one SKILL.md at a time. Don't edit those copies:
- The templates live in
plugins/html-skills/assets/blocks/{preflight,foundation,submit}.md. - Each copy sits between
<!-- block:NAME -->…<!-- /block:NAME -->markers. - Edit the template, then run
python3 scripts/sync-skills.py --writeto push it into every skill.--check(run by CI) fails on any drift, on an unbraced$CLAUDE_PLUGIN_ROOT, on anamethat doesn't match the skill directory, on adescriptionover 1,024 characters (skills.sh limit), or ondescription+when_to_useover 1,536 characters (Claude Code truncates the pair in the skill listing).
Skill descriptions
description is what every agent reads (skills.sh, npx skills, Cursor, Codex…), so it
keeps the strongest trigger phrases. when_to_use is Claude-Code-only extra trigger text
read alongside the description; keep the pair under the 1,536-character listing limit.
Descriptions are deliberately pushy — don't soften them. Changing wording in the
data/research/editor skills can re-trigger the skills.sh Snyk scan (W007 is
wording-sensitive); see plugins/html-skills/SECURITY.md and re-scan before tagging.
CI
.github/workflows/version-check.yml runs on every PR to main: a version-bump +
changelog check, scripts/sync-skills.py --check, and claude plugin validate --strict
on the marketplace manifest, the plugin, and the skills directory.
.github/workflows/snyk-agent-scan.yml runs Snyk Agent Scan (the skills.sh engine) on PRs
that touch the skills, on pushes to main, weekly, and on demand, using the SNYK_TOKEN
repository secret. scripts/snyk-gate.py fails the job on any finding that isn't in its
ACCEPTED list; that list and the "Accepted (inherent)" section of
plugins/html-skills/SECURITY.md must be updated together.
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
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.

