-
Notifications
You must be signed in to change notification settings - Fork 83
Add Plugin Check Namer Tool #1130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Add Plugin Check Namer Tool #1130
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Co-authored-by: Nilambar Sharma <ernilambar@users.noreply.github.com>
| @@ -0,0 +1,53 @@ | |||
| # Evaluating Plugin Name Confusability for the WordPress.org Plugin Review Team | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Evaluating Plugin Name Confusability for the WordPress.org Plugin Review Team | |
| # Evaluating Plugin Name Confusability for the WordPress.org Plugins Team |
Fixes #1124
This pull request (PR) introduces a new Plugin Check Namer tool that uses AI-powered analysis to help plugin authors evaluate plugin names for potential conflicts, trademark issues, and naming best practices. This PR adapts the Internal Scanner Namer Tool, created by @frantorres, for PCP, enabling authors to use this useful tool.
We are also beginning to implement AI in PCP.
Overview
The Plugin Check Namer tool provides guidance on plugin naming by:
Changes
New Features
1. Plugin Check Namer Tool (
includes/Admin/Namer_Page.php)2. AI Integration (
includes/Traits/AI_Check_Names.php)3. Author/Brand Name Support
4. Settings Page (
includes/Admin/Settings_Page.php)5. AI Connection Trait (
includes/Traits/AI_Connect.php)New Files Added
includes/Admin/Namer_Page.php- Main namer tool page (565 lines)includes/Admin/Settings_Page.php- Settings page for AI configuration (610 lines)includes/Traits/AI_Check_Names.php- AI analysis logic (789 lines)includes/Traits/AI_Connect.php- AI connection handling (337 lines)assets/js/plugin-check-namer.js- Frontend JavaScript (404 lines)assets/js/admin-settings.js- Settings page JavaScript (157 lines)prompts/ai-check-similar-name.md- Similar name search promptprompts/ai-check-prereview.md- Pre-review analysis promptprompts/ai-check-prereview-output.md- Output format specificationtests/phpunit/tests/Traits/AI_Check_Names_Tests.php- Unit tests (400 lines)Modified Files
includes/Plugin_Main.php- Added hooks for new admin pagesassets/css/plugin-check-admin.css- Added styles for namer tool (72 new lines)composer.json&composer.lock- Added AI client dependencies.typos.toml- Updated typo configurationphpmd.xml- Updated PHP Mess Detector configurationTechnical Details
Architecture
Two-Stage AI Analysis:
Response Parsing:
Security:
manage_options)Verdict Logic
The verdict system provides nuanced feedback:
User Experience
Testing
Dependencies
Notes