Skip to content

Add agent preflight plugin - #606

Closed
el-zachariah wants to merge 1 commit into
wshobson:mainfrom
el-zachariah:wealth-agent-preflight-plugin-20260705
Closed

el-zachariah wants to merge 1 commit into
wshobson:mainfrom
el-zachariah:wealth-agent-preflight-plugin-20260705

Conversation

@el-zachariah

Copy link
Copy Markdown

Summary

  • adds a free agent-preflight Claude Code plugin command for producing a repo safety receipt before AI-agent edits
  • registers it in the marketplace with the public free starter-pack repository as homepage
  • keeps the listing non-commercial and focused on preflight trust/validation workflows

Validation

  • make generate-all
  • make validate

@coderabbitai

coderabbitai Bot commented Jul 5, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6d2183d2-9347-4a5c-82c1-0723e4bc0998

📥 Commits

Reviewing files that changed from the base of the PR and between f767c9d and aceef8d.

📒 Files selected for processing (7)
  • .agents/plugins/marketplace.json
  • .cursor-plugin/marketplace.json
  • .cursor-plugin/plugins/agent-preflight.json
  • plugins/agent-preflight/.claude-plugin/plugin.json
  • plugins/agent-preflight/.codex-plugin/plugin.json
  • plugins/agent-preflight/README.md
  • plugins/agent-preflight/commands/agent-preflight.md
✅ Files skipped from review due to trivial changes (4)
  • plugins/agent-preflight/commands/agent-preflight.md
  • plugins/agent-preflight/README.md
  • .cursor-plugin/plugins/agent-preflight.json
  • plugins/agent-preflight/.claude-plugin/plugin.json
🚧 Files skipped from review as they are similar to previous changes (3)
  • plugins/agent-preflight/.codex-plugin/plugin.json
  • .cursor-plugin/marketplace.json
  • .agents/plugins/marketplace.json

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added a new preflight plugin and command for generating a safety receipt before agent-driven edits.
    • Introduced marketplace listings and plugin metadata so it appears in supported plugin catalogs.
    • Added user-facing documentation for setup, usage, and the preflight workflow.
  • Documentation

    • Expanded guidance on when to use the command and what information it returns.
    • Clarified the output format and the requirement to approve the receipt before making changes.

Walkthrough

Adds a new "agent-preflight" plugin across three plugin ecosystems (agents, Cursor, Claude/Codex). Includes marketplace listing entries in three marketplace JSON files, plugin manifest files declaring metadata, and README/command documentation describing a preflight safety receipt workflow.

Changes

Agent Preflight Plugin Addition

Layer / File(s) Summary
Plugin manifests and documentation
plugins/agent-preflight/.claude-plugin/plugin.json, plugins/agent-preflight/.codex-plugin/plugin.json, plugins/agent-preflight/README.md, plugins/agent-preflight/commands/agent-preflight.md
Adds plugin manifest metadata (name, version, description, author, license, skills path, UI fields) and README/command documentation describing the preflight safety receipt workflow with a four-step checklist.
Marketplace listing entries
.agents/plugins/marketplace.json, .cursor-plugin/marketplace.json, .cursor-plugin/plugins/agent-preflight.json
Registers the new agent-preflight plugin entry in the agents marketplace and Cursor marketplace listings, and adds the corresponding Cursor plugin manifest JSON.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: wshobson

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change: adding the agent preflight plugin.
Description check ✅ Passed The description accurately summarizes the new plugin, marketplace entry, and validation steps.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

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.

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.claude-plugin/marketplace.json:
- Around line 1221-1233: Remove the new agent-preflight registration from the
marketplace registry and keep .claude-plugin/marketplace.json unchanged in this
plugin PR. The issue is the PR directly edits the maintainer-controlled
registry; locate the added entry by the agent-preflight name in the marketplace
JSON and revert it so plugin registration happens only through the approved
maintainer process.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e6d40170-9137-4af2-947e-bbd96ad22f89

📥 Commits

Reviewing files that changed from the base of the PR and between 5cc2549 and f767c9d.

📒 Files selected for processing (8)
  • .agents/plugins/marketplace.json
  • .claude-plugin/marketplace.json
  • .cursor-plugin/marketplace.json
  • .cursor-plugin/plugins/agent-preflight.json
  • plugins/agent-preflight/.claude-plugin/plugin.json
  • plugins/agent-preflight/.codex-plugin/plugin.json
  • plugins/agent-preflight/README.md
  • plugins/agent-preflight/commands/agent-preflight.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (7)
plugins/**/{.claude-plugin/plugin.json,agents/*.md,skills/*/SKILL.md,commands/*.md}

📄 CodeRabbit inference engine (.cursor/rules/000-project-conventions.mdc)

Plugin files follow the structure: plugins/<name>/{.claude-plugin/plugin.json, agents/*.md, skills/<name>/SKILL.md, commands/*.md} and are auto-discovered

Files:

  • plugins/agent-preflight/.claude-plugin/plugin.json
  • plugins/agent-preflight/commands/agent-preflight.md
plugins/*/**

📄 CodeRabbit inference engine (AGENTS.md)

Keep plugin source under plugins/<name>/, with plugin names lowercase and hyphen-separated; never use __ in plugin names because it is reserved as the adapter namespace separator.

Files:

  • plugins/agent-preflight/README.md
  • plugins/agent-preflight/commands/agent-preflight.md
**/.cursor-plugin/**

📄 CodeRabbit inference engine (.cursor/rules/000-project-conventions.mdc)

Do not hand-edit anything under .cursor-plugin/ — regenerate via make generate HARNESS=<x>

Files:

  • .cursor-plugin/plugins/agent-preflight.json
  • .cursor-plugin/marketplace.json
{.codex/**,.cursor-plugin/**,.opencode/**,skills/**,agents/**,commands/**,.gemini/**,gemini-extension.json,opencode.json}

📄 CodeRabbit inference engine (AGENTS.md)

Generated harness artifacts are committed and must never be hand-edited; source-of-truth lives only under plugins/.

Files:

  • .cursor-plugin/plugins/agent-preflight.json
  • .cursor-plugin/marketplace.json
plugins/*/commands/*.md

📄 CodeRabbit inference engine (.cursor/rules/020-agent-skill-authoring.mdc)

Commands frontmatter must include: description, argument-hint

Files:

  • plugins/agent-preflight/commands/agent-preflight.md
{plugins/*/agents/*.md,plugins/*/skills/*/SKILL.md,plugins/*/commands/*.md}

📄 CodeRabbit inference engine (.cursor/rules/020-agent-skill-authoring.mdc)

{plugins/*/agents/*.md,plugins/*/skills/*/SKILL.md,plugins/*/commands/*.md}: Use action verbs in markdown body, not tool-name vocabulary: prefer "open the file" over "use the Read tool". The adapter rewrites a conservative set, but unrewritten cases may bleed through
Do not reference TodoWrite, the Task spawn tool, or hooks as load-bearing — they don't exist in Codex or Cursor

Files:

  • plugins/agent-preflight/commands/agent-preflight.md
.claude-plugin/marketplace.json

📄 CodeRabbit inference engine (.cursor/rules/000-project-conventions.mdc)

Never modify .claude-plugin/marketplace.json from inside a plugin PR — it's the registry

Files:

  • .claude-plugin/marketplace.json
🔇 Additional comments (7)
plugins/agent-preflight/.claude-plugin/plugin.json (1)

1-10: LGTM!

plugins/agent-preflight/README.md (1)

1-9: LGTM!

plugins/agent-preflight/commands/agent-preflight.md (1)

1-56: LGTM!

.agents/plugins/marketplace.json (1)

28-39: LGTM!

.cursor-plugin/marketplace.json (1)

35-45: LGTM!

.cursor-plugin/plugins/agent-preflight.json (1)

1-11: LGTM!

plugins/agent-preflight/.codex-plugin/plugin.json (1)

5-5: 🗄️ Data Integrity & Integration

No change needed
"skills": "./skills/" is part of the expected Codex manifest shape and is required across plugin manifests, even for command-only plugins.

			> Likely an incorrect or invalid review comment.

Comment thread .claude-plugin/marketplace.json Resolved
@wshobson

wshobson commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Closing after review: the plugin content funnels to an external monetized product, and its scope overlaps the existing governance plugins (signed-audit-trails, review-agent-governance). Not a fit for this marketplace. See the commercial-content policy added in #611.

@wshobson wshobson closed this Jul 7, 2026
wshobson added a commit that referenced this pull request Jul 7, 2026
* fix(cursor-rules): align marketplace.json rule with CONTRIBUTING.md

The rule 'Never modify .claude-plugin/marketplace.json from inside a
plugin PR' contradicted CONTRIBUTING.md step 3 and actual maintainer
practice, causing CodeRabbit to force revert/re-add churn on plugin PRs
(#577, #582, #596, #606). Reword to prohibit hand-editing the generated
registries instead.

* docs: fix stale component counts (194 agents, 106 commands, 158 skills, 44 plugins)

* docs(contributing): add commercial content and disclosure policy

* docs(protect-mcp): remove unverified downloads claim

npm reports ~3.2K monthly downloads, not 10K+; the README already has a
live shields.io downloads badge. Also drop the stale v0.5.5 reference
(see #601).
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