docs(code-review): tighten weak language and add trigger phrase - #749
Conversation
PR Summary by QodoDocs: strengthen code-review skill wording and add “Use when…” trigger
AI Description
High-Level Assessment
Files changed (1)
|
|
🤖 Finished Review · ✅ Success · Started 5:00 PM UTC · Completed 5:13 PM UTC Commit: |
Code Review by Qodo
1. Protected path skills/ modified
|
ReviewFindingsMedium
Low
Labels: PR modifies the code-review skill definition, which is part of the review agent system. Previous runReviewFindingsMedium
Low
Previous run (2)ReviewFindingsMedium
Low
Next steps:
Previous run (3)ReviewFindingsMedium
Low
Previous run (4)ReviewFindingsMedium
Previous run (5)ReviewFindingsMedium
Low
Labels: PR is a documentation-only change to a skill definition file |
|
/fs-fix |
|
🤖 Finished Fix · ✅ Success · Started 9:30 PM UTC · Completed 9:36 PM UTC Commit: |
Rewrite "Use when reviewing a code change directly, or when delegated to by the pr-review skill" to "Use when reviewing a code change, whether invoked directly or by the pr-review skill" for consistent voice and cleaner parallel structure. Addresses review feedback on #749
🔧 Fix agent — iteration 1 (human-triggered)Fixed 1 of 4 review findings. Rewrote the skill description to fix mixed active/passive voice (awkward-parallel-structure). Disagreed with 3: protected-path is informational (requires human approval, not a code fix), inconsistent-documentation-pattern is an observation about other skills (out of scope), and stale-doc was explicitly suggested as a follow-up by the reviewer. Fixed (1):
Disagreed (3):
Tests: passedNext steps:
|
|
🤖 Review · Commit: |
859290b to
7acaba0
Compare
|
🤖 Finished Review · ✅ Success · Started 9:39 PM UTC · Completed 9:51 PM UTC Commit: |
|
/fs-fix fix the trigger phrase placement. put the "use when .." at the start of the description. |
|
🤖 Finished Fix · ✅ Success · Started 12:52 AM UTC · Completed 12:56 AM UTC Commit: |
🔧 Fix agent — iteration 2 (human-triggered)Moved the 'Use when...' trigger phrase from the end to the start of the code-review skill description, per human instruction. Fixed (1):
Tests: passedNext steps:
|
Reorders the skill description so the "Use when..." trigger phrase appears first, making it immediately visible for skill resolution. Addresses review feedback on #749
|
🤖 Finished Review · ✅ Success · Started 12:57 AM UTC · Completed 1:11 AM UTC Commit: |
|
/fs-fix The trigger phrase still contains a factually inaccurate delegation claim, unaddressed by the two prior fix commits (which only reworded voice/ordering, not the substance):
The clause "or by the pr-review skill" is false. Verified against the repo at PR head:
Fix: remove the delegation claim and describe
Verify the final wording against |
|
🤖 Finished Fix · ✅ Success · Started 1:40 PM UTC · Completed 1:46 PM UTC Commit: |
…iption The frontmatter description incorrectly stated code-review is invoked "by the pr-review skill." Verified against agents/review.md and skills/pr-review/sub-agents/: pr-review never delegates to code-review; they are alternate skills selected by invocation context. Reworded to describe the actual trigger condition (local diff, pre-push, standalone with no PR in context). Addresses review feedback on #749
🔧 Fix agent — iteration 3 (human-triggered)Addressed the human instruction: removed the factually inaccurate 'or by the pr-review skill' delegation claim from the code-review skill frontmatter description. Verified against agents/review.md that code-review and pr-review are alternate skills selected by invocation context, not a delegation chain. Rewording matches the actual routing logic: code-review is for local diff, pre-push, or standalone review with no PR in context. Fixed (1):
Tests: passedNext steps:
|
|
🤖 Finished Review · ✅ Success · Started 1:48 PM UTC · Completed 2:03 PM UTC Commit: |
Remove the "with no PR in context" qualifier from the frontmatter description, which contradicted the body (line 26 references invocation by another skill such as pr-review, and the severity anchoring section references prior review context). The description now acknowledges delegation without naming a specific skill. Addresses review feedback on #749
|
🤖 Finished Review · ✅ Success · Started 2:12 PM UTC · Completed 2:24 PM UTC Commit: |
Superseded by updated review
Ran skillsaw (evaluating it per #188) against the repo's skills. Adds a "Use when..." trigger phrase to the description, and rewrites two negative-only questions ("does the caller degrade gracefully or silently proceed?", "is auth correctly enforced on all code paths?") as positive, checkable prompts. Related to #188 Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Ralph Bean <rbean@redhat.com>
Rewrite "Use when reviewing a code change directly, or when delegated to by the pr-review skill" to "Use when reviewing a code change, whether invoked directly or by the pr-review skill" for consistent voice and cleaner parallel structure. Addresses review feedback on #749
Reorders the skill description so the "Use when..." trigger phrase appears first, making it immediately visible for skill resolution. Addresses review feedback on #749
…iption The frontmatter description incorrectly stated code-review is invoked "by the pr-review skill." Verified against agents/review.md and skills/pr-review/sub-agents/: pr-review never delegates to code-review; they are alternate skills selected by invocation context. Reworded to describe the actual trigger condition (local diff, pre-push, standalone with no PR in context). Addresses review feedback on #749
Remove the "with no PR in context" qualifier from the frontmatter description, which contradicted the body (line 26 references invocation by another skill such as pr-review, and the severity anchoring section references prior review context). The description now acknowledges delegation without naming a specific skill. Addresses review feedback on #749
36706f6 to
b8703f1
Compare
|
🤖 Finished Review · ✅ Success · Started 3:38 PM UTC · Completed 3:51 PM UTC Commit: |
|
🤖 Finished Retro · ✅ Success · Started 4:09 PM UTC · Completed 4:25 PM UTC Commit: |
Retro: PR #749 —
|
Rewrite "Use when reviewing a code change directly, or when delegated to by the pr-review skill" to "Use when reviewing a code change, whether invoked directly or by the pr-review skill" for consistent voice and cleaner parallel structure. Addresses review feedback on #749
Reorders the skill description so the "Use when..." trigger phrase appears first, making it immediately visible for skill resolution. Addresses review feedback on #749
…iption The frontmatter description incorrectly stated code-review is invoked "by the pr-review skill." Verified against agents/review.md and skills/pr-review/sub-agents/: pr-review never delegates to code-review; they are alternate skills selected by invocation context. Reworded to describe the actual trigger condition (local diff, pre-push, standalone with no PR in context). Addresses review feedback on #749
Remove the "with no PR in context" qualifier from the frontmatter description, which contradicted the body (line 26 references invocation by another skill such as pr-review, and the severity anchoring section references prior review context). The description now acknowledges delegation without naming a specific skill. Addresses review feedback on #749
Rewrite "Use when reviewing a code change directly, or when delegated to by the pr-review skill" to "Use when reviewing a code change, whether invoked directly or by the pr-review skill" for consistent voice and cleaner parallel structure. Addresses review feedback on fullsend-ai#749
Reorders the skill description so the "Use when..." trigger phrase appears first, making it immediately visible for skill resolution. Addresses review feedback on fullsend-ai#749
…iption The frontmatter description incorrectly stated code-review is invoked "by the pr-review skill." Verified against agents/review.md and skills/pr-review/sub-agents/: pr-review never delegates to code-review; they are alternate skills selected by invocation context. Reworded to describe the actual trigger condition (local diff, pre-push, standalone with no PR in context). Addresses review feedback on fullsend-ai#749
Remove the "with no PR in context" qualifier from the frontmatter description, which contradicted the body (line 26 references invocation by another skill such as pr-review, and the severity anchoring section references prior review context). The description now acknowledges delegation without naming a specific skill. Addresses review feedback on fullsend-ai#749
Ran skillsaw (evaluating it per #188) against the repo's skills.
Adds a "Use when..." trigger phrase to the description, and rewrites
two negative-only questions ("does the caller degrade gracefully or
silently proceed?", "is auth correctly enforced on all code paths?")
as positive, checkable prompts.
Related to #188
Assisted-by: Claude Opus 4.6 noreply@anthropic.com
Signed-off-by: Ralph Bean rbean@redhat.com
Stack created with GitHub Stacks CLI • Give Feedback 💬