Skip to content

feat: Claude Code install path + requirements.txt (v3.5.0)#1

Merged
BenKalsky merged 1 commit into
mainfrom
feat/claude-code-install
Jun 1, 2026
Merged

feat: Claude Code install path + requirements.txt (v3.5.0)#1
BenKalsky merged 1 commit into
mainfrom
feat/claude-code-install

Conversation

@BenKalsky
Copy link
Copy Markdown
Member

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 whether requests is present. (The SKILL.md frontmatter already carries the name+description Claude 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's npm test already passes without it).
  • README β€” "Via Claude Code" install section + a pairing note with the Elementor MCP kit.
  • SKILL.md β€” "Running in Claude Code" section (auth env vars, deps, local-dev sites, MCP pairing).
  • Packaging β€” bump to 3.5.0, ship INSTALL.sh + requirements.txt, CHANGELOG entry.

Verification

  • βœ… bash -n INSTALL.sh; package.json valid JSON; 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, scripts/, config/, references/, requirements.txt.
  • βœ… Scripts smoke-tested against a live local WordPress Pro site (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

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>
@BenKalsky BenKalsky merged commit a33d2d0 into main Jun 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant