Lookit SEO Autofill
Auto-fill Yoast keyphrases and meta descriptions on publish from the post content.
by Lookit Design · github.com/lookit-design/seo-autofill · website
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/lookit-design/seo-autofill/archive/refs/heads/main.zipReadme
Lookit SEO Autofill
Automatically fills Yoast focus keyphrase, meta description, and related keyphrases on publish, using per-post-type rules and the post's own content.
Supports WordPress >= 5.9 on PHP >= 7.4.
Table of Contents
Getting Started
Installation
This plugin is installed from GitHub, not from WordPress.org.
- Clone or copy this repository into
/wp-content/plugins/lookit-seo-autofill. - Activate Lookit SEO Autofill through the Plugins menu in WordPress.
- Yoast SEO should be active; the plugin writes Yoast meta fields.
Configuration
Open Auto SEO Templates (under Yoast SEO when Yoast is active, otherwise under Settings). Enable the post types you want, choose how the focus keyphrase is derived, and set a meta-description template.
Features
- Per-post-type rules for focus keyphrase, meta description, and related keyphrases.
- Keyphrase sources include the post title, slug, and the top content word.
- Related keyphrases from post content, expanded with the free Datamuse API.
- A per-post lock so later publishes do not overwrite SEO you have already set.
- A Test & Reprocess tool for posts published before the rules were enabled.
Security and Privacy
- A stored OpenRouter API key is never sent back to the browser, is not autoloaded, and is removed on uninstall.
- Submitting a blank key keeps the saved value.
Datamuse is called only when related-keyphrase generation is enabled. See Datamuse's API notes.
Development
Setup
Install the development dependencies with Composer:
composer install
Running the Test Suite
The integration tests run against a real WordPress test install and a MySQL database. Install the test suite once, then run PHPUnit:
# bin/install-wp-tests.sh <db-name> <db-user> <db-pass> <db-host> <wp-version>
bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest
composer test
Coding Standards
This project follows the WordPress Coding Standards and checks PHP cross-version compatibility:
composer phpcs # check coding standards
composer phpcbf # auto-fix what can be fixed
composer compat # check PHP 7.4+ compatibility
composer lint # php -l syntax check on all files
Continuous Integration
Every push and pull request runs the following GitHub Actions workflows:
| Workflow | Purpose |
|---|---|
| Lint | php -l syntax check across the supported PHP versions |
| Coding Standards | WordPress Coding Standards (PHPCS) |
| Plugin Check | Official WordPress Plugin Check |
| Test | PHPUnit across a broad WordPress × PHP matrix |
A scheduled Version Monitor workflow watches for new PHP and WordPress releases so compatibility can be reviewed proactively.
Contributing
Bug reports and pull requests are welcome on GitHub.
License
This plugin is available as open source under the terms of the GPL-2.0-or-later License.
Lookit® is a registered trademark of ZENOVA CORP. Yoast is a trademark of its respective owner; this plugin is an independent integration and is not affiliated with, sponsored by, or endorsed by Yoast.