Add AGENTS.md, TESTS.md and CLAUDE.md#840
Conversation
Add documentation for development and testing: AGENTS.md describes the Two-Factor plugin development environment (Docker/@wordpress/env), build/test/lint commands, architecture and provider patterns, login flow, provider registration, key user meta, REST API, and coding standards. TESTS.md documents how to run the PHPUnit suite inside the wp-env container, coverage, filtering, and provides an overview of the test files and what each test class covers. CLAUDE.md is a simple pointer to AGENTS.md.
|
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 Core SVNIf you're a Core Committer, use this list when committing to GitHub Merge commitsIf 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. |
masteradhoc
left a comment
There was a problem hiding this comment.
shall we note that the core files in includes shall not be edited?
Sure, wanna add it? |
This pull request adds comprehensive documentation for the development, architecture, and testing of the Two-Factor WordPress plugin. It introduces a new
AGENTS.mdfile with detailed developer instructions and architecture notes, a newTESTS.mdfile with an in-depth guide to the test suite, and updatesCLAUDE.mdto reference the new documentation.Documentation improvements:
AGENTS.mdwith detailed instructions on development environment setup, build process, code standards, plugin architecture, provider registration, and REST API usage.TESTS.mddescribing the test environment, running and filtering tests, coverage reporting, and detailed breakdowns of each test file and provider.CLAUDE.mdto reference the newAGENTS.mddocumentation.