Conversation
- Created `test/skills/wp-plugin-development/SKILL.md` to define the skill for developing WordPress plugins, detailing architecture, hooks, activation/deactivation, admin UI, security, and release packaging. - Added references for various aspects of plugin development: - `references/data-and-cron.md`: Guidelines for data storage, cron tasks, and upgrade routines. - `references/debugging.md`: Quick debugging routes for common issues like plugin loading failures and settings not saving. - `references/lifecycle.md`: Instructions for managing activation, deactivation, and uninstall hooks. - `references/security.md`: Security best practices for plugins, including nonces, sanitization, and escaping. - `references/settings-api.md`: Guidelines for using the Settings API for admin options. - `references/structure.md`: Best practices for plugin structure and loading. - Introduced `test/skills/wp-plugin-development/scripts/detect_plugins.mjs` to detect WordPress plugins in a repository by scanning PHP files for plugin headers. - Created `test/skills/wp-project-triage/SKILL.md` to define the skill for inspecting WordPress repositories, including tooling, tests, and version hints. - Added `test/skills/wp-project-triage/references/triage.schema.json` to provide a JSON schema for the project triage report. - Implemented `test/skills/wp-project-triage/scripts/detect_wp_project.mjs` to analyze the repository structure, detect project types, and generate a structured report with recommendations based on the findings.
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.
This pull request introduces a new skills system to both
ralph.shandralph-once.sh, allowing users to prepend reusable skill instructions to the context for prompt runs. It also improves the test harness with filtering and better handling of WordPress skill staging, and adds vendored WordPress skills for plugin development and project triage. The documentation has been updated to reflect these changes.Skills system and CLI enhancements:
--skill <a[,b,...]>option toralph.shandralph-once.shto prepend skill instructions fromskills/<name>/SKILL.mdinto the attached context. (Fd8d484dL2R2, [1] [2]wp-plugin-developmentandwp-project-triage) undertest/skills/for easier harness integration. [1] [2] [3]Test harness improvements:
--only <prompt1[,prompt2...]>filter totest/run-prompts.shto allow running selected prompt tests. [1] [2] [3]$ROOT/test/skills/...and stages those skills into a top-levelskills/folder inside the worktree for correct injection and assertion. [1] [2]Documentation updates:
CHANGELOG.mdandREADME.mdto document the new skills system, CLI options, and test harness features. [1] [2]