Repository navigation
Conversation
The rl, rl_page_title and rl_menu_link skills kept their routing words in a `triggers:` list, which Claude Code does not read: it chooses a skill from the description alone, and current Claude models follow that text literally. Nothing in this repository reads the key either. Remove it and rewrite each description to say what the skill does and when to use it. Move the non-standard top-level `version` key under `metadata`, as the Agent Skills specification requires. RlSetupCommands only copies and compares the files, so no code reads it. Fixes #71 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #71
Summary
Prompt-audit fixes for the agent skills that
drush rl:setup-aiinstalls, applied identically to each.claudeand.agentscopy:rl(medium): removed thetriggers:list, which Claude Code ignores, and replaced the description with one that names thedrush rl:*command groups (list, inspect, analyze, create, update, delete, settings) and says when to use the skill: experiments, A/B or multivariate tests, variants, bandits, conversion rates, or which variant is winning.rl_page_titleandrl_menu_link: same treatment, sincerl:setup-aiinstalls them alongsiderland they had the same keys. Their descriptions now name theirrl:page-title:*andrl:menu-link:*commands and when to use them.version: 1.0.0moves tometadata.version, the place the Agent Skills specification allows.RlSetupCommandscopies and compares the files and never parses the frontmatter, so no code change is needed. Every command named in the descriptions exists insrc/Drush/Commandsor the submodule's commands class.Left out on purpose
rl_page_titleandrl_menu_linkcontain underscores, which the specification does not allow. Renaming them changes the installed directory names thatRlSetupCommandsderives from the module name, so it belongs in its own change (noted in Agent skill: route on the description and drop non-standard frontmatter keys #71).Testing
skills-ref validatepasses for bothrlskill directories (it failed before on "Unexpected fields in frontmatter: triggers, version"). The submodule skills now only fail on the underscore name described above..claude/.agentspair is byte-identical (cmp), as the skills pair check requires.markdownlint-cli2reports no new findings; the remaining ones are the same pre-existing body findings, shifted up by the shorter frontmatter.