Skip to content

feat: support claude cowork 2#102

Closed
muratkeremozcan wants to merge 1 commit into
mainfrom
feat/support-claude-cowork-2
Closed

feat: support claude cowork 2#102
muratkeremozcan wants to merge 1 commit into
mainfrom
feat/support-claude-cowork-2

Conversation

@muratkeremozcan

Copy link
Copy Markdown
Collaborator

No description provided.

@coderabbitai

coderabbitai Bot commented May 8, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@muratkeremozcan has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 35 minutes and 32 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 432a9831-86f4-403f-b329-b1d388ab183a

📥 Commits

Reviewing files that changed from the base of the PR and between e9a791f and 629b65d.

📒 Files selected for processing (17)
  • .claude-plugin/marketplace.json
  • .github/workflows/quality.yaml
  • .husky/pre-commit
  • README.md
  • cowork-plugin/.claude-plugin/plugin.json
  • cowork-plugin/skills/bmad-tea/SKILL.md
  • cowork-plugin/skills/bmad-teach-me-testing/SKILL.md
  • cowork-plugin/skills/bmad-testarch-atdd/SKILL.md
  • cowork-plugin/skills/bmad-testarch-automate/SKILL.md
  • cowork-plugin/skills/bmad-testarch-ci/SKILL.md
  • cowork-plugin/skills/bmad-testarch-framework/SKILL.md
  • cowork-plugin/skills/bmad-testarch-nfr/SKILL.md
  • cowork-plugin/skills/bmad-testarch-test-design/SKILL.md
  • cowork-plugin/skills/bmad-testarch-test-review/SKILL.md
  • cowork-plugin/skills/bmad-testarch-trace/SKILL.md
  • package.json
  • tools/build-cowork-plugin.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/support-claude-cowork-2

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.

@augmentcode

augmentcode Bot commented May 8, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Adds support for Claude Cowork v2 plugin marketplace consumption by introducing a dedicated generated plugin source directory.

Changes:

  • Updates .claude-plugin/marketplace.json to point the plugin source at ./cowork-plugin
  • Adds a generated Cowork plugin tree (cowork-plugin/.claude-plugin/plugin.json and cowork-plugin/skills/*/SKILL.md)
  • Introduces tools/build-cowork-plugin.js to (re)build the tree or --check it in CI
  • Wires the build into npm test via build:cowork-plugin
  • Extends CI validation workflow to verify the generated Cowork tree is current
  • Updates Husky pre-commit to stage regenerated cowork-plugin/ outputs after tests
  • Refreshes README Cowork installation/update guidance for the new marketplace UX

Technical Notes: The build script consumes plugin metadata/skill paths from .claude-plugin/marketplace.json and materializes a Cowork-friendly skills/<id>/SKILL.md layout under the plugin source.

🤖 Was this summary useful? React with 👍 or 👎

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

Review completed. 4 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

}

// Generate
fs.rmSync(pluginDir, { recursive: true, force: true });

@augmentcode augmentcode Bot May 8, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/build-cowork-plugin.js:65: fs.rmSync(pluginDir, { recursive: true, force: true }) is driven by plugin.source from marketplace.json, so a misconfigured absolute path or ././ could wipe directories outside the intended generated area (including the repo root). Consider validating pluginDir is inside ROOT and not equal to ROOT before removing anything.

Severity: high

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

}
const destDir = path.join(skillsDir, skillId);
fs.mkdirSync(destDir, { recursive: true });
fs.copyFileSync(src, path.join(destDir, 'SKILL.md'));

@augmentcode augmentcode Bot May 8, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/build-cowork-plugin.js:94: The generator copies only SKILL.md, but the canonical skill/workflow directories referenced in marketplace.json include required companion files (e.g., customize.toml, resources/, steps-*) that the SKILL activation text explicitly instructs the agent to read. As-is, the shipped cowork-plugin/skills/<id>/ trees won’t contain those files, so those activation steps will fail for Cowork users.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

const skillId = path.basename(skillRelPath);
const dest = path.join(skillsDir, skillId, 'SKILL.md');
const src = path.join(ROOT, skillRelPath, 'SKILL.md');
if (!fs.existsSync(dest) || hash(dest) !== hash(src)) {

@augmentcode augmentcode Bot May 8, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/build-cowork-plugin.js:55: In --check mode, hash(src) will throw a stack trace if the source SKILL.md is missing, because the code never checks fs.existsSync(src) before hashing. This will make CI failures harder to interpret compared to an explicit “missing source skill” error.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Comment thread package.json
"release:next": "gh workflow run publish.yaml -f channel=next",
"release:patch": "gh workflow run publish.yaml -f channel=latest -f bump=patch",
"test": "npm run test:schemas && npm run test:install && npm run test:knowledge && npm run test:release-metadata && npm run test:tea-workflow-descriptions && npm run validate:schemas && npm run validate:marketplace && npm run lint && npm run lint:md && npm run format:check",
"test": "npm run test:schemas && npm run test:install && npm run test:knowledge && npm run test:release-metadata && npm run test:tea-workflow-descriptions && npm run validate:schemas && npm run validate:marketplace && npm run build:cowork-plugin && npm run lint && npm run lint:md && npm run format:check",

@augmentcode augmentcode Bot May 8, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package.json:41: This PR introduces user-facing Cowork support + CI/pre-commit behavior changes, but there’s no accompanying CHANGELOG.md update. (Rule: AGENTS.md)

Severity: low

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

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