Localwp Test — Testing skill for Claude Code
Claude Code skill:在 LocalWP 的 WordPress 開發站上測試外掛與佈景主題(WP-CLI、唯讀 SQL、無頭瀏覽器冒煙測試、debug.log 統計),支援 Windows/Linux/macOS.
How to install Localwp Test
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Jeremy-VVu/localwp-test and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Localwp Test does
Claude Code skill:在 LocalWP 的 WordPress 開發站上測試外掛與佈景主題(WP-CLI、唯讀 SQL、無頭瀏覽器冒煙測試、debug.log 統計),支援 Windows/Linux/macOS.
Alternatives in Testing
- Debug — You are tasked with helping debug issues during manual testing or implementation 10k ★
- L Debug Trace — Analytically debug issues by tracing data flow through code - no logs, no test-and-see 3k ★
- Skill Debug — Debug issues methodically — use when stuck on errors, test failures, or unexpected behavior 2.8k ★
README
localwp-test
English | [繁體中文](README.zh-TW.md)
A [Claude Code](https://claude.com/claude-code) skill for testing WordPress plugins and themes on [LocalWP](https://localwp.com/) (Local by Flywheel) development sites.
Everything goes through a single entry point, `bin/lwp`, so one permission rule in Claude Code is enough to skip the confirmation prompt on every call.
**Note:** `SKILL.md` (the instructions Claude reads) and the tool's output messages are written in Traditional Chinese. Claude understands them regardless of the language you chat in.
Features
- WP-CLI using LocalWP's bundled PHP, php.ini and WP-CLI. Destructive operations are blocked unless
--lwp-yesis passed explicitly. - Read-only SQL: only SELECT / SHOW / DESCRIBE / EXPLAIN are allowed.
- PHP lint across versions: checks with the site's PHP version and any others you list (e.g. 7.4, 8.4).
- Authenticated page requests: generates an admin login cookie and reports the HTTP status and any PHP errors on the page.
- Headless browser smoke tests: can crawl every page in the wp-admin sidebar, catching console errors, uncaught exceptions and 4xx/5xx responses. Repeated messages are merged and known environment noise is filtered out.
- Custom browser scripts via
require('lwp-browser'), built on puppeteer. - WP_DEBUG_LOG toggle and grouped summary: turning it off restores a byte-identical copy of the original
wp-config.php. - Outbound HTTP request logging and blocking, database snapshots and restore, and temporary test file management.
Supported platforms
| Windows (Git Bash) | Linux | macOS | |
|---|---|---|---|
| Local data directory | %APPDATA%\Local |
~/.config/Local |
~/Library/Application Support/Local |
| Browser | Edge → Chrome | Edge → Chrome → Chromium | Edge → Chrome → Chromium |
Requirements: bash, python3 (`python` on Windows), node, curl, and one of Edge, Chrome or Chromium.
Installation
git clone https://github.c
Related Skills
Claude Idea Debug Skill
Claude Code skill that triggers an IntelliJ IDEA test/debug run from your Claude conversation, captures the lo
Debug Kit
🧩 Agent Skill: drive, inspect & test apps across 9 platforms (macOS/iOS/Android/Web/Electron/Flutter/RN/Tauri
AppReveal
Debug-only in-app MCP server for iOS/macOS/Android/Flutter/ReactNative. Gives LLM agents Playwright-like contr
Al Debug
Root-cause a bug/test failure/race condition before fixing; checks and maintains a project-local known-issues
Spec Runner
Agent skill and CLI that runs a bounded task feature by feature: a features.json queue kept outside the reposi
Beos App Platforms
Claude Code skill: build, package and test BeOS-style (Haiku API) apps on Haiku/Renku OS (.hpkg) and Linux via
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS
Log Digger
Triage high-volume output — cloud logs, container logs, test suite runs, build failures, long SQL result sets