Skip to content

feat(web): job-intent play for /agents/code-reviewer - #63

Merged
TommyBez merged 2 commits into
mainfrom
cursor/code-reviewer-job-intent-8d2e
Aug 20, 2026
Merged

feat(web): job-intent play for /agents/code-reviewer#63
TommyBez merged 2 commits into
mainfrom
cursor/code-reviewer-job-intent-8d2e

Conversation

@TommyBez

@TommyBez TommyBez commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary

Scoped job-intent play for /agents/code-reviewer only:

  1. Registry description — replace items[0].description in registry/code-reviewer/registry.json with the shorter Eve PR-review sentence (title/name/slug unchanged).
  2. Title overridegetAgentMetadataTitle returns Eve PR review agent - install @evex/code-reviewer for slug code-reviewer only; other slugs keep name-based budget logic.
  3. H1 lede — under the existing H1, render exactly PR review agent for Eve. for this slug only via getAgentJobIntentLede.

Hard constraints respected: URL/slug unchanged, Copy command button/label unchanged, install command stays npx shadcn@latest add @evex/code-reviewer, no CTA helper under Copy command, homepage hero and home SEO title untouched, other agents untouched.

Test plan

  • Open /agents/code-reviewer and confirm <title> is Eve PR review agent - install @evex/code-reviewer · evex
  • Confirm one lede under H1: PR review agent for Eve.
  • Confirm page description body uses the new registry description (bugs/regressions, not style)
  • Confirm sticky CTA still shows npx shadcn@latest add @evex/code-reviewer and button label Copy command (no Inspect/Writes/Adds helper)
  • Open another agent slug (/agents/eve-agent-builder) and confirm title still follows {name} - install @evex/{slug} and no code-reviewer lede
  • Confirm homepage hero still shows @evex/code-reviewer and home SEO title is unchanged
  • pnpm exec vitest run tests/agent-detail.test.ts (from apps/web) — 62 tests passed

Evidence

Code Reviewer H1, lede, and Copy command CTA
Eve Agent Builder without job-intent lede
Homepage hero still featuring code-reviewer
code_reviewer_job_intent_walkthrough.mp4

Open in Web Open in Cursor 

Summary by CodeRabbit

  • New Features

    • Added a job-intent summary beneath the Code Reviewer agent’s title and controls.
    • Added a dedicated metadata title for the Code Reviewer agent.
  • Documentation

    • Updated the Code Reviewer description to clarify that it reviews GitHub pull requests and posts inline comments focused on bugs and regressions.
  • Bug Fixes

    • Preserved standard metadata title formatting for other agents.
    • Added validation to ensure agent metadata titles remain consistent.

Shorten the registry description, override the metadata title for this
slug only, and add a single H1 lede on /agents/code-reviewer.

Co-authored-by: Tommaso <tommaso.carnemolla@gmail.com>
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
evex Ready Ready Preview Aug 20, 2026 9:28am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b5e2585-2f2f-46be-a666-dd6ecfc086e4

📥 Commits

Reviewing files that changed from the base of the PR and between 2520214 and 5965461.

📒 Files selected for processing (1)
  • registry/code-reviewer/registry.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • registry/code-reviewer/registry.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

The code-reviewer agent now has a fixed metadata title and a job-intent lede. The agent detail page renders the lede. Tests cover the special behavior, and the registry describes pull-request review.

Changes

Code reviewer presentation

Layer / File(s) Summary
Agent metadata and lede logic
apps/web/lib/agent-detail.ts
Adds the code-reviewer metadata title and returns PR review agent for Eve. for that slug. Other agents keep the existing behavior.
Agent page lede rendering
apps/web/app/(main)/agents/[slug]/page.tsx
Computes the job-intent lede and renders it beneath the agent header when present.
Metadata tests and registry content
apps/web/tests/agent-detail.test.ts, registry/code-reviewer/registry.json
Adds tests for the title and lede behavior. Updates the registry description, timestamp, and title assertions.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 59654

This PR makes a localized change to the code-reviewer page’s title, description, and lede while preserving the install command and behavior for other agents. No actionable merge-blocking risk remains after normal checks and review.

Poem

A rabbit checks the review queue bright,
Code Reviewer finds bugs in flight.
A lede hops under the title with care,
While tests guard metadata there.
“Ship it,” says the bunny, “the path is clear!”

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the web feature and the scoped job-intent change for the code-reviewer agent page.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/code-reviewer-job-intent-8d2e

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@TommyBez
TommyBez marked this pull request as ready for review August 20, 2026 09:20

@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: 2520214e1d

ℹ️ 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 registry/code-reviewer/registry.json
Advance meta.updatedAt so OG modifiedTime, JSON-LD dateModified, the
visible Updated date, and sitemap lastModified reflect the revision.

Co-authored-by: Tommaso <tommaso.carnemolla@gmail.com>
@TommyBez
TommyBez merged commit 9b06bfc into main Aug 20, 2026
6 checks passed
@TommyBez
TommyBez deleted the cursor/code-reviewer-job-intent-8d2e branch August 20, 2026 09:53
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