feat: Claude Code install path + requirements.txt (v3.5.0)#1
Merged
Conversation
The skill was OpenClaw-only. Add a Claude Code installation path so the same payload runs in Claude Code, plus an explicit dependency manifest. - INSTALL.sh: copies the payload into ~/.claude/skills/wordpress-api-pro/ so Claude Code auto-discovers it (idempotent; prompts before overwrite; reports whether `requests` is available). SKILL.md frontmatter already carries the name+description Claude Code needs. - wordpress-api-pro/requirements.txt: `requests`, needed only by the ACF / SEO / JetEngine / plugin-detection scripts. Core post/page/media/WooCommerce/batch scripts stay stdlib-only. - README: "Via Claude Code" install section + Elementor MCP kit pairing note. - SKILL.md: "Running in Claude Code" section (auth, deps, local-dev sites). - Bump to 3.5.0; ship INSTALL.sh + requirements.txt in package files; CHANGELOG. Verified: `bash -n INSTALL.sh`, package.json valid, `npm test` passes (compileall + batch dry-run), installer smoke-run lands the skill at ~/.claude/skills/wordpress-api-pro/ with SKILL.md v3.5.0. Co-Authored-By: Claude Opus 4.8 <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.
Why
The skill shipped as OpenClaw-only (
openclaw skills install,~/.openclaw/...). The same Python scripts run fine anywhere β this adds a first-class Claude Code install path and a dependency manifest, so the toolkit can sit next to the Elementor MCP kit and cover the content/SEO/media/commerce ops the MCP can't.What
INSTALL.shβ copies the payload into~/.claude/skills/wordpress-api-pro/so Claude Code auto-discovers it. Idempotent, prompts before overwrite, reports whetherrequestsis present. (The SKILL.md frontmatter already carries thename+descriptionClaude Code needs β no format change required.)wordpress-api-pro/requirements.txtβrequests, needed only by the ACF / SEO / JetEngine / plugin-detection scripts. The core post/page/media/WooCommerce/batch scripts stay stdlib-only (that's why CI'snpm testalready passes without it).3.5.0, shipINSTALL.sh+requirements.txt, CHANGELOG entry.Verification
bash -n INSTALL.sh;package.jsonvalid JSON;npm testpasses (compileall + batch dry-run).~/.claude/skills/wordpress-api-pro/withSKILL.mdv3.5.0,scripts/,config/,references/,requirements.txt.detect_plugins.pyβ ACF active / Rank Math inactive;list_posts.pyβ[]on a fresh site) using the same Application Password auth.π€ Generated with Claude Code