Skip to content

feat(engineering): add interactive PR review skill - #461

Merged
christso merged 2 commits into
mainfrom
feat/pr-interactive-review
Sep 5, 2026
Merged

feat(engineering): add interactive PR review skill#461
christso merged 2 commits into
mainfrom
feat/pr-interactive-review

Conversation

@christso

@christso christso commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Reviewers can now turn structured pull request findings into a reusable local workspace with business context, concrete failure scenarios, exact reviewed-commit links, and local discussion. The skill uses an existing review skill when one is available, while keeping review scope, severity, validation, and deduplication outside the presentation layer.

Design decisions

  • Generated review data and comments live outside the repository in a workspace partitioned by repository and PR.
  • A separate scenario sidecar adds concrete “what happens” and “expected” context without modifying the source review artifact.
  • User-authorized private specifications are reduced to labeled primer fields before rendering.
  • The server binds to loopback by default. Wider exposure requires an explicit option and warning.
  • Comments remain local. Assistant replies use a local API; the skill has no GitHub-comment posting path.

Safety

The renderer escapes untrusted values, validates paths and identifiers, pins source links to the reviewed commit, rejects cross-origin writes, and bounds request bodies while streaming. Comment updates use atomic writes, and the server does not expose arbitrary filesystem paths.

Validation

  • bun test tests/unit/plugins/pr-interactive-review.test.ts — 9 passed, 59 assertions
  • bunx tsc -p plugins/engineering/skills/pr-interactive-review/scripts/tsconfig.json — passed
  • Biome check for the runtime and test — passed
  • claude plugin validate plugins/engineering --strict — passed
  • Browser smoke test with a fictional fixture — business primer ordering, scenario rendering, severity filtering, exact source links, local comments, assistant replies, and 390 px responsive containment passed
  • Public-content audit — no private project references, absolute home paths, or credential patterns found

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 5, 2026

Copy link
Copy Markdown

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 60fd169
Status: ✅  Deploy successful!
Preview URL: https://e5911bd2.allagents.pages.dev
Branch Preview URL: https://feat-pr-interactive-review.allagents.pages.dev

View logs

@christso
christso marked this pull request as ready for review September 5, 2026 23:47
@christso
christso merged commit c7895e3 into main Sep 5, 2026
9 of 11 checks passed
@christso
christso deleted the feat/pr-interactive-review branch September 5, 2026 23:50
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.

1 participant