chore: align manifests, fix CI, and vendor skill libraries (+ superpowers hook)#1
Merged
Merged
Conversation
Bump marketplace.json from 2.2.1 to 2.5.0 to match skill.json and plugin.json, and update the metadata description counts (161 palettes, 15 stack guidelines) to reflect the current databases.
The build-linux job used GitHub's default Conda starter workflow, which ran 'conda env update --file environment.yml'. No environment.yml exists in this repo (the search engine is pure standard-library Python), so the job failed on every push. Replace it with a dependency-free workflow that byte-compiles the search scripts and smoke-tests domain search, stack search, and design-system generation across Python 3.10-3.12.
The claude-review job failed on every PR because the CLAUDE_CODE_OAUTH_TOKEN secret is not configured; the action aborts with an env validation error. Add a check-secret pre-job that detects the secret and gate the Claude jobs on it, so they are skipped cleanly (neutral status) instead of failing when the secret is missing. Apply the same guard to claude.yml, which shares the failure mode. Note: enabling the jobs still requires adding the CLAUDE_CODE_OAUTH_TOKEN secret in repo settings.
Install the anthropics/skills document set (docx, pdf, pptx, xlsx) plus the frontend-design skill as sibling skill folders under .claude/skills, alongside the existing ui-ux-pro-max skill. Each is a self-contained SKILL.md with its supporting scripts/reference files, mirroring how the other skills in this directory are vendored. Source: https://github.com/anthropics/skills
Install the skill-creator skill from anthropics/skills as a sibling folder under .claude/skills. It's the meta-skill for authoring, editing, evaluating, and optimizing skills, complementing the document and frontend-design skills already vendored here. Source: https://github.com/anthropics/skills
Install the 14 skills from the obra/superpowers library as sibling folders under .claude/skills, including test-driven-development, systematic-debugging, brainstorming, writing-plans/executing-plans, code-review (requesting/receiving), subagent-driven-development, and verification-before-completion. Note: only the skill folders are vendored here, not the upstream hooks/dispatcher harness. Source: https://github.com/obra/superpowers
Add a SessionStart hook (.claude/settings.json) that runs a vendored, self-contained script (.claude/hooks/superpowers-session-start.sh) to inject the using-superpowers skill as session context on startup/clear/compact. The script resolves the skill relative to its own location (.claude/skills/using-superpowers/SKILL.md) rather than relying on CLAUDE_PLUGIN_ROOT, so it works for the plain vendored install in this repo. Adapted from obra/superpowers (hooks/session-start).
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.
Summary
Housekeeping plus a substantial expansion of the vendored skill set under
.claude/skills/, made while verifying and extending theui-ux-pro-maxskill installation.1. Align
marketplace.jsonwith skill manifests.claude-plugin/marketplace.jsonlagged behind the canonicalskill.jsonand.claude-plugin/plugin.json:2.2.1→2.5.0(bothmetadata.versionand the plugin entry'sversion)metadata.descriptioncounts updated:96 palettes→161 palettes,13 stack guidelines→15 stack guidelines2. Fix CI workflows
build-linux: replaced the broken Conda-based workflow with dependency-free Python checks (compile + smoke tests across Python 3.10–3.12).claude-review/claude.yml: added acheck-secretpre-job so the Claude jobs skip cleanly (neutral status) whenCLAUDE_CODE_OAUTH_TOKENis absent, instead of failing every PR. (Enabling them still requires adding that secret in repo settings.)3. Vendor official Anthropic skills (
anthropics/skills)Installed as sibling skill folders alongside
ui-ux-pro-max:docxpdfpptxxlsxfrontend-designskill-creator4. Vendor the
obra/superpowersskills libraryInstalled all 14 skills as sibling folders:
test-driven-development,systematic-debugging,brainstorming,writing-plans,executing-plans,subagent-driven-development,requesting-code-review,receiving-code-review,verification-before-completion,dispatching-parallel-agents,using-git-worktrees,finishing-a-development-branch,using-superpowers, andwriting-skills.5. Wire up the superpowers
SessionStarthook.claude/hooks/superpowers-session-start.sh— self-contained, executable; reads.claude/skills/using-superpowers/SKILL.md(resolved relative to its own location, so it does not depend onCLAUDE_PLUGIN_ROOT) and injects it asSessionStartadditionalContext..claude/settings.json— registers the hook with matcherstartup|clear|compact..claude/skills/now holds 27 skills total. Note: skill folders are vendored as plain copies; only the superpowers session-start hook (not the upstream Windowsrun-hook.cmdwrapper) is wired up — the script is bash/Linux-oriented for the web execution environment.Verification
marketplace.jsonvalidated as parseable JSONyaml.safe_load;build-linuxgreen across 3.10/3.11/3.12;claude-reviewnow reportsskippedSKILL.md(nonode_modules/venv/.pyccruft, no name collisions)jq -eschema check onsettings.json(exit 0), and a simulated invocation withCLAUDE_PROJECT_DIRset. (TheSessionStarthook activates in new sessions / after/hooksreload — Claude Code's settings watcher does not pick up asettings.jsoncreated mid-session.)https://claude.ai/code/session_013jUJgtH8EM5JzfzB7PEVNf
Generated by Claude Code