docs: streamline agent guidance and maintain relevant skills - #123
Merged
Conversation
Contributor
Test in WordPress PlaygroundTest the plugin with the code from this branch:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #123 +/- ##
=========================================
Coverage 96.87% 96.87%
Complexity 864 864
=========================================
Files 39 39
Lines 4323 4323
=========================================
Hits 4188 4188
Misses 135 135
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduce AGENTS.md to current repository constraints and commands, preserving WordPress 6.1/PHP 8.0 compatibility, archive/security boundaries, translation rules, and the distinction between release and source archives. Move PHPUnit coverage attribution detail into a task-specific reference.
Install official WordPress block development, performance and project-triage skills, plus GitHub Actions hardening and Microsoft Playwright CLI, using
gh skills. Reinstall the five previously untracked upstream skills with source metadata so they can be refreshed; this also updates the security-audit skill and its validators. Keep upstream text verbatim, preserve Claude symlinks, and include license texts.Add a Monday/manual update workflow with version tags for all skill-update actions, job-scoped write permissions, a main base, and skill-only PR changes. Updates require review and never auto-merge.
Local validation: lint, PHPUnit (943 tests / 2074 assertions), translation checks and architecture validation passed. PHPMD passed with an existing installed binary against this repository's ruleset; the make target itself could not find a global phpmd executable. Skill validator tests, frontmatter/link/provenance checks, actionlint and diff checks passed.
The update command was exercised in dry-run mode and repository workflow permissions permit PR creation. Scheduled/manual workflow execution after merge has not been exercised. Default GITHUB_TOKEN update PRs do not start CI automatically; review their prompt changes. No unrelated architecture decision or release is introduced. Upstream trailing blank lines are preserved verbatim; the staged whitespace check ignores only blank-at-EOF warnings.
Prepared with assistance from OpenAI Codex, informed by:
Applied principles: task-specific discovery, concise repository constraints, progressive disclosure of domain details, and preserving authorization boundaries without repetitive approval rituals. Anthropic documentation informed the guidance; this does not claim a separate Claude review.
Action versions:
actions/checkout@v7anddevantler-tech/actions/update-agent-skills@v13.3.3. Upstream currently has nov13tag.peter-evans/create-pull-request@v8; no skill-update action remains SHA-pinned.