A Claude Code plugin with one skill, using-molt-framework, for projects that build HTML with molt-framework (Rust).
It is what an agent should check before reading the crate's source: which APIs exist in the version the project has, the behaviours that surprise, and a symptom-to-fix table. It works offline.
/plugin marketplace add micheltlutz/molt-framework-skill
/plugin install molt-framework@molt
The marketplace is called molt; the plugin is called molt-framework. Without a GitHub SSH key, set CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1 so installs from inside a session clone over HTTPS.
The skill triggers when a project depends on molt-framework, or when Rust code builds HTML with Molt. It tells the agent to:
- read the installed version from
Cargo.lock; - look the API up in a table with one column per version, instead of searching the source for something that does not exist yet;
- apply the rules that hold in every version (escape once, imports, the position of
.text(), name shadowing); - use a recipe for what Molt 1.x lacks, and the new API on 2.x;
- verify by asserting on the rendered string before saying it is done.
Two reference pages are bundled (references/capabilities.md, references/pitfalls.md). They are snapshots of the Molt repository's docs/ pages, stamped with the commit they came from. From the Molt version that ships those pages in the published crate, the skill sends the agent to the crate's own copy in ~/.cargo/registry/src/*/molt-framework-<version>/.
.claude-plugin/marketplace.json the marketplace ("molt")
plugins/molt-framework/
.claude-plugin/plugin.json the plugin
README.md, LICENSE, PRIVACY.md, icon.png required or read by the directory listing
skills/using-molt-framework/
SKILL.md
references/capabilities.md snapshot of Molt's docs/capabilities.md
references/pitfalls.md snapshot of Molt's docs/pitfalls.md
scripts/sync-references.sh refreshes the two snapshots
docs/retrieval-checks.md questions and expected answers used to test the skill
Try it without installing:
claude --plugin-dir plugins/molt-frameworkValidate both manifests:
claude plugin validate .
claude plugin validate plugins/molt-frameworkRefresh the bundled pages from the Molt repository (needs gh, logged in):
bash scripts/sync-references.sh # from `develop`
bash scripts/sync-references.sh <git-ref> # from a tag or a commitAfter syncing, re-run the checks in docs/retrieval-checks.md, and re-read SKILL.md: it names the Molt versions in prose ("published 1.x", "unreleased 2.0") and those sentences need a hand edit when a release is cut.
- Update
CHANGELOG.md. - Raise
versioninplugins/molt-framework/.claude-plugin/plugin.json. It is declared only there:marketplace.jsonhas noversion, because the manifest's value wins and a second copy can only drift. Without a newversion, installed copies are not updated. claude plugin validate --strict .andclaude plugin validate --strict plugins/molt-framework.- Commit and push, then tag with
claude plugin tag plugins/molt-framework --push(it createsmolt-framework--v<version>).
People update with claude plugin update molt-framework@molt.
The directory submission (claude.ai/directory/manage) follows the main branch with plugins/molt-framework as the plugin path, so a push is also how a new version reaches it.
If ~/.claude/skills/using-molt-framework/ exists, remove it after installing the plugin, or the skill is listed twice.
MIT. See LICENSE.