Skip to content

Update docs for merged code-review skill#456

Merged
xingyaoww merged 4 commits intomainfrom
merge-code-review-skills
Apr 15, 2026
Merged

Update docs for merged code-review skill#456
xingyaoww merged 4 commits intomainfrom
merge-code-review-skills

Conversation

@xingyaoww
Copy link
Copy Markdown
Contributor

Summary

Companion to OpenHands/extensions#175 which merges the code-review and codereview-roasted skills into a single unified skill.

Changes

  • openhands/usage/use-cases/code-review.mdx: Removed 'Review Styles' section, updated skill link to point to code-review, marked review-style input as deprecated in inputs table and examples, updated workflow YAML examples to use OpenHands/extensions/plugins/pr-review@main
  • sdk/guides/github-workflows/pr-review.mdx: Deprecated review-style in workflow example and inputs table
  • .github/workflows/pr-review-by-openhands.yml: Commented out review-style usage

This PR was created by an AI assistant (OpenHands) on behalf of the user.

Companion to OpenHands/extensions PR that merges code-review and
codereview-roasted into a single unified skill.

Changes:
- code-review.mdx: Removed 'Review Styles' section, updated skill link,
  marked review-style input as deprecated in all tables/examples
- pr-review.mdx: Deprecated review-style in workflow example and inputs table
- pr-review-by-openhands.yml: Commented out review-style usage

Co-authored-by: openhands <openhands@all-hands.dev>
@xingyaoww xingyaoww requested review from enyst and mamoodi as code owners April 14, 2026 16:10
Copy link
Copy Markdown
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

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

🔴 Needs rework - You updated the uses: paths in YAML examples but missed the documentation links pointing to the old action source code. These will 404.

CRITICAL ISSUES:

  1. Broken documentation links: Three files still link to software-agent-sdk/.github/actions/pr-review/action.yml which no longer exists:

    • openhands/usage/use-cases/code-review.mdx line 260
    • openhands/usage/essential-guidelines/sdlc-integration.mdx line 129
    • sdk/guides/github-workflows/pr-review.mdx line 196

    These should point to OpenHands/extensions/blob/main/plugins/pr-review/action.yml

  2. Stale workflow reference: Line 259 of code-review.mdx still points to the old SDK examples path. Should verify if that's still valid or if it should point to extensions/plugins/pr-review/workflows/

WHAT YOU DID RIGHT:

  • ✅ Skill links correctly updated to code-review
  • ✅ Review-style properly marked as deprecated
  • ✅ YAML example paths updated
  • ✅ Changes match upstream PR (OpenHands/extensions#175)

KEY INSIGHT: If you're migrating action paths, migrate ALL references (both YAML uses: and documentation links), not just some.

Comment thread openhands/usage/use-cases/code-review.mdx
Comment thread openhands/usage/use-cases/code-review.mdx
Comment thread sdk/guides/github-workflows/pr-review.mdx
@mintlify
Copy link
Copy Markdown

mintlify bot commented Apr 14, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
all-hands-ai 🟢 Ready View Preview Apr 14, 2026, 4:21 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Update all '/codereview' references to '/code-review' in docs, examples,
and code snippets to match the canonical trigger name.

Companion to OpenHands/extensions PR #175.

Co-authored-by: openhands <openhands@all-hands.dev>
Use /codereview (no hyphen) as the canonical trigger in all docs, examples,
and code snippets. Directory/path references remain 'code-review'.

Companion to OpenHands/extensions PR #175.

Co-authored-by: openhands <openhands@all-hands.dev>
Update links that still pointed to software-agent-sdk/.github/actions/pr-review
to point to the new location at OpenHands/extensions/plugins/pr-review.

Addresses review feedback from all-hands-bot.

Co-authored-by: openhands <openhands@all-hands.dev>
Copy link
Copy Markdown
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

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

🟢 Good taste - Textbook deprecation: backward compatible, clearly documented, all links verified.

KEY INSIGHT: You correctly maintained the parameter for backward compatibility while clearly marking it deprecated. This is exactly how to evolve an API without breaking userspace. Verified all file paths against the upstream PR branch—everything checks out.

@@ -122,7 +112,7 @@ The workflow uses a reusable composite action from the Software Agent SDK that h
|-------|-------------|----------|---------|
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.

🟢 Acceptable - Pragmatic deprecation strategy. The parameter is kept for backward compatibility, ignored in code, and clearly documented. This is the right way to handle breaking changes without actually breaking anything.


2. **Analysis**: The agent receives the complete PR diff and uses two skills:
- [**`/codereview`**](https://github.com/OpenHands/extensions/tree/main/skills/codereview) or [**`/codereview-roasted`**](https://github.com/OpenHands/extensions/tree/main/skills/codereview-roasted): Analyzes code for quality, security, and best practices
- [**`/codereview`**](https://github.com/OpenHands/extensions/tree/main/skills/code-review): Analyzes code for quality, security, data structures, and best practices with a focus on simplicity and pragmatism
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.

🟢 Good taste - Verified this description matches the merged skill in extensions#175. The unified skill now handles both review styles with triggers /codereview and /codereview-roasted, focusing on data structures, simplicity, security, and pragmatism.

@xingyaoww xingyaoww requested a review from neubig April 14, 2026 18:27
@xingyaoww xingyaoww merged commit 6e7edd0 into main Apr 15, 2026
7 checks passed
@xingyaoww xingyaoww deleted the merge-code-review-skills branch April 15, 2026 00:55
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.

3 participants