docs: Add plugin-structure instructions, CLAUDE.md, clean up scratch file, and resolve merge conflicts#370
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 |
|
@copilot resolve the merge conflicts in this pull request |
…rk-on-instructions # Conflicts: # AGENTS.md # Copilot-Processing.md Co-authored-by: ashleyshaw <1805352+ashleyshaw@users.noreply.github.com>
Done — merged
|
💡 Codex ReviewLine 57 in 5dc42db The development command This line claims ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Completes the stalled instructions work by adding two missing referenced files, removing a leftover scratch file from the repo root, and merging the latest
developchanges.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 linking; accepteddevelopversion of table rows (better column alignment, updatedagents/agent.mdpath)Copilot-Processing.md— removed from repo root (scratch file, gitignored in.github/tmp/)origin/developinto the PR branch; resolvedAGENTS.mdcontent conflict (tookdevelopalignment/path updates) and theCopilot-Processing.mdmodify/delete conflict (kept file deleted)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; updatedagents/agent.mdpath and column alignment to matchdevelop.Fixed
Removed
Copilot-Processing.mdscratch file removed from repo root.Checklist (Global DoD / PR)
Original prompt
Created from VS Code.