Community程式設計與開發github.com

jezweb/wordpress-setup

透過 SSH 或 REST API 使用 WP-CLI 連接 WordPress 網站。檢查 CLI、測試 SSH、設定驗證、確認存取權限、儲存配置。當使用者想要連接 WordPress 網站、設定 WP-CLI 存取、建立應用程式密碼或疑難排解 WordPress 連線/驗證問題時使用。

wordpress-setup 是什麼?

這個技能(jezweb/wordpress-setup)專門用於透過 WP-CLI(經由 SSH)或 WordPress REST API 來設定與驗證與 WordPress 網站的連線。它會自動檢查本機是否已安裝 WP-CLI、測試 SSH 連線、協助建立應用程式密碼、驗證 REST API 存取權限,並將連線設定儲存在本機配置檔中。此技能支援多種平台,包括 Claude Code、Cursor 和 Codex 等 AI 代理工具,並能無縫整合到現有的開發工作流程中。其核心工作原理是先檢查相依性(如 WP-CLI 與 SSH 金鑰),透過互動式提示收集連線詳細資料,然後執行具體命令來設定與驗證連線。對於需要快速為 WordPress 網站設定本機開發環境或遠端管理的開發者來說,這項技能能大幅減少手動配置時間,並避免常見的連線錯誤。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jezweb/claude-skills/tree/main/skills/wordpress-setup

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

wordpress-setup 是做什麼的?

透過 SSH 或 REST API 使用 WP-CLI 連接 WordPress 網站。檢查 CLI、測試 SSH、設定驗證、確認存取權限、儲存配置。當使用者想要連接 WordPress 網站、設定 WP-CLI 存取、建立應用程式密碼或疑難排解 WordPress 連線/驗證問題時使用。

功能

  • 檢查 WP-CLI 是否已安裝:確認本機環境已安裝 WP-CLI。
  • 測試 SSH 連線:驗證能否透過 SSH 成功連線到遠端伺服器。
  • 建立應用程式密碼:透過 REST API 建立 WordPress 應用程式密碼。
  • 驗證 REST API 存取:使用應用程式密碼測試 REST API 的存取權限。
  • 儲存配置:將連線設定(如網站 URL、SSH 主機、使用者名稱)儲存到本機配置檔。

使用方式

  1. 安裝 WP-CLI (如果尚未安裝):

    • 技能會自動檢查系統中是否已安裝 WP-CLI。
    • 如果未安裝,技能會引導您進行安裝。
  2. 設定 SSH 金鑰 (如果需要使用 SSH):

    • 確保您的公開金鑰已新增到遠端伺服器的 ~/.ssh/authorized_keys。
    • 技能會測試 SSH 連線,並在連線失敗時提供診斷資訊。
  3. 建立應用程式密碼 (如果需要使用 REST API):

    • 透過 WordPress 管理後台建立應用程式密碼。
    • 或是使用技能提供的 REST API 端點自動建立。
  4. 設定 WordPRess 連線:

    • 提供網站 URL、SSH 主機、使用者名稱等資訊。
    • 技能會驗證提供的資訊,並將配置儲存到 wordpress-setup.json。

配置範例 (wordpress-setup.json):

{
  "site_url": "https://example.com",
  "ssh_host": "example.com",
  "ssh_user": "username",
  "app_password": "xxxx xxxx xxxx xxxx"
}

環境變數

  • WP_CLI_PATH:WP-CLI 執行檔的路徑 (預設 wp)。
  • SSH_KEY_PATH:SSH 私鑰的路徑 (預設 ~/.ssh/id_rsa)。
  • WORDPRESS_SETUP_CONFIG:配置檔的路徑 (預設 wordpress-setup.json)。

支援的 AI 代理平台

  • Claude Code
  • Cursor
  • Codex
  • 以及其他支援自訂技能的 AI 代理工具

相關資源

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

jezweb/ai-image-generator

Generate AI images using Gemini or GPT APIs directly. Covers model selection (Gemini for scenes; GPT Image 2 for text rendering, batch variations, multi-reference compositing; GPT Image 1.5 for transparent icons), the 5-part prompting framework, API calling patterns, multi-turn editing, and quality assurance. Produces photorealistic scenes, icons, illustrations, OG images, posters, infographics, and product shots. Use when building websites that need images, creating marketing assets, or generating visual content. Triggers: 'generate image', 'ai image', 'create hero image', 'make an icon', 'generate illustration', 'create og image', 'poster', 'infographic', 'image variations', 'gpt-image-2', 'ai art', 'image generation'.

jezweb/aussie-business-english

Australian business English writing style for professional communications — warm, direct, EN-AU spelling (colour, organise, centre). Use whenever the user is writing for an Australian audience: emails, chat messages, proposals, client communications, blog posts, web copy, or any business writing. Apply to drafting, editing, and tone-checking professional text.

jezweb/claude-skills

Generate project documentation from codebase analysis — ARCHITECTURE.md, API_ENDPOINTS.md, DATABASE_SCHEMA.md. Reads source code, schema files, routes, and config to produce accurate, structured docs. Use when starting a project, onboarding contributors, or when docs are missing or stale. Triggers: 'generate docs', 'document architecture', 'create api docs', 'document schema', 'project documentation', 'write architecture doc'.

jezweb/claude-skills

Agent skill at plugins/social-media/skills/social-media-posts/SKILL.md

jezweb/claude-skills

Generate a complete, deployable landing page from a brief. Produces a single self-contained HTML file with Tailwind CSS (via CDN), responsive design, dark mode, semantic HTML, and OG meta tags. Sections: hero with CTA, features, social proof, pricing (optional), FAQ, footer. Use when building a marketing page, product launch page, coming soon page, or any standalone landing page. Triggers: 'landing page', 'create a page', 'marketing page', 'launch page', 'coming soon page', 'one-page site'.

