Repository navigation
v0.5.0: package html-kit as a Claude Code plugin - #3
Merged
Merged
Conversation
- ignore watch events from the daemon's own _daemon/ output dir - skip overlapping builds; 1.5s trailing debounce; --incremental rebuilds - watch each ~/.html-kit slug dir instead of a recursive KIT_HOME watch (macOS FSEvents fired spurious parent-dir events) - rotate out.log/daemon.log at 5 MB on startup - build-index: remove staged copies whose source is gone; warn and skip sources that vanish or fail to stage - gitignore .html-kit/_archive/ Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- replace client, vendor and internal project names in recipe gotchas and patterns with generic descriptions; every lesson kept - move dated gotcha entries above the field-manual footer, date-ordered - every recipe.md starts with name/when frontmatter (routing phrase used to generate the SKILL.md cheatsheet) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- build-index reads tracked assets/index-template.html; the old template lived in a gitignored .html-kit/ file, so clean clones could not build - discover-roots: no default scan root; empty config returns unconfigured:true and the Rescan toast says how to configure it - project labels strip the mangled HOME prefix instead of a hardcoded path - skip all _-prefixed dirs in ~/.html-kit (_gotchas, _patterns) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- .claude-plugin/plugin.json + self-hosted marketplace.json
- skills call bundled scripts via ${CLAUDE_SKILL_DIR} with matching
allowed-tools rules; daemon-check.ts and artifact-from-url.ts replace
curl/jq snippets
- user gotchas and patterns go to ~/.html-kit/_gotchas and _patterns so
they survive plugin updates; repo edits only inside an html-kit checkout
- build-cheatsheet.ts generates the SKILL.md cheatsheet and README counts
from recipe frontmatter (--check for CI)
- attribution: the 11 unknowns exemplars are Apache-2.0 (upstream
relicensed 2026-05-18); add LICENSES/Apache-2.0.txt
- README install matrix, namespaced plugin command names, spec doc
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- PostToolUse hook audits every write under .html-kit/ and feeds failures back to Claude - render-audit: fail on external scripts, stylesheets, fonts, CSS url(), media and module imports; ignore code samples and comments; check every :root block; html-kit:palette=custom meta skips the palette check - evals/: 6 cases tagged free/paid for claude plugin eval - CI: Playwright suite against a started daemon + cheatsheet check; free evals on same-repo PRs and pushes, paid graders on main only - tests use a committed fixture artifact instead of a personal path Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…red scan toast in test Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Packages html-kit as an installable Claude Code plugin and adds enforcement, evals and CI. Spec:
docs/specs/2026-09-16-plugin-packaging.md(P0, P1, P3; the P2 annotation monitor is deferred).What changes
.claude-plugin/plugin.json+ self-hostedmarketplace.json;skill/renamed toskills/. Install with/plugin marketplace add nyashkn/html-kitthen/plugin install html-kit@html-kit../install.shstill works for manual installs.${CLAUDE_SKILL_DIR}with matchingallowed-tools, so they run from any repo without permission prompts.daemon-check.tsandartifact-from-url.tsreplace curl/jq snippets.~/.html-kit/_gotchas/and~/.html-kit/_patterns/; repo files are only edited inside an html-kit checkout..html-kit/and feeds failures back to Claude. The audit now catches external scripts, stylesheets, fonts, CSSurl(), media and module imports, ignores code samples, and accepts<meta name="html-kit:palette" content="custom">for non-Anthropic palettes.recipe.mdfiles carryname/whenfrontmatter;bun run cheatsheetregenerates the SKILL.md table and README counts (--checkin CI).assets/index-template.html.unknownsexemplars are Apache-2.0 (upstream relicensed 2026-05-18); attribution andLICENSES/Apache-2.0.txtadded.Tests and evals
claude plugin validate . --strictpasses; plugin loads 3 skills + 1 hook.evals/: 6 cases taggedfree/paid. CI runs free graders on same-repo PRs and pushes, paid graders onmainonly.Before merging
ANTHROPIC_API_KEYrepository secret, or the eval jobs fail.🤖 Generated with Claude Code