Repository navigation
Conversation
Adds a new Section 6a "Skill Command Verification" to the QA skill that: - Detects when .claude/skills/**/*.md files are modified - Extracts CLI commands (gh, npm, npx, git) from skill files - Verifies command syntax using --help output - Validates JSON field names for commands like `gh pr checks --json` - Handles placeholders gracefully (skip execution, still verify fields) - Gates READY_FOR_MERGE verdict on verification passing Also adds skill-specific adversarial prompts to self-evaluation (Section 5): - Command verified: Did you execute at least one referenced command? - Fields verified: For JSON commands, do field names match actual output? - Patterns complete: What variations might users write that aren't covered? - Dependencies explicit: What CLIs/tools does this skill assume are installed? This prevents issues like #178 where `gh pr checks --json conclusion` passed QA but failed at runtime because "conclusion" field doesn't exist. Closes #209 Co-Authored-By: Claude Opus 4.5 <[email protected]>
5 tasks
- Add pre-requisite check for gh CLI availability in Section 6a - Expand command extraction to capture subshell commands: $(gh ...) - Add pattern for commands after pipe/semicolon: | gh ... or ; npm ... - Add note about multi-line command limitations Addresses QA feedback on extraction pattern gaps. Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/209-feat-qa-add-skill-command-verification-before-read
branch
January 31, 2026 18:45
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
gh pr checks --json conclusionpassed QA but failed at runtimeChanges
New Section 6a: Skill Command Verification (REQUIRED for skill changes)
When
.claude/skills/**/*.mdfiles are modified:git diffgh,npm,npx,git) from code blocks and inline backticks--helpoutputgh pr checks --json X<placeholder>or${VAR}, but still verifies fieldsNew Skill-Specific Self-Evaluation Prompts
Added to Section 5 (Adversarial Self-Evaluation) when skills are modified:
Updated Verdict Algorithm (Section 7)
Now includes
skill_verificationas a gate:Passed→ READY_FOR_MERGE allowedFailed→ AC_MET_BUT_NOT_A_PLUS (blocks merge)Skipped→ READY_FOR_MERGE with noteNot Required→ No impactTest Plan
npm run build)gh pr checks --help)Pre-existing Test Failures
Note: There are 12 failing tests in
state-update-cli.test.tsandstate-manager.test.tsrelated to PR commands. These failures exist on main branch and are unrelated to this PR (verified by running tests with stash).Closes #209
🤖 Generated with Claude Code