jezweb/cloudflare-worker-builder

Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets. Describe project, scaffold structure, configure bindings, deploy. Use whenever the user wants to create a Worker project, set up Hono on Cloudflare, configure D1 / R2 / KV / Queues bindings, or troubleshoot Worker export syntax, API route conflicts, HMR issues, or deployment failures.

jezweb/color-palette

Generate complete, accessible colour palettes from a single brand hex. Produces 11-shade scale (50-950), semantic tokens, dark mode variants, Tailwind v4 CSS output, WCAG contrast checks. Use whenever the user supplies a brand hex and asks for a palette, mentions setting up a design system, wants Tailwind theme colours from a brand colour, or asks to check colour accessibility / contrast.

jezweb/d1-drizzle-schema

Generate Drizzle ORM schemas for Cloudflare D1 databases with correct D1-specific patterns. Produces schema files, migration commands, type exports, and DATABASE_SCHEMA.md documentation. Handles D1 quirks: foreign keys always enforced, no native BOOLEAN/DATETIME types, 100 bound parameter limit, JSON stored as TEXT. Use when creating a new database, adding tables, or scaffolding a D1 data layer.

jezweb/elevenlabs-agents

Build conversational AI voice agents on the ElevenLabs platform. Configure agent + tools + knowledge base, integrate SDK (React / React Native / Swift / JS / server-side), test, deploy. Use whenever the user mentions ElevenLabs, building a voice agent, an AI phone system, an AI receptionist, conversational AI, or troubleshooting deprecated @11labs packages, webhook errors, CSP violations, localhost allowlist, or tool parsing errors.

jezweb/fastapi

Build Python APIs with FastAPI, Pydantic v2, and SQLAlchemy 2.0 async. Covers project structure, JWT auth, validation, and database integration with uv package manager. Prevents 7 documented errors. Use when: creating Python APIs, implementing JWT auth, or troubleshooting 422 validation, CORS, async blocking, form data, background tasks, or OpenAPI schema errors.

jezweb/favicon-gen

Generate custom favicons from logos, text, or brand colours. Produces favicon.svg, favicon.ico, apple-touch-icon.png, icon-192/512.png, and web manifest. Use whenever the user wants a favicon, mentions replacing a CMS default favicon, converting a logo into a favicon, creating branded initials icons, or troubleshooting favicon not displaying / iOS black square / missing manifest.

jezweb/github-release

Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and publishes via gh CLI. Trigger with 'release', 'publish', 'open source', 'prepare for release', 'create release', or 'github release'.

jezweb/google-apps-script

Build Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF export, external API. Use whenever the user wants to automate a Google Sheet, build a Sheets menu / sidebar / dialog, hit a Sheets row from email or a webhook, schedule a Sheets workflow, or asks 'how do I script this in Sheets'.

jezweb/google-chat-messages

Send Google Chat messages via incoming webhooks — text, rich cards (cardsV2), threaded replies. TypeScript types, card builder utility, widget reference inline. Use whenever the user wants to post to Google Chat from a script, build a chatbot reply, send a notification card, build a Google Chat webhook integration, or troubleshoot card / threading issues.

jezweb/hono-api-scaffolder

Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md documentation. Use after a project is set up with cloudflare-worker-builder or vite-flare-starter, when you need to add API routes, create endpoints, or generate API documentation.

jezweb/icon-set-generator

Generate cohesive, project-specific SVG icon sets for websites and applications. Use this skill whenever the user needs custom icons, an icon set for a website or app, icons for a client project, or mentions needing SVG icons that look consistent together. Also trigger when the user describes a project and icons would naturally be part of the deliverable — e.g. 'I'm building a site for a plumber' implies they'll need service icons. Trigger on: 'icons for', 'icon set', 'custom icons', 'SVG icons', 'make me icons', 'I need icons', 'website icons', 'project icons', or any request for consistent visual assets for a web project. Produces individual SVG files with a consistent style engine, not generic icon library lookups.

jezweb/image-processing

Process images for web development — resize, crop, trim whitespace, convert formats (PNG/WebP/JPG), optimise file size, generate thumbnails, create OG card images. Uses Pillow (Python) — no ImageMagick needed. Trigger with 'resize image', 'convert to webp', 'trim logo', 'optimise images', 'make thumbnail', 'create OG image', 'crop whitespace', 'process image', or 'image too large'.

jezweb/mcp-builder

Build MCP servers in Python with FastMCP. Define tools / resources / prompts, build the server, test locally, deploy to FastMCP Cloud or Docker. Use whenever the user mentions building an MCP server, exposing tools to LLMs, FastMCP, building a Claude integration, or troubleshooting FastMCP module-level server, storage, lifespan, middleware, OAuth, or deployment errors.

jezweb/nextjs

Build Next.js 16 apps with App Router, Server Components/Actions, Cache Components ("use cache"), and async route params. Includes proxy.ts and React 19.2. Prevents 25 documented errors. Use when: building Next.js 16 projects, or troubleshooting async params (Promise types), "use cache" directives, parallel route 404s, Turbopack issues, i18n caching, navigation throttling.

jezweb/project-health

All-in-one project configuration and health management. Sets up new projects (settings.local.json, CLAUDE.md, .gitignore), audits existing projects (permissions, context quality, MCP coverage, leaked secrets, stale docs), tidies accumulated cruft, captures session learnings, and adds permission presets. Uses sub-agents for heavy analysis to keep main context clean. Trigger with 'project health', 'check project', 'setup project', 'kickoff', 'bootstrap', 'tidy permissions', 'clean settings', 'capture learnings', 'audit context', 'add python permissions', or 'init project'.

相關技能