feat: add HAX CLI Claude Code plugin + marketplace#28
Open
rickmanelius wants to merge 2 commits into
Open
Conversation
Make this repo a Claude Code plugin marketplace and ship the `hax` plugin so new users can discover, install, and drive the HAX CLI from inside Claude Code, reaching a live HAXsite in the browser on their first run. - .claude-plugin/marketplace.json: in-tool discovery (`/plugin marketplace add haxtheweb/create`) - plugins/hax/.claude-plugin/plugin.json: manifest - plugins/hax/hooks/: SessionStart hook auto-installs @haxtheweb/create when `hax` is missing (opt out with HAX_PLUGIN_NO_AUTOINSTALL=1) - plugins/hax/skills/hax/SKILL.md: onboarding-scoped CLI knowledge - plugins/hax/commands/: /hax:quickstart (golden path) plus site, webcomponent, serve, audit, publish Validated with `claude plugin validate` (plugin + marketplace). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Brainstorm/requirements for the cross-tool (Claude Code + Codex) HAX onboarding layer. Documents the golden path, scope by platform, and the remaining Codex surface (AGENTS.md quickstart + custom prompt) deferred beyond the Claude plugin. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
All contributors have signed the CLA. Thank you! |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
It looks like my Compound Engineering work pulled over, which is probably not necessary. I'd also like to run a more comprehensive set of tests off this fork/branch before this is merged, but I wanted to open it now in case there's any initial feedback. |
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.
Description of Changes
Adds an official Claude Code plugin for the HAX CLI, and turns this repo into a Claude Code plugin marketplace so it can be installed directly.
What changed
.claude-plugin/marketplace.json) — registershaxthewebas a plugin marketplace exposing thehaxplugin.haxplugin (plugins/hax/):SessionStarthook checks forhaxonPATHand installs@haxtheweb/createglobally once if missing (opt out withHAX_PLUGIN_NO_AUTOINSTALL=1).haxskill — full command-surface knowledge (web components, sites, content/node ops, imports, skeletons, publishing) plus HAX conventions (JavaScript-only, DDD design tokens,haxProperties), loaded automatically when HAX comes up./hax:quickstart,/hax:site,/hax:webcomponent,/hax:audit,/hax:serve,/hax:publish.docs/) — the v1 requirements that scoped this work.Why this change was needed
Lets users install and drive the HAX CLI from inside Claude Code with a golden-path onboarding (
/hax:quickstart→ scaffold a HAXsite, serve it, hand back a live URL) instead of learning the CLI surface by hand.How to test
/plugin marketplace add haxtheweb/create(or a local checkout path)/plugin install hax@haxthewebhaxonPATH(or that it's skipped withHAX_PLUGIN_NO_AUTOINSTALL=1)./hax:quickstartand confirm it scaffolds a HAXsite, serves it, and returns a live URL.Notes
@haxtheweb/createpackage.