WP Manifestindependent plugin directory
manifest / ai / ws-optimizer-ai

WS SEO Title AI

Analyze your SEO titles with Claude AI directly in the post editor. Requires WordPress 7.0+ with AI Client enabled.

by WebStrategy · github.com/wordpress-freelance/ws-optimizer-ai · website

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/wordpress-freelance/ws-optimizer-ai/archive/refs/heads/main.zip

Plugin WordPress FREE qui analyse vos titres SEO avec Claude AI directement dans l'éditeur de contenu, via WordPress AI Client (WordPress 7.0+).

Prérequis

  • WordPress 7.0+
  • Module AI Client activé avec clé API Anthropic

Fonctionnalités

  • Metabox dans l'éditeur (Gutenberg + Classic Editor) : score /100, verdict, points forts, problèmes, recommandations
  • Analyse via claude-opus-4-6 par défaut (configurable)
  • Cache du dernier résultat en post meta — pas d'appel API au chargement
  • Prise en charge des keywords focus Yoast SEO et Rank Math
  • Page Réglages pour configurer les types de publication et le modèle

Installation

  1. Téléverser le ZIP via WP Admin → Plugins → Téléverser une extension
  2. Activer
  3. Configurer l'AI Client sous Réglages → AI Client (clé API Anthropic)
  4. Ouvrir un article — la metabox "Analyse Titre SEO (IA)" apparaît dans la sidebar

Tests

Unitaires (WP_Mock)

# Dépendances (hors Composer — proxy Claude)
mkdir -p vendor/10up vendor/mockery vendor/antecedent vendor/hamcrest
git clone --depth 1 --branch 0.5.0 https://github.com/10up/wp_mock.git vendor/10up/wp_mock
git clone --depth 1 --branch 1.6.12 https://github.com/mockery/mockery.git vendor/mockery/mockery
git clone --depth 1 --branch 2.1.27 https://github.com/antecedent/patchwork.git vendor/antecedent/patchwork
git clone --depth 1 https://github.com/hamcrest/hamcrest-php.git vendor/hamcrest/hamcrest-php

phpunit -c phpunit.xml

50 tests / 88 assertions

Intégration BDD (CI uniquement)

bash bin/install-wp-tests.sh wp_test root root 127.0.0.1 latest
phpunit -c phpunit-integration.xml

Structure

ws-optimizer-ai/
├── admin/               # Classe Admin, CSS, JS, partials
├── includes/            # Orchestrateur, Loader, Analyzer, i18n
├── languages/           # .pot + .po/.mo (de_DE, en_US, es_ES)
├── public/              # Classe Public (front vide)
├── tests/unit/          # PHPUnit + WP_Mock
└── ws-optimizer-ai.php  # Point d'entrée