Skip to content

Phase 1: progressive-disclosure refactor — reviewer (829 → 424 lines) - #18

Merged
olehsvyrydov merged 4 commits into
mainfrom
feat/refactor-reviewer
Jun 5, 2026
Merged

Phase 1: progressive-disclosure refactor — reviewer (829 → 424 lines)#18
olehsvyrydov merged 4 commits into
mainfrom
feat/refactor-reviewer

Conversation

@olehsvyrydov

Copy link
Copy Markdown
Owner

What

Slice-4 refactor #13. Splits reviewer (829 lines) into a lean SKILL.md (424 lines) + 3 references/ files:

  • review-checklist.md — the full code-review checklist.
  • feedback-and-reports.md — review feedback format + report template.
  • process-and-style.md — three-pass review process, pre-approval checklist, self-documenting-code review.

Lean SKILL.md keeps gate check, review navigation, architecture verification, AC validation, review principles, comment quality, security checks, workflow triggers, anti-patterns.

Why

Same pattern as #5#17. No content lost (829 → 424 + 3 refs). Fences verified balanced and non-nested — the feedback-format example templates wrap inner code blocks, so their outer markdown fences were bumped to 4 backticks to render correctly.

Review focus

Content preservation; coherent lean router; fenced-template rendering.

Split into a lean SKILL.md (gate check, trigger, context, doc lookup, role, jira
integration, review navigation, architecture verification, AC validation, review
principles, comment quality, security checks, anti-patterns, universal principles
+ references index) and 3 references/ files: review-checklist, feedback-and-reports,
process-and-style. Real section boundaries; fences verified balanced/non-nested -
the feedback-format examples' outer markdown fences bumped to 4 backticks so their
inner code blocks render correctly. No content lost.
Copilot AI review requested due to automatic review settings June 5, 2026 11:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the /rev reviewer skill documentation into a progressive-disclosure layout by slimming SKILL.md and moving detailed guidance into dedicated references/ markdown files, aiming to keep the core skill fast to load while preserving deep-dive material on demand.

Changes:

  • Removed the inlined full review checklist, feedback/report templates, and three-pass process content from SKILL.md.
  • Added a “Deep-dive references” router section in SKILL.md pointing to the extracted reference docs.
  • Introduced three new reference documents under references/ for checklist, feedback/report templates, and process/style guidance.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
claude/skills/quality/review/reviewer/SKILL.md Removes large inlined guidance sections and adds pointers to deep-dive reference docs.
claude/skills/quality/review/reviewer/references/review-checklist.md New file containing the full code review checklist content.
claude/skills/quality/review/reviewer/references/feedback-and-reports.md New file containing review feedback formats and the review report template (with adjusted fences for nesting).
claude/skills/quality/review/reviewer/references/process-and-style.md New file containing the three-pass process, pre-approval checklist, and self-documenting-code review guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread claude/skills/quality/review/reviewer/SKILL.md
The review report template moved to references/feedback-and-reports.md; update the
Jira-comment body placeholder to point there instead of 'below'.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread claude/skills/quality/review/reviewer/references/review-checklist.md Outdated
Comment thread claude/skills/quality/review/reviewer/references/review-checklist.md Outdated
- review-checklist.md: repoint 'see detection table' and 'AC Validation above'
  to the corresponding sections in the main reviewer SKILL.
- feedback-and-reports.md: add a 'Static Analysis Results' section to the report
  template so it matches the process-and-style.md reporting instruction.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

…LL.md sections

Use relative markdown links (../SKILL.md#anchor) for the Code Smells detection
table and AC Validation references instead of plain text.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@olehsvyrydov
olehsvyrydov merged commit 3c20443 into main Jun 5, 2026
1 check passed
@olehsvyrydov
olehsvyrydov deleted the feat/refactor-reviewer branch June 5, 2026 11:39
olehsvyrydov added a commit that referenced this pull request Jun 6, 2026
e2e-tester: Add waitFor vs isVisible pattern, domcontentloaded over
networkidle, test ordering for rate-limited endpoints, shared helpers
pattern, console error filter specificity, locale-varying UI selectors.
Add anti-patterns #18-21.

tester: Add cross-reference verification section — verify field names
and identifiers against actual system before finalizing test cases.
Add anti-pattern #12.

reviewer: Expand Copilot review patterns, add memoization and caching
scope review checklist.
olehsvyrydov added a commit that referenced this pull request Jun 6, 2026
…#18)

* Phase 1: progressive-disclosure refactor of reviewer (829 -> 424 lines)

Split into a lean SKILL.md (gate check, trigger, context, doc lookup, role, jira
integration, review navigation, architecture verification, AC validation, review
principles, comment quality, security checks, anti-patterns, universal principles
+ references index) and 3 references/ files: review-checklist, feedback-and-reports,
process-and-style. Real section boundaries; fences verified balanced/non-nested -
the feedback-format examples' outer markdown fences bumped to 4 backticks so their
inner code blocks render correctly. No content lost.

* Address Copilot review on PR #18: fix stale 'see template below' pointer

The review report template moved to references/feedback-and-reports.md; update the
Jira-comment body placeholder to point there instead of 'below'.

* Address Copilot re-review on PR #18: fix split cross-references

- review-checklist.md: repoint 'see detection table' and 'AC Validation above'
  to the corresponding sections in the main reviewer SKILL.
- feedback-and-reports.md: add a 'Static Analysis Results' section to the report
  template so it matches the process-and-style.md reporting instruction.

* Address Copilot re-review on PR #18: link checklist cross-refs to SKILL.md sections

Use relative markdown links (../SKILL.md#anchor) for the Code Smells detection
table and AC Validation references instead of plain text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants