Imported from newfold-labs/wp-module-staging (
AGENTS.md). Install upstream withnpx skills add newfold-labs/wp-module-staging. Copyright stays with the author.
Agent guidance – wp-module-staging
This file gives AI agents a quick orientation to the repo. For full detail, see the docs/ directory.
What this project is
-
wp-module-staging – Newfold module for staging functionality in brand plugins. Registers with the Newfold Module Loader; provides staging create/clone/restore flows. Maintained by Newfold Labs.
-
Stack: PHP 7.3+. No runtime Composer requires; see require-dev for tests.
-
Architecture: Registers with the loader; host plugins wire staging UI and API. See docs/integration.md.
Key paths
| Purpose | Location |
|---|---|
| Bootstrap | bootstrap.php |
| Includes | includes/ |
| Tests | tests/ |
Essential commands
composer install
composer run lint
composer run fix
composer run test
Documentation
- Full documentation is in docs/. Start with docs/index.md.
- CLAUDE.md is a symlink to this file (AGENTS.md).
Keeping documentation current
When you change code, features, or workflows, update the docs. Keep docs/index.md current: when you add, remove, or rename doc files, update the table of contents (and quick links if present). When cutting a release, update docs/changelog.md.