Skip to content

Commit 0a7d64a

Browse files
committed
Clarify WordPress plugin skill rules
1 parent 1f56e54 commit 0a7d64a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • .claude/skills/wordpress-plugin-standards

.claude/skills/wordpress-plugin-standards/SKILL.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Follow these rules for all changes in WordPress plugin repositories.
1010
## Core Rules
1111

1212
- Stay close to WordPress core and Gutenberg standards.
13+
- Keep it simple.
1314
- Prefer existing Gutenberg elements, WordPress functions, official APIs, block metadata, block-editor components, and the WordPress Settings API.
1415
- Write as little custom code as possible. Less is more.
1516
- Avoid hacks, CSS tricks, hidden coupling, and one-off workarounds.
@@ -23,6 +24,13 @@ Follow these rules for all changes in WordPress plugin repositories.
2324
- Do not edit `README.md` by hand. It is generated automatically from `readme.txt` by the GitHub Actions workflow.
2425
- Keep `readme.txt` valid for WordPress.org first; the generated Markdown README is secondary.
2526

27+
## Deployment Workflow
28+
29+
- Read and understand the repository's GitHub Actions workflows before changing deployment behavior.
30+
- Check `.github/workflows/` to see which branch, tag, path, or manual triggers deploy plugin code, WordPress.org assets, generated documentation, or release artifacts.
31+
- Check `.distignore` before adding project-only files. Claude skills, local tooling, generated GitHub-only files, and development metadata must not be shipped to WordPress.org.
32+
- Keep deployment changes conservative and explicit. Do not add a new deployment path when an existing workflow already covers the job.
33+
2634
## Block Workflow
2735

2836
- Treat `src/block.json` as the source of truth for block attributes and asset registration.

0 commit comments

Comments
 (0)