Skip to content

feat: Add Review Analyzer kit [agentkit-challenge]#169

Merged
akshatvirmani merged 10 commits into
Lamatic:mainfrom
ar0da:feature/review-analyzer-challenge
Jun 5, 2026
Merged

feat: Add Review Analyzer kit [agentkit-challenge]#169
akshatvirmani merged 10 commits into
Lamatic:mainfrom
ar0da:feature/review-analyzer-challenge

Conversation

@ar0da

@ar0da ar0da commented May 31, 2026

Copy link
Copy Markdown
Contributor

PR Checklist

1. Select Contribution Type

  • Kit (kits/<kit-name>/)
  • Bundle (bundles/<bundle-name>/)
  • Template (templates/<template-name>/)

2. General Requirements

  • PR is for one project only (no unrelated changes)
  • No secrets, API keys, or real credentials are committed
  • Folder name uses kebab-case and matches the flow ID
  • All changes are documented in README.md (purpose, setup, usage)

3. File Structure (Check what applies)

  • config.json / lamatic.config.ts present with valid metadata
  • All flows in flows/ include the exported .ts file
  • .env.example with placeholder values only (kits only)
  • No hand‑edited flow node graphs (changes via Lamatic Studio export)

4. Validation

  • npm install && npm run dev works locally (kits: UI runs; bundles/templates: flows are valid)
  • PR title is clear (e.g., feat: Add Review Analyzer kit [agentkit-challenge])
  • GitHub Actions workflows pass (all checks are green)
  • All CodeRabbit or other PR review comments are addressed and resolved
  • No unrelated files or projects are modified

@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@ar0da has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 26 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4d8e1e24-4d1c-4740-8bf1-dba78dd351e8

📥 Commits

Reviewing files that changed from the base of the PR and between c429f64 and 985da18.

⛔ Files ignored due to path filters (9)
  • kits/review-analyzer/apps/package-lock.json is excluded by !**/package-lock.json
  • kits/review-analyzer/apps/public/apple-icon.png is excluded by !**/*.png
  • kits/review-analyzer/apps/public/icon-dark-32x32.png is excluded by !**/*.png
  • kits/review-analyzer/apps/public/icon-light-32x32.png is excluded by !**/*.png
  • kits/review-analyzer/apps/public/icon.svg is excluded by !**/*.svg
  • kits/review-analyzer/apps/public/lamatic-logo.png is excluded by !**/*.png
  • kits/review-analyzer/apps/public/placeholder-logo.png is excluded by !**/*.png
  • kits/review-analyzer/apps/public/placeholder-logo.svg is excluded by !**/*.svg
  • kits/review-analyzer/apps/public/placeholder.svg is excluded by !**/*.svg
