Skip to content

chore: add agent review skills#323

Open
sozercan wants to merge 10 commits into
mainfrom
autoreview
Open

chore: add agent review skills#323
sozercan wants to merge 10 commits into
mainfrom
autoreview

Conversation

@sozercan

@sozercan sozercan commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

Why

These skills and instructions provide reusable local agent workflows for safe transcript rendering and structured autoreview closeout checks.

Validation

  • Verified copied file contents and executable bits against the kaset PR head commit (4808bb4c535847e9a899c4eb452f74357cf26ee6) before review-driven edits.
  • node .agents/skills/agent-transcript/scripts/agent-transcript.test.mjs
  • PYTHONDONTWRITEBYTECODE=1 python3 .agents/skills/autoreview/scripts/autoreview.test.py
  • git diff --check
  • Parsed restored E2E workflow YAML with PyYAML after reverting the temporary MCR-outage workaround.

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@sozercan sozercan requested a review from a team as a code owner June 15, 2026 22:00
Copilot AI review requested due to automatic review settings June 15, 2026 22:00
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds two repo-local agent skills copied from sozercan/kaset#286 into the .agents/skills/ directory. These provide reusable AI agent workflows: one for rendering redacted agent session transcripts into PR/issue bodies, and another for running structured code review closeout checks using various AI engines (Codex, Claude, etc.). The PR description explicitly states the intent to preserve the copied files as-is.

Changes:

  • Add agent-transcript skill: a Node.js-based tool that discovers, redacts, and renders local agent session logs into safe Markdown sections for PR/issue bodies
  • Add autoreview skill: a Python-based structured code review helper supporting multiple engines (Codex, Claude, droid, copilot) with secret redaction, parallel test execution, and review panels
  • Include comprehensive test suites for both skills and shell/PowerShell wrapper scripts for the test harness
Show a summary per file
File Description
.agents/skills/autoreview/SKILL.md Documentation/contract for the autoreview skill
.agents/skills/autoreview/scripts/autoreview Main Python autoreview helper (1687 lines)
.agents/skills/autoreview/scripts/autoreview.test.py Unit tests for autoreview helper
.agents/skills/autoreview/scripts/test-review-harness.py Integration test harness creating fixture repos
.agents/skills/autoreview/scripts/test-review-harness Bash wrapper for the test harness
.agents/skills/autoreview/scripts/test-review-harness.ps1 PowerShell wrapper for the test harness
.agents/skills/agent-transcript/SKILL.md Documentation/contract for the agent-transcript skill
.agents/skills/agent-transcript/scripts/agent-transcript Main Node.js agent-transcript helper (1176 lines)
.agents/skills/agent-transcript/scripts/agent-transcript.test.mjs Comprehensive tests for agent-transcript

Copilot's findings

Tip

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

  • Files reviewed: 10/10 changed files
  • Comments generated: 5

Comment thread .agents/skills/autoreview/SKILL.md Outdated
Comment thread .agents/skills/agent-transcript/SKILL.md Outdated
Comment thread .agents/skills/autoreview/SKILL.md Outdated
Comment thread .agents/skills/autoreview/SKILL.md Outdated
Comment thread .agents/skills/autoreview/SKILL.md Outdated
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings June 15, 2026 22:09

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 77cef8ac5a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/skills/autoreview/scripts/autoreview Outdated
Comment thread .agents/skills/agent-transcript/scripts/agent-transcript
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings June 15, 2026 22:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 14/14 changed files
  • Comments generated: 2

Comment thread hack/preload-kaito-images.sh Outdated
Comment thread .github/workflows/e2e-gateway.yml Outdated
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@sozercan sozercan changed the title chore: add agent review skills chore: add agent review skills and stabilize e2e Jun 15, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7feb0a0d4b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/skills/autoreview/scripts/autoreview
Comment thread .agents/skills/agent-transcript/scripts/agent-transcript
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings June 15, 2026 22:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 13/13 changed files
  • Comments generated: 0 new

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e026874024

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/skills/autoreview/scripts/autoreview Outdated
Comment thread .agents/skills/autoreview/scripts/autoreview
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings June 15, 2026 23:14
@sozercan sozercan changed the title chore: add agent review skills and stabilize e2e chore: add agent review skills Jun 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 166555d38f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/skills/autoreview/scripts/autoreview Outdated
Comment thread .agents/skills/agent-transcript/scripts/agent-transcript
Comment thread .agents/skills/autoreview/scripts/autoreview
Comment thread .agents/skills/autoreview/scripts/autoreview Outdated
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
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