Skip to content

feat: add wework prompt - #359

Merged
qdaxb merged 1 commit into
mainfrom
feat/add-wework-prommpt
Jan 31, 2026
Merged

qdaxb merged 1 commit into
mainfrom
feat/add-wework-prommpt

Conversation

@feifei325

@feifei325 feifei325 commented Jan 31, 2026 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added Wegent-WeWork integration suite comprising Ghost, Bot, and Team resources for collaborative task management with solo collaboration model.
    • Included comprehensive system prompts and operational configurations for the integration.
  • Bug Fixes

    • Removed duplicate Wegent-WeWork resource entries in public resources configuration.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 31, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This PR adds a new public Wegent-WeWork integration suite to the backend initialization resources, comprising a Ghost resource with extensive system prompts and capabilities, a corresponding Bot resource, and a Team resource. The same set of resources appears to be duplicated later in the file.

Changes

Cohort / File(s) Summary
Wegent-WeWork Integration Resources
backend/init_data/02-public-resources.yaml
Added Ghost resource (wegent-wework) with comprehensive systemPrompt covering application details, behavior instructions, product information, safety guidelines, and tool usage policies; added Bot resource (wegent-wework-bot) referencing the Ghost and ClaudeCode shell; added Team resource (wegent-wework) with solo collaboration model. Resources are defined twice in the file, creating duplication.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 A Wegent hops into the frame,
WeWork collaboration, a wondrous game!
Ghost and Bot and Team unite,
Though twice they're blessed—once should suffice, just right! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'feat: add wework prompt' is vague and does not clearly convey the full scope of changes, which include adding a complete Wegent-WeWork integration suite (Ghost, Bot, Team resources) with duplicated entries. Consider a more descriptive title such as 'feat: add Wegent-WeWork integration resources (Ghost, Bot, Team)' to better reflect the actual changeset and warn reviewers about potential duplication.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/add-wework-prommpt

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.

@qdaxb
qdaxb merged commit 606353f into main Jan 31, 2026
12 of 13 checks passed

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@backend/init_data/02-public-resources.yaml`:
- Around line 663-666: The manifest's spec.skills list currently contains only
"mermaid-diagram", "browser", and "document" but the prompt/summary advertises
additional tools ("xlsx", "pptx", "docx", "pdf", "skill-creator"); update the
CRD to keep them in sync by either adding the missing skill names to spec.skills
(add "xlsx", "pptx", "docx", "pdf", "skill-creator") so the actual exposed tools
match the prompt, or remove those tool names from the prompt/summary so it
matches the existing spec.skills; locate and update the spec.skills array (and
the prompt/summary text that lists available skills) to ensure both lists are
identical.
- Line 1352: Update the Team resource's description field in the
02-public-resources.yaml entry that currently reads like a NotebookLM agent;
replace the NotebookLM-specific wording with a concise Wework-aligned
description that reflects the Wework prompt and use-case (e.g.,
workspace-focused, company/office-related assistant) so the user-visible
metadata correctly represents this Team. Locate the "description:" value for the
Team entry and edit it to remove references to NotebookLM and instead summarize
the Wework intent and scope.

Comment on lines +663 to +666
skills:
- mermaid-diagram
- browser
- document

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.

⚠️ Potential issue | 🟠 Major

Align declared skills with the prompt’s advertised capabilities.

Line 663-666 only declares mermaid-diagram, browser, document, but Line 1275-1289 claims xlsx, pptx, docx, pdf, and skill-creator are available. If those skills aren’t actually exposed, users will hit missing-tool behavior. Either add the missing skills to spec.skills or trim the summary to match.

🔧 Proposed fix (add skills to match the prompt)
   skills:
     - mermaid-diagram
     - browser
     - document
+    - xlsx
+    - pptx
+    - docx
+    - pdf
+    - skill-creator
Based on learnings: Use Kubernetes-inspired CRD design with Ghost (system prompt + MCP servers + skills), Bot (Ghost + Shell + Model), Team (multiple Bots), Task (Team + Workspace), Workspace (Git repository), Skill (Claude Code skill).

Also applies to: 1272-1291

🤖 Prompt for AI Agents
In `@backend/init_data/02-public-resources.yaml` around lines 663 - 666, The
manifest's spec.skills list currently contains only "mermaid-diagram",
"browser", and "document" but the prompt/summary advertises additional tools
("xlsx", "pptx", "docx", "pdf", "skill-creator"); update the CRD to keep them in
sync by either adding the missing skill names to spec.skills (add "xlsx",
"pptx", "docx", "pdf", "skill-creator") so the actual exposed tools match the
prompt, or remove those tool names from the prompt/summary so it matches the
existing spec.skills; locate and update the spec.skills array (and the
prompt/summary text that lists available skills) to ensure both lists are
identical.

displayName: Wegent Wework
namespace: default
spec:
description: A research and writing assistant inspired by Google NotebookLM, focused on material-centric, evidence-first analysis.

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.

⚠️ Potential issue | 🟡 Minor

Update the Team description to match Wework (not NotebookLM).

Line 1352 reads like a copy of the NotebookLM agent description, which doesn’t match the Wework prompt. This is user‑visible metadata and can confuse selection in UIs.

✏️ Proposed fix
-  description: A research and writing assistant inspired by Google NotebookLM, focused on material-centric, evidence-first analysis.
+  description: A versatile Wework assistant for document creation, analysis, research, and automation in the desktop app.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
description: A research and writing assistant inspired by Google NotebookLM, focused on material-centric, evidence-first analysis.
description: A versatile Wework assistant for document creation, analysis, research, and automation in the desktop app.
🤖 Prompt for AI Agents
In `@backend/init_data/02-public-resources.yaml` at line 1352, Update the Team
resource's description field in the 02-public-resources.yaml entry that
currently reads like a NotebookLM agent; replace the NotebookLM-specific wording
with a concise Wework-aligned description that reflects the Wework prompt and
use-case (e.g., workspace-focused, company/office-related assistant) so the
user-visible metadata correctly represents this Team. Locate the "description:"
value for the Team entry and edit it to remove references to NotebookLM and
instead summarize the Wework intent and scope.

@qdaxb
qdaxb deleted the feat/add-wework-prommpt branch February 4, 2026 09:28
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