Repository navigation
Add agent preflight plugin - #606
el-zachariah wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
✅ Files skipped from review due to trivial changes (4)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds 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. ChangesAgent Preflight Plugin Addition
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify 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. Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (8)
.agents/plugins/marketplace.json.claude-plugin/marketplace.json.cursor-plugin/marketplace.json.cursor-plugin/plugins/agent-preflight.jsonplugins/agent-preflight/.claude-plugin/plugin.jsonplugins/agent-preflight/.codex-plugin/plugin.jsonplugins/agent-preflight/README.mdplugins/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.jsonplugins/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.mdplugins/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 viamake 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 referenceTodoWrite, theTaskspawn 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.jsonfrom 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 & IntegrationNo 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.
2a133ad to
aceef8d
Compare
|
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. |
* 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).
Summary
agent-preflightClaude Code plugin command for producing a repo safety receipt before AI-agent editsValidation