Repository navigation
Add agent deployment demo and executive assistant skills - #20
Conversation
Add an interactive web demo (docs/demo/) that lets users assemble agent deployments by selecting a base image, system prompt, and skills, then generates ready-to-apply OpenShift manifests. Add three new example skills for the executive assistant persona: meeting-notes-processor, email-drafter, and briefing-builder. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR introduces a browser-based demo application for composing agents by selecting personae and skills, then generating Kubernetes manifests (ConfigMap, Deployment, ServiceAccount, Service) ready for deployment. It also adds four new skill examples with documentation and manifests: briefing-builder, email-drafter, meeting-notes-processor, and a document-processing skill collection. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Review rate limit: 0/1 reviews remaining, refill in 33 minutes and 1 second.Comment |
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Address review findings from Kimi validation: - Generate a Service resource so the agent is reachable via DNS - Mount emptyDir at /tmp instead of /tmp/agent-workspace to avoid write failures with readOnlyRootFilesystem Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
- Add ServiceAccount manifest to generated output - Add clipboard feedback and error handling to Copy All button - Auto-select recommended skills when a persona is chosen Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/demo/index.html (1)
1330-1340: Add error handling tocopyYamlfor consistency withcopyAll.
copyYaml()lacks error handling for clipboard failures, whilecopyAll()(lines 1353-1356) properly handles errors. For a consistent user experience, consider adding a catch block.Proposed fix
function copyYaml(elementId, btn) { const text = document.getElementById(elementId).textContent; navigator.clipboard.writeText(text).then(() => { btn.textContent = 'Copied!'; btn.classList.add('copied'); setTimeout(() => { btn.textContent = 'Copy'; btn.classList.remove('copied'); }, 2000); + }).catch(() => { + btn.textContent = 'Copy failed'; + setTimeout(() => { + btn.textContent = 'Copy'; + }, 2000); }); }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/demo/index.html` around lines 1330 - 1340, The copyYaml function currently assumes navigator.clipboard.writeText always succeeds; add error handling like copyAll does by appending a .catch() to the promise returned by navigator.clipboard.writeText(text) and handle failures (e.g., set btn.textContent to 'Failed' or restore UI, remove/add 'copied' class appropriately, and console.error the error) so copyYaml(elementId, btn) mirrors copyAll's behavior and provides a consistent user experience.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@docs/demo/index.html`:
- Around line 1330-1340: The copyYaml function currently assumes
navigator.clipboard.writeText always succeeds; add error handling like copyAll
does by appending a .catch() to the promise returned by
navigator.clipboard.writeText(text) and handle failures (e.g., set
btn.textContent to 'Failed' or restore UI, remove/add 'copied' class
appropriately, and console.error the error) so copyYaml(elementId, btn) mirrors
copyAll's behavior and provides a consistent user experience.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Enterprise
Run ID: a597fc2c-2e6b-4fa3-b79f-b68bf794a2fb
📒 Files selected for processing (8)
docs/demo/index.htmlexamples/briefing-builder/SKILL.mdexamples/briefing-builder/skill.yamlexamples/document-processing-collection.yamlexamples/email-drafter/SKILL.mdexamples/email-drafter/skill.yamlexamples/meeting-notes-processor/SKILL.mdexamples/meeting-notes-processor/skill.yaml
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Summary
docs/demo/index.html) for assembling agent deployments visually — pick a base image, system prompt, and skills, then generate OpenShift manifestsTest plan
docs/demo/index.htmlin a browserexecutive-assistant-configstructureskillctl validate examples/meeting-notes-processor(and others)🤖 Generated with Claude Code
Summary by CodeRabbit