|
1 | | -# Agent Compatibility Cursor Plugin |
| 1 | +# Agent Compatibility |
2 | 2 |
|
3 | | -This is a thin Cursor plugin that wraps the published `agent-compatibility` CLI. |
| 3 | +Cursor plugin for checking how well a repo holds up under agent workflows. It pairs the published `agent-compatibility` CLI with focused reviews for startup, validation, and docs reliability. |
4 | 4 |
|
5 | | -The top-level skill is intentionally thin. It coordinates one subagent per check and then synthesizes the results. |
| 5 | +By default, the full pass returns one overall score and one short list of the highest-leverage fixes. If the user wants the full breakdown, the agents can expose the component scores and the reasoning behind them. |
6 | 6 |
|
7 | | -All review agents are expected to return the same basic shape in **plain text** (no markdown code fences or heading syntax): |
| 7 | +## What it includes |
8 | 8 |
|
9 | | -- First line: `<Score Name>: <score>/100` |
10 | | -- Short summary paragraph |
11 | | -- Line `Problems` then one issue per line prefixed with `- ` |
| 9 | +- `check-agent-compatibility`: full compatibility pass |
| 10 | +- `compatibility-scan-review`: raw CLI-backed scan |
| 11 | +- `startup-review`: cold-start and bootstrap review |
| 12 | +- `validation-review`: small-change verification review |
| 13 | +- `docs-reliability-review`: docs reliability review |
12 | 14 |
|
13 | | -The orchestration skill (`run-agent-compatabilty`) answers the user with a minimal markdown result: one `## Agent Compatibility Score: N/100` heading and one flat `Problems / suggestions` list, with no formula or component scores unless the user asks for a breakdown. |
| 15 | +## Score model |
14 | 16 |
|
15 | | -## What is in here |
| 17 | +- `Agent Compatibility Score`: final blended score shown to the user |
| 18 | +- `Deterministic Compatibility Score`: raw score from the published CLI |
| 19 | +- `Startup Compatibility Score`: how much guesswork it takes to boot the repo |
| 20 | +- `Validation Loop Score`: how practical it is to verify a small change |
| 21 | +- `Docs Reliability Score`: how closely the docs match the real setup path |
16 | 22 |
|
17 | | -- `.cursor-plugin/plugin.json`: plugin manifest |
18 | | -- `skills/run-agent-compatabilty/SKILL.md`: thin orchestration skill for the full pass |
19 | | -- `agents/deterministic-scan-review.md`: deterministic CLI scan agent |
20 | | -- `agents/startup-review.md`: startup verification agent |
21 | | -- `agents/validation-review.md`: validation-loop agent |
22 | | -- `agents/docs-reality-review.md`: docs-vs-reality agent |
| 23 | +The final score blends the deterministic scan with the workflow checks: |
23 | 24 |
|
24 | | -## How it works |
| 25 | +```text |
| 26 | +Agent Compatibility Score = round((deterministic * 0.7) + (workflow * 0.3)) |
| 27 | +``` |
| 28 | + |
| 29 | +The CLI also reports an accelerator layer for committed agent tooling. That extra context informs recommendations, but it does not inflate the deterministic compatibility score itself. |
| 30 | + |
| 31 | +## How to use it |
| 32 | + |
| 33 | +Use `check-agent-compatibility` when you want the full pass. That skill fans out to the four review agents above, then returns a compact result: |
| 34 | + |
| 35 | +```md |
| 36 | +## Agent Compatibility Score: 72/100 |
| 37 | + |
| 38 | +Top fixes |
| 39 | +- First issue |
| 40 | +- Second issue |
| 41 | +``` |
| 42 | + |
| 43 | +Ask for a breakdown if you want the component scores or the weighting. |
| 44 | + |
| 45 | +## CLI notes |
| 46 | + |
| 47 | +The plugin does not bundle the scanner. It runs the published npm package when needed. |
| 48 | + |
| 49 | +Default scan (compact terminal dashboard): |
| 50 | + |
| 51 | +```bash |
| 52 | +npx -y agent-compatibility@latest . |
| 53 | +``` |
25 | 54 |
|
26 | | -The plugin does not embed the scanner. It expects Cursor to run the published npm package when needed: |
| 55 | +JSON output: |
27 | 56 |
|
28 | 57 | ```bash |
29 | 58 | npx -y agent-compatibility@latest --json . |
30 | 59 | ``` |
31 | 60 |
|
32 | | -Or, when a Markdown report is easier to reason about: |
| 61 | +Markdown output: |
33 | 62 |
|
34 | 63 | ```bash |
35 | 64 | npx -y agent-compatibility@latest --md . |
36 | 65 | ``` |
37 | 66 |
|
38 | | -## Local install |
39 | | - |
40 | | -If you want to use this plugin directly, symlink this plugin directory into: |
| 67 | +Plain text output: |
41 | 68 |
|
42 | 69 | ```bash |
43 | | -~/.cursor/plugins/local/agent-compatibility |
| 70 | +npx -y agent-compatibility@latest --text . |
44 | 71 | ``` |
45 | 72 |
|
46 | | -## Recommended usage |
47 | | - |
48 | | -Use `run-agent-compatabilty` when you want the full pass. That skill should fan out to: |
| 73 | +Config override for ignored paths or weight overrides: |
49 | 74 |
|
50 | | -- `deterministic-scan-review` |
51 | | -- `startup-review` |
52 | | -- `validation-review` |
53 | | -- `docs-reality-review` |
| 75 | +```bash |
| 76 | +npx -y agent-compatibility@latest . --config ./agent-compatibility.config.json |
| 77 | +``` |
54 | 78 |
|
55 | | -The score names should be: |
| 79 | +The scanner is heuristic. It scores repo signals and surfaces likely friction, but it is not a full quality verdict on the codebase. |
56 | 80 |
|
57 | | -- `Agent Compatibility Score` |
58 | | -- `Startup Compatibility Score` |
59 | | -- `Validation Loop Score` |
60 | | -- `Docs Reality Score` |
| 81 | +## Local install |
61 | 82 |
|
62 | | -## Notes |
| 83 | +If you want to use this plugin directly, symlink this directory into: |
63 | 84 |
|
64 | | -- The top-level synthesis combines both layers: |
65 | | - - it computes an internal workflow score from startup, validation, and docs-reality |
66 | | - - `Agent Compatibility Score` = `round((deterministic * 0.7) + (workflow * 0.3))` |
67 | | -- The default final user-facing output is intentionally simple: one `Agent Compatibility Score` heading and one flat prioritized `Problems / suggestions` list, with no calculation shown. |
68 | | -- The skill is intentionally thin. The agents do the work. |
69 | | -- The CLI remains the scoring engine. |
70 | | -- If you later want tighter integration, the next step is an MCP server that exposes the scanner as structured tools instead of shell commands. |
| 85 | +```bash |
| 86 | +~/.cursor/plugins/local/agent-compatibility |
| 87 | +``` |
0 commit comments