AI Spark Summarizer
A simple WordPress plugin that uses AI to summarize post content.
★ 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/jericojuegos/wp-ai-summarizer/archive/refs/heads/main.zipA 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
.envfiles to store API keys and models safely. - Agent workflows: Pre-defined automation scripts for developers.
Setup
- Navigate to the plugin directory:
root/wp-content/plugins/wp-ai-summarizer. - Copy
.env.exampleto.env. - Add your
GEMINI_API_KEYto the.envfile. - Add your
LOCAL_SITE_URL,WP_ADMIN_USER, andWP_ADMIN_PASSfor automated UI testing. - 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 viaincludes/class-summarizer.php) - PHP: 8.0+
- WordPress: Tested with Gutenberg and Classic Editor.