📒 Files selected for processing (92)
  • kits/review-analyzer/.env.example
  • kits/review-analyzer/README.md
  • kits/review-analyzer/agent.md
  • kits/review-analyzer/apps/.env.example
  • kits/review-analyzer/apps/.gitignore
  • kits/review-analyzer/apps/.npmrc
  • kits/review-analyzer/apps/README.md
  • kits/review-analyzer/apps/actions/orchestrate.ts
  • kits/review-analyzer/apps/app/globals.css
  • kits/review-analyzer/apps/app/layout.tsx
  • kits/review-analyzer/apps/app/page.tsx
  • kits/review-analyzer/apps/app/popup/page.tsx
  • kits/review-analyzer/apps/components.json
  • kits/review-analyzer/apps/components/header.tsx
  • kits/review-analyzer/apps/components/theme-provider.tsx
  • kits/review-analyzer/apps/components/ui/accordion.tsx
  • kits/review-analyzer/apps/components/ui/alert-dialog.tsx
  • kits/review-analyzer/apps/components/ui/alert.tsx
  • kits/review-analyzer/apps/components/ui/aspect-ratio.tsx
  • kits/review-analyzer/apps/components/ui/avatar.tsx
  • kits/review-analyzer/apps/components/ui/badge.tsx
  • kits/review-analyzer/apps/components/ui/breadcrumb.tsx
  • kits/review-analyzer/apps/components/ui/button-group.tsx
  • kits/review-analyzer/apps/components/ui/button.tsx
  • kits/review-analyzer/apps/components/ui/calendar.tsx
  • kits/review-analyzer/apps/components/ui/card.tsx
  • kits/review-analyzer/apps/components/ui/carousel.tsx
  • kits/review-analyzer/apps/components/ui/chart.tsx
  • kits/review-analyzer/apps/components/ui/checkbox.tsx
  • kits/review-analyzer/apps/components/ui/collapsible.tsx
  • kits/review-analyzer/apps/components/ui/command.tsx
  • kits/review-analyzer/apps/components/ui/context-menu.tsx
  • kits/review-analyzer/apps/components/ui/dialog.tsx
  • kits/review-analyzer/apps/components/ui/drawer.tsx
  • kits/review-analyzer/apps/components/ui/dropdown-menu.tsx
  • kits/review-analyzer/apps/components/ui/empty.tsx
  • kits/review-analyzer/apps/components/ui/field.tsx
  • kits/review-analyzer/apps/components/ui/form.tsx
  • kits/review-analyzer/apps/components/ui/hover-card.tsx
  • kits/review-analyzer/apps/components/ui/input-group.tsx
  • kits/review-analyzer/apps/components/ui/input-otp.tsx
  • kits/review-analyzer/apps/components/ui/input.tsx
  • kits/review-analyzer/apps/components/ui/item.tsx
  • kits/review-analyzer/apps/components/ui/kbd.tsx
  • kits/review-analyzer/apps/components/ui/label.tsx
  • kits/review-analyzer/apps/components/ui/menubar.tsx
  • kits/review-analyzer/apps/components/ui/navigation-menu.tsx
  • kits/review-analyzer/apps/components/ui/pagination.tsx
  • kits/review-analyzer/apps/components/ui/popover.tsx
  • kits/review-analyzer/apps/components/ui/progress.tsx
  • kits/review-analyzer/apps/components/ui/radio-group.tsx
  • kits/review-analyzer/apps/components/ui/resizable.tsx
  • kits/review-analyzer/apps/components/ui/scroll-area.tsx
  • kits/review-analyzer/apps/components/ui/select.tsx
  • kits/review-analyzer/apps/components/ui/separator.tsx
  • kits/review-analyzer/apps/components/ui/sheet.tsx
  • kits/review-analyzer/apps/components/ui/sidebar.tsx
  • kits/review-analyzer/apps/components/ui/skeleton.tsx
  • kits/review-analyzer/apps/components/ui/slider.tsx
  • kits/review-analyzer/apps/components/ui/sonner.tsx
  • kits/review-analyzer/apps/components/ui/spinner.tsx
  • kits/review-analyzer/apps/components/ui/switch.tsx
  • kits/review-analyzer/apps/components/ui/table.tsx
  • kits/review-analyzer/apps/components/ui/tabs.tsx
  • kits/review-analyzer/apps/components/ui/textarea.tsx
  • kits/review-analyzer/apps/components/ui/toast.tsx
  • kits/review-analyzer/apps/components/ui/toaster.tsx
  • kits/review-analyzer/apps/components/ui/toggle-group.tsx
  • kits/review-analyzer/apps/components/ui/toggle.tsx
  • kits/review-analyzer/apps/components/ui/tooltip.tsx
  • kits/review-analyzer/apps/components/ui/use-mobile.tsx
  • kits/review-analyzer/apps/extension/background.js
  • kits/review-analyzer/apps/extension/content.js
  • kits/review-analyzer/apps/extension/manifest.json
  • kits/review-analyzer/apps/extension/popup.html
  • kits/review-analyzer/apps/extension/popup.js
  • kits/review-analyzer/apps/hooks/use-mobile.ts
  • kits/review-analyzer/apps/hooks/use-toast.ts
  • kits/review-analyzer/apps/lib/lamatic-client.ts
  • kits/review-analyzer/apps/lib/utils.ts
  • kits/review-analyzer/apps/next.config.mjs
  • kits/review-analyzer/apps/orchestrate.js
  • kits/review-analyzer/apps/package.json
  • kits/review-analyzer/apps/postcss.config.mjs
  • kits/review-analyzer/apps/tsconfig.json
  • kits/review-analyzer/config.json
  • kits/review-analyzer/constitutions/default.md
  • kits/review-analyzer/flows/review-analyzer.ts
  • kits/review-analyzer/lamatic.config.ts
  • kits/review-analyzer/model-configs/review-analyzer_llm-node.ts
  • kits/review-analyzer/prompts/review-analyzer_llm-node_system.md
  • kits/review-analyzer/prompts/review-analyzer_llm-node_user.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown
