Admin Coach Tours
NOTE: This plugin is currently in beta.
AI-powered interactive tutorials for the WordPress block editor.
Overview
Section titled “Overview”Admin Coach Tours helps WordPress users learn the block editor through AI-generated step-by-step tutorials. Click “Help me…” in the editor, select a task or ask a question, and get an interactive guided tour tailored to your needs.
https://github.com/user-attachments/assets/f74c34d9-58ba-49fc-a13e-05f8eb98c0ce
Features
Section titled “Features”- AI-Generated Tours — On-demand tutorials created by AI based on your request
- 12 Predefined Tasks — Common tasks like adding images, videos, headings, and more
- Freeform Questions — Ask anything about the block editor
- Interactive Overlay — Visual highlighting guides you through each step
- Smart Block Targeting — Accurately identifies and highlights the correct elements
- Automatic Progression — Tours advance when you complete each action
Requirements
Section titled “Requirements”- WordPress 6.8+
- PHP 8.3+
- sodium extension (for API key encryption)
- AI provider API key (OpenAI, Azure OpenAI, or Anthropic)
Installation
Section titled “Installation”- Upload
admin-coach-toursto/wp-content/plugins/ - Activate the plugin
- Go to Tools → Coach Tours to configure AI
Configure AI Provider
Section titled “Configure AI Provider”- Navigate to Tours → Settings
- Enable AI Features
- Select your provider:
- OpenAI — Add your API key
- Azure OpenAI — Add your API key and endpoint URL
- Anthropic — Add your API key
- Save settings
Getting Help in the Editor
Section titled “Getting Help in the Editor”- Open any post or page in the block editor
- Click the “Help me…” button (bottom-right)
- Choose from the options:
Common Tasks:
| Category | Tasks |
|---|---|
| Media | Add image, Add video, Create gallery, Add cover |
| Text | Add heading, Create list, Add quote, Create table |
| Design | Add button, Create columns |
| Embed | Embed YouTube |
Or Ask a Question: Type any question about the block editor and press Enter.
- Follow the highlighted steps to complete the task
- Each step auto-advances when you perform the action
Tour Controls
Section titled “Tour Controls”- Previous/Next — Navigate between steps
- Skip — Skip a step you already know
- Stop — Exit the tour at any time
How It Works
Section titled “How It Works”- You ask — Select a task or type a question
- AI generates — The AI creates a custom tour with step-by-step instructions
- You follow — Interactive overlay highlights each target element
- You learn — Complete actions to progress through the tour
Tours are generated on-demand and not stored — each request creates a fresh, context-aware tutorial.
REST API
Section titled “REST API”| Method | Endpoint | Description |
|---|---|---|
| GET | /wp-json/admin-coach-tours/v1/ai/tasks | List available tasks |
| POST | /wp-json/admin-coach-tours/v1/ai/tour | Generate AI tour |
| GET | /wp-json/admin-coach-tours/v1/ai/status | Check AI availability |
Development
Section titled “Development”composer installnpm installnpm run build # Production buildnpm run start # Development mode with watchTesting
Section titled “Testing”composer test # PHP testsnpm run test # JavaScript testsnpm run test:watch # Watch modeLinting
Section titled “Linting”composer lint # PHP (WPCS)npm run lint # JavaScript (ESLint)Filters
Section titled “Filters”| Filter | Description |
|---|---|
act_ai_providers | Register additional AI providers |
act_ai_tasks | Modify available task definitions |
act_tour_data | Filter tour data before display |
Actions
Section titled “Actions”| Action | Description |
|---|---|
act_tour_started | Fired when a tour starts |
act_tour_completed | Fired when a tour completes |
act_step_completed | Fired when a step completes |
Capabilities
Section titled “Capabilities”| Capability | Description | Default Roles |
|---|---|---|
act_use_ai | Use AI features | Administrator |
act_run_tours | Run tours | All logged-in users |
Security
Section titled “Security”- API keys encrypted with libsodium
- All endpoints require authentication
- Capability checks on all operations
- Input sanitization and output escaping
License
Section titled “License”GPL v2 or later — see LICENSE for details.
Credits
Section titled “Credits”- Built with @wordpress/scripts and @wordpress/data
- AI integration supports OpenAI, Azure OpenAI, and Anthropic
- RAG knowledge base includes pedagogical content from Learn WordPress courses
📦 Source: soderlind/admin-coach-tours · Edit on GitHub