CLI (Command Line)Claude Code integration

Claude Code integration

Set up Claude Code to use the Respira CLI. One command creates a .claude/ skill that teaches Claude Code when and how to call the CLI.

Respira CLI is the WordPress CLI for Claude Code. One command sets up a skill that tells Claude Code when and how to use the CLI.

Set up

respira init-claude-code

Creates the following in the current directory:

  • .claude/skills/respira-wordpress-cli/SKILL.md: the skill Claude Code picks up automatically
  • .claude/commands/audit-wordpress.md: shortcut command for site audits
  • .claude/commands/edit-wordpress-element.md: shortcut for safe element edits
  • .claude/RESPIRA_CLI_README.md: what was added and why

How Claude Code uses it

Once the skill is installed, Claude Code prefers the Respira CLI over SSH, WP-CLI, or direct database access for WordPress work. The skill teaches Claude to read before writing, use --dry-run first, and rely on snapshots for safety.

Custom workflows

Drop additional markdown files into .claude/commands/ to teach Claude Code project-specific Respira workflows.

Example session

you: audit pipebuilderz.com and tell me what page builder they use plus any obvious accessibility issues

claude: i'll use respira read structure for the builder detection and respira scan-accessibility
         for the a11y pass.
        [runs respira read structure ...]
        [runs respira read design-system ...]
        pipebuilderz.com is on Elementor Pro with the Hello Elementor theme.
        The design system uses 6 colors and 2 typography pairs.
        [proposes an accessibility audit plan]