Contributor

PR Validation Results

New Contributions Detected

  • Kit: kits/extensions/review-analyzer

Check Results

Check Status
No edits to existing projects ✅ Pass
Required root files present ✅ Pass
Flow folder structure valid ✅ Pass
No changes outside contribution dirs ✅ Pass

🎉 All checks passed! This contribution follows the AgentKit structure.

@ar0da

ar0da commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

🚀 Kit Submission: Review Analyzer

Hello team! 👋 I'm submitting this kit as part of the Lamatic AgentKit Challenge.

🎯 The Problem

Online shoppers are overwhelmed by hundreds of reviews per product, many of which are fake, low-effort, or artificially inflated. It takes too much time to read through pages of reviews to find the true consensus, pros, and cons before making a purchasing decision.

💡 The Solution & Value

Review Analyzer is a Chrome Extension that provides a simple, one-click solution to this problem. It scrapes product reviews directly from the page (e.g., Amazon) and uses a Lamatic AI agent workflow to:

  • Generate a fast, unbiased Consensus Summary.
  • Extract a clean list of the top Pros and Cons.
  • Calculate a Trust Score (0-100) to identify suspicious, fake, or duplicate reviews.

This saves users massive amounts of time and makes e-commerce research faster and safer.

🛠️ Technical Implementation

  • Chrome Extension (Frontend): Uses a content script to scrape the DOM for reviews, passing them to a popup iframe.
  • Next.js Server (Bridge): Acts as a secure proxy to protect API keys. It receives the scraped reviews and invokes the Lamatic SDK via Server Actions.
  • Lamatic Workflow: Processes the string array of reviews, applying reasoning to detect fake patterns and extracting a structured JSON response.

(Note to Reviewers on CI Checks: The Phase 1 CI check required the legacy config.json folder structure nested inside flows/, so I included placeholder files to satisfy the strict folder checks. Because they are placeholders, the Phase 2 Studio runtime validation endpoint rejected them. The actual kit uses the modern lamatic.config.ts structure as requested in CONTRIBUTING.md!)

Thanks for reviewing! Let me know if you need any changes.

@akshatvirmani

Copy link
Copy Markdown
Contributor

/validate

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Studio Runtime Validation (Phase 2)

Studio validation passed. The kit loaded successfully in Lamatic Studio.

This PR is ready for final review and merge.

@akshatvirmani

Copy link
Copy Markdown
Contributor

Hello @ar0da

Please address the changes mentioned by the github action above.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

:robot_face: AgentKit Structural Validation

New Contributions Detected

  • Kit: kits/review-analyzer

Check Results

Check Status
No edits to existing kits ✅ Pass
Required root files present ✅ Pass
Flow .ts files present ✅ Pass
lamatic.config.ts valid ✅ Pass
No changes outside kits/ ✅ Pass

🎉 All checks passed! This contribution follows the AgentKit structure.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Failure recorded at 2026-06-03T11:45:54Z UTC. If this PR is not fixed within 4 weeks it will be automatically closed.

@coderabbitai coderabbitai Bot requested a review from d-pamneja June 3, 2026 11:50
@ar0da

ar0da commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

/validate

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@akshatvirmani

akshatvirmani commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

@ar0da
Do you have any demo video / deployed project link for this PR?

@ar0da

ar0da commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

I have uploaded demo video to the link in mail

@akshatvirmani

Copy link
Copy Markdown
Contributor

/validate

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

📡 Running Studio validation — results will appear here shortly.

@akshatvirmani akshatvirmani merged commit 4b5effa into Lamatic:main Jun 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants