Skip to content

feat: Claude Code plugin for becwright (AI-agent integration, phase A)#17

Merged
DataDave-Dev merged 1 commit into
mainfrom
feat/claude-code-plugin
Jun 30, 2026
Merged

feat: Claude Code plugin for becwright (AI-agent integration, phase A)#17
DataDave-Dev merged 1 commit into
mainfrom
feat/claude-code-plugin

Conversation

@DataDave-Dev

Copy link
Copy Markdown
Owner

Summary

Makes the AI-agent integration official: a Claude Code plugin so any agent session can install and drive becwright — the deterministic, commit-blocking net for what an AI agent lets slip. This is Phase A of the planned agent integration; a universal MCP server + becwright check --json is the next step.

The plugin installs the published package (npm / PyPI); it does not bundle the engine. Thanks to the npm work (#16), install needs no Python.

What's included

  • integrations/claude-code/ — the plugin:
    • Skill becwright — teaches the agent what becwright is, how to install it (npm/pnpm or pipx), scaffold .bec/rules.yaml, and read/fix check output. Auto-invoked when the user asks for a guardrail / pre-commit check / a rule that "can't be ignored".
    • Command /becwrightinit / check / add <regex-or-catalog-url> / status.
  • .claude-plugin/marketplace.json (repo root) — makes the repo installable.
  • README sections (EN/ES) + an integration README.

Install (for users)

/plugin marketplace add DataDave-Dev/becwright
/plugin install becwright@becwright

Test plan

  • claude plugin validate . — marketplace passes (clean)
  • claude plugin validate integrations/claude-code — plugin passes (clean)
  • All manifest JSON parses; pytest still 110 passing (no engine changes)
  • Schema/layout confirmed against current Claude Code plugin docs
  • Manual /plugin install in a fresh session (not done here to avoid mutating the active session's plugin config)

Follow-up (Phase B, separate PR)

becwright check --json (stdlib only) + a universal MCP server shipped as a separate package/extra, so any agent (Cursor, Windsurf, …) gets structured results.

becwright is the deterministic net for what an AI agent lets slip; this makes the
integration official. A Claude Code session can now install becwright and drive it.

- integrations/claude-code/: the plugin. A 'becwright' skill teaches agents what
  it is, how to install it (npm/pnpm, no Python; or pipx), how to scaffold rules
  and read/fix check output; a '/becwright' command exposes init/check/add/status.
- .claude-plugin/marketplace.json: makes the repo installable via
  '/plugin marketplace add DataDave-Dev/becwright'.
- The plugin installs the published package, it does not bundle the engine.
- Document install in both READMEs. Validated with 'claude plugin validate'.

First layer of the planned agent integration; a universal MCP server + check
--json is the next step.
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@DataDave-Dev, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9e0be004-7761-4e03-b8f6-20d85d864fdd

📥 Commits

Reviewing files that changed from the base of the PR and between baf0524 and 43442ea.

📒 Files selected for processing (7)
  • .claude-plugin/marketplace.json
  • README.es.md
  • README.md
  • integrations/claude-code/.claude-plugin/plugin.json
  • integrations/claude-code/README.md
  • integrations/claude-code/commands/becwright.md
  • integrations/claude-code/skills/becwright/SKILL.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/claude-code-plugin

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.

@DataDave-Dev
DataDave-Dev merged commit cc5c1ee into main Jun 30, 2026
3 checks passed
@DataDave-Dev
DataDave-Dev deleted the feat/claude-code-plugin branch June 30, 2026 16:16
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