Repository navigation
Split AGENTS.md so it holds for any copy of the theme - #214
MaggieCabrera wants to merge 1 commit into
Conversation
AGENTS.md now covers the theme itself, so it can ship with the copy in WordPress core like DESIGN.md. The dev environment notes, the pre-commit details and the pull request instructions move to CONTRIBUTING.md, which AGENTS.md points to for work in this repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
juanfra
left a comment
There was a problem hiding this comment.
Thanks @MaggieCabrera! Small nit
|
|
||
| When a change affects the front end or the Site Editor, test both and note what you checked in your pull request. | ||
|
|
||
| Only the theme ships with WordPress. Repository tooling and docs, such as `.github/`, `.husky/`, `bin/`, `CONTRIBUTING.md`, `README.md`, `package.json`, `.wp-env.json` and `.nvmrc`, stay in this repository. `AGENTS.md` and `DESIGN.md` ship with the theme, so keep them true for any copy of it. |
There was a problem hiding this comment.
Nit: One thing I noticed is that we have .nvmrc, package.json and package-lock.json in core already (https://github.com/WordPress/wordpress-develop/tree/trunk/src/wp-content/themes/ipsum).
I read in the sync PR description that's for the default's theme workflow. Should we update this?
Description
Part of #75.
AGENTS.mdnow covers the theme itself, so it can ship with the copy in WordPress core, likeDESIGN.mddoes. That way it helps agents editing Ipsum or building on it anywhere, not only in this repository.CONTRIBUTING.md.AGENTS.mdpoints there for work in this repository.CONTRIBUTING.mdare full GitHub URLs, so they work from a copy that doesn't have it.DESIGN.mdnow links toAGENTS.mdfor working on the theme's files.Testing Instructions
AGENTS.mdas if you only had the theme's files. Nothing in it should depend on this repository's tooling.AGENTS.mdis inCONTRIBUTING.md: the dev environment, the pre-commit hook fallback,Version:staying at 1.0 and the pull request instructions.Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Splitting the file, moving the repository-only parts and this description.
🤖 Generated with Claude Code