WP Manifestindependent plugin directory
manifest / ai / wp-ai-summarizer

AI Spark Summarizer

A simple WordPress plugin that uses AI to summarize post content.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/jericojuegos/wp-ai-summarizer/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WordPress plugin that uses Google Gemini AI to summarize post and page content. This project also serves as a demonstration of Agentic AI capabilities using Google Antigravity.

Features

  • Post Editor Integration: Summarize content directly from the sidebar while writing.
  • Admin Dashboard: A dedicated tool for ad-hoc summarization testing.
  • Secure Configuration: Uses .env files to store API keys and models safely.
  • Agent workflows: Pre-defined automation scripts for developers.

Setup

  1. Navigate to the plugin directory: root/wp-content/plugins/wp-ai-summarizer.
  2. Copy .env.example to .env.
  3. Add your GEMINI_API_KEY to the .env file.
  4. Add your LOCAL_SITE_URL, WP_ADMIN_USER, and WP_ADMIN_PASS for automated UI testing.
  5. Activate the plugin in WordPress.

Agent Capabilities (/.agent)

Workflows

  • /init-plugin: Scaffolds the basic folder structure.
  • /verify-setup: Checks project health and folder existence.
  • /verify-ui: Performs automated UI verification using the Antigravity browser.
  • /test-ai-connection: Validates the Gemini API connection via .env.
  • /plugin-packager: Bundles the plugin into a versioned ZIP file (Uses Skills).
  • /code-audit: Runs a security and standards scan.
  • /doc-sync: Synchronizes all documentation and generates this README.
  • /feature-add: Follows a strict SOP for adding new functionalities.

Skills

  • plugin-packager: Logic for bundling the plugin (Auto-detects version from PHP headers).
  • auto-translator: Uses Gemini AI to automatically translate post summaries.
  • security-sentinel: Performs automated static analysis to detect common WordPress security vulnerabilities (XSS, CSRF, etc.).

Environment

  • Model: gemini-2.5-flash-lite (Configurable via includes/class-summarizer.php)
  • PHP: 8.0+
  • WordPress: Tested with Gutenberg and Classic Editor.