docs: Add plugin-structure instructions, CLAUDE.md, and clean up scratch file#370
docs: Add plugin-structure instructions, CLAUDE.md, and clean up scratch file#370Copilot wants to merge 2 commits into
Conversation
- Create .github/instructions/plugin-structure.instructions.md with WordPress block plugin structure conventions (directory layout, block.json, enqueueing, security, i18n, PHP organisation) - Create CLAUDE.md at repo root as Claude AI companion to AGENTS.md - Remove Copilot-Processing.md scratch file from repo root (moved to .github/tmp/ which is gitignored) - Update AGENTS.md cross-references table to include CLAUDE.md entry Agent-Logs-Url: https://github.com/lightspeedwp/.github/sessions/bedf8bf7-2de3-473b-a489-e45580925aee Co-authored-by: ashleyshaw <1805352+ashleyshaw@users.noreply.github.com>
To direct me to a specific issue and PR, here are the two best options: To continue work on issue #21 inside PR #333: To start fresh on issue #21 with a new PR: Note: PR #333 is currently scoped to the CONTRIBUTING.md audit, not issue #21 (the a11y/security checklist task). If you want both in the same PR, just clarify that in a comment on #333 and I'll pick it up there. |
Issue #13 (migrate CI scripts from bash to JavaScript) is a significant engineering task that's out of scope for this documentation PR. The dedicated PR for it is #336. To get me working on it, go to PR #336 and leave a comment like Alternatively, you can close PR #336 and comment on issue #13 itself with |
|
@copilot have you committed these files |
Yes — all four files were committed in commit
The PR branch |
Completes the stalled instructions work by adding two missing referenced files and removing a leftover scratch file from the repo root.
Linked issues
Relates to #
What changed
.github/instructions/plugin-structure.instructions.md— new org-wide instruction file for WordPress block plugin structure: canonical directory layout (single- and multi-block),block.jsonconventions ($schema,apiVersion: 3, automatic asset loading viaregister_block_type()), editor/front-end asset separation, security (sanitize/escape/nonces), i18n (POT + JSON pipeline), and PHP class organisationCLAUDE.md— new repo-root file providing Claude AI with project context, dev commands, key conventions, and boundary rules; companion to the existingAGENTS.mdAGENTS.md— addedCLAUDE.mdentry to the Cross-References & Discoverability table for bidirectional linkingCopilot-Processing.md— removed from repo root (moved to.github/tmp/, which is gitignored)Audience & placement
.github/instructions/, repo rootPreview / Screenshots
N/A — documentation only.
Notes
Changelog
Added
plugin-structure.instructions.md: org-wide WordPress block plugin structure conventions covering directory layout,block.json, asset enqueueing, security, and i18n.CLAUDE.md: Claude AI companion instructions at repo root, covering repo purpose, dev commands, boundary rules, and key conventions.Changed
AGENTS.md: addedCLAUDE.mdentry to the Cross-References & Discoverability table.Fixed
Removed
Copilot-Processing.mdscratch file removed from repo root.Checklist (Global DoD / PR)
Original prompt
Created from VS Code.