Skip to content

Add agent deployment demo and executive assistant skills - #20

Merged
pavelanni merged 5 commits into
mainfrom
feature/agent-deploy-demo
Apr 29, 2026
Merged

pavelanni merged 5 commits into
mainfrom
feature/agent-deploy-demo

Conversation

@pavelanni

@pavelanni pavelanni commented Apr 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add an interactive web demo (docs/demo/index.html) for assembling agent deployments visually — pick a base image, system prompt, and skills, then generate OpenShift manifests
  • Add three new example skills for the executive assistant persona: meeting-notes-processor, email-drafter, briefing-builder
  • Demo styled with Red Hat brand guidelines (Red Hat Display/Text/Mono fonts, RH color palette)
  • Generated YAML matches the live cluster deployment pattern (same security context, volume mounts, container args)

Test plan

  • Open docs/demo/index.html in a browser
  • Walk through all three steps, verify card selection and navigation
  • Select executive-assistant + recommended skills, generate manifests
  • Verify ConfigMap YAML matches executive-assistant-config structure
  • Verify Deployment YAML matches live deployment (security context, OCI image volumes)
  • Repeat with hr-analyst persona
  • Test with zero skills selected
  • Validate new skills: skillctl validate examples/meeting-notes-processor (and others)
  • Push new skills to Quay.io registry

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Interactive agent configuration builder with step-by-step workflow for selecting agent bases, personas, and skills to generate deployment manifests
    • Three new skills: briefing-builder for compiling executive briefings, email-drafter for professional email generation, and meeting-notes-processor for parsing and organizing meeting notes
    • Document-processing collection bundling document-summarizer and document-reviewer skills

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]>
@coderabbitai

coderabbitai Bot commented Apr 29, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@pavelanni has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 33 minutes and 1 second before requesting another review.

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 @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: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 0e78f742-be70-43bd-b614-76369b1441e4

📥 Commits

Reviewing files that changed from the base of the PR and between 5fe5963 and 1ee5b96.

📒 Files selected for processing (1)
  • docs/demo/index.html
📝 Walkthrough

Walkthrough

This 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

Cohort / File(s) Summary
Demo Web Application
docs/demo/index.html
New interactive browser UI enabling agent composition through persona selection, skill filtering by category, automatic recommendation-based skill selection, YAML manifest generation embedding persona prompts and tool configs, and clipboard-based copying of manifests.
Briefing-Builder Skill
examples/briefing-builder/SKILL.md, examples/briefing-builder/skill.yaml
New skill definition for compiling executive briefings with structured outputs (bottom line, workstream summaries with status indicators, decisions, risks, recommendations) and style enforcement (top-down conclusions, table formats, 500-word limit).
Email-Drafter Skill
examples/email-drafter/SKILL.md, examples/email-drafter/skill.yaml
New skill definition for generating professional emails with recipient-specific formatting guidance, explicit subject lines, action items with deadlines, and <200-word length constraints; requests clarification on missing context.
Meeting-Notes-Processor Skill
examples/meeting-notes-processor/SKILL.md, examples/meeting-notes-processor/skill.yaml
New skill definition for parsing meeting notes into organized sections (Decisions, Action items, Follow-ups, Key discussion points, Parking lot) with owner/deadline attribution and date normalization rules.
Document-Processing Collection
examples/document-processing-collection.yaml
New SkillCollection manifest defining two skills (document-summarizer, document-reviewer) with pinned container image versions (1.0.0-testing, 1.0.0-draft).

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main changes: adding an interactive agent deployment demo and three new executive assistant skills (meeting-notes-processor, email-drafter, briefing-builder).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/agent-deploy-demo

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
Review rate limit: 0/1 reviews remaining, refill in 33 minutes and 1 second.

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

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]>
@pavelanni
pavelanni marked this pull request as ready for review April 29, 2026 00:38

@coderabbitai coderabbitai 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.

🧹 Nitpick comments (1)
docs/demo/index.html (1)

1330-1340: Add error handling to copyYaml for consistency with copyAll.

copyYaml() lacks error handling for clipboard failures, while copyAll() (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

📥 Commits

Reviewing files that changed from the base of the PR and between 218fa8b and 5fe5963.

📒 Files selected for processing (8)
  • docs/demo/index.html
  • examples/briefing-builder/SKILL.md
  • examples/briefing-builder/skill.yaml
  • examples/document-processing-collection.yaml
  • examples/email-drafter/SKILL.md
  • examples/email-drafter/skill.yaml
  • examples/meeting-notes-processor/SKILL.md
  • examples/meeting-notes-processor/skill.yaml

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Pavel Anni <[email protected]>
@pavelanni
pavelanni merged commit 1fd059f into main Apr 29, 2026
5 checks passed
@pavelanni
pavelanni deleted the feature/agent-deploy-demo branch April 29, 2026 01:07
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.

1 participant