feat: add skill_invocation power-steering check (from closed #2916)#2926
Merged
feat: add skill_invocation power-steering check (from closed #2916)#2926
Conversation
Detects when a user requests a skill via slash command (<command-name> tag) but the agent bypasses it and responds directly without invoking the Skill tool. This was independently valuable work from closed PR #2916 that got dropped during the stale PR cleanup. - checks_workflow.py: Add _check_skill_invocation method - considerations.yaml: Add skill_invocation blocker for DEV/INVESTIGATION/MAINTENANCE - 12 outside-in tests (Claude + Copilot + edge cases) Related to #2914 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
🤖 Auto-fixed version bump The version in If you need a minor or major version bump instead, please update |
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.
Summary
Extracts the
skill_invocationcheck from closed PR #2916 (which was closed due to merge conflicts with the package refactor, not because the work was bad).This check detects when a user requests a skill via slash command (e.g.
/pm-architect) but the agent bypasses it and responds directly without invoking the Skill tool.Changes
checks_workflow.py: Add_check_skill_invocation()method with try/except fail-openconsiderations.yaml: Addskill_invocationblocker for DEVELOPMENT, INVESTIGATION, MAINTENANCE sessionsHow it works
<command-name>tags (injected when user runs a slash command)Skilltool was called with that skill nameRelated to #2914
Test plan
Generated with Claude Code