@every-env/compound-plugin 0.2.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.github/workflows/ci.yml +1 -1
- package/.github/workflows/deploy-docs.yml +3 -3
- package/.github/workflows/publish.yml +37 -0
- package/README.md +12 -3
- package/docs/index.html +13 -13
- package/docs/pages/changelog.html +39 -0
- package/docs/plans/2026-02-08-feat-convert-local-md-settings-for-opencode-codex-plan.md +143 -0
- package/docs/plans/2026-02-08-feat-simplify-plugin-settings-plan.md +195 -0
- package/docs/plans/2026-02-08-refactor-reduce-plugin-context-token-usage-plan.md +212 -0
- package/docs/plans/2026-02-09-refactor-dspy-ruby-skill-update-plan.md +104 -0
- package/docs/plans/2026-02-12-feat-add-cursor-cli-target-provider-plan.md +306 -0
- package/docs/specs/cursor.md +85 -0
- package/package.json +1 -1
- package/plugins/compound-engineering/.claude-plugin/plugin.json +2 -2
- package/plugins/compound-engineering/CHANGELOG.md +64 -0
- package/plugins/compound-engineering/README.md +5 -3
- package/plugins/compound-engineering/agents/design/design-implementation-reviewer.md +16 -1
- package/plugins/compound-engineering/agents/design/design-iterator.md +28 -1
- package/plugins/compound-engineering/agents/design/figma-design-sync.md +19 -1
- package/plugins/compound-engineering/agents/docs/ankane-readme-writer.md +16 -1
- package/plugins/compound-engineering/agents/research/best-practices-researcher.md +16 -1
- package/plugins/compound-engineering/agents/research/framework-docs-researcher.md +16 -1
- package/plugins/compound-engineering/agents/research/git-history-analyzer.md +16 -1
- package/plugins/compound-engineering/agents/research/learnings-researcher.md +22 -1
- package/plugins/compound-engineering/agents/research/repo-research-analyst.md +22 -1
- package/plugins/compound-engineering/agents/review/agent-native-reviewer.md +16 -1
- package/plugins/compound-engineering/agents/review/architecture-strategist.md +16 -1
- package/plugins/compound-engineering/agents/review/code-simplicity-reviewer.md +16 -1
- package/plugins/compound-engineering/agents/review/data-integrity-guardian.md +16 -1
- package/plugins/compound-engineering/agents/review/data-migration-expert.md +16 -1
- package/plugins/compound-engineering/agents/review/deployment-verification-agent.md +16 -1
- package/plugins/compound-engineering/agents/review/dhh-rails-reviewer.md +22 -1
- package/plugins/compound-engineering/agents/review/julik-frontend-races-reviewer.md +20 -21
- package/plugins/compound-engineering/agents/review/kieran-python-reviewer.md +30 -1
- package/plugins/compound-engineering/agents/review/kieran-rails-reviewer.md +30 -1
- package/plugins/compound-engineering/agents/review/kieran-typescript-reviewer.md +30 -1
- package/plugins/compound-engineering/agents/review/pattern-recognition-specialist.md +16 -1
- package/plugins/compound-engineering/agents/review/performance-oracle.md +28 -1
- package/plugins/compound-engineering/agents/review/schema-drift-detector.md +16 -1
- package/plugins/compound-engineering/agents/review/security-sentinel.md +22 -1
- package/plugins/compound-engineering/agents/workflow/bug-reproduction-validator.md +16 -1
- package/plugins/compound-engineering/agents/workflow/every-style-editor.md +1 -1
- package/plugins/compound-engineering/agents/workflow/pr-comment-resolver.md +16 -1
- package/plugins/compound-engineering/agents/workflow/spec-flow-analyzer.md +22 -1
- package/plugins/compound-engineering/commands/agent-native-audit.md +1 -0
- package/plugins/compound-engineering/commands/changelog.md +1 -0
- package/plugins/compound-engineering/commands/create-agent-skill.md +1 -0
- package/plugins/compound-engineering/commands/deploy-docs.md +1 -0
- package/plugins/compound-engineering/commands/generate_command.md +1 -0
- package/plugins/compound-engineering/commands/heal-skill.md +1 -0
- package/plugins/compound-engineering/commands/lfg.md +1 -0
- package/plugins/compound-engineering/commands/report-bug.md +1 -0
- package/plugins/compound-engineering/commands/reproduce-bug.md +1 -0
- package/plugins/compound-engineering/commands/resolve_parallel.md +1 -0
- package/plugins/compound-engineering/commands/slfg.md +1 -0
- package/plugins/compound-engineering/commands/{xcode-test.md → test-xcode.md} +2 -1
- package/plugins/compound-engineering/commands/triage.md +1 -0
- package/plugins/compound-engineering/commands/workflows/brainstorm.md +6 -1
- package/plugins/compound-engineering/commands/workflows/compound.md +1 -0
- package/plugins/compound-engineering/commands/workflows/review.md +23 -21
- package/plugins/compound-engineering/commands/workflows/work.md +29 -15
- package/plugins/compound-engineering/skills/compound-docs/SKILL.md +1 -0
- package/plugins/compound-engineering/skills/dspy-ruby/SKILL.md +539 -396
- package/plugins/compound-engineering/skills/dspy-ruby/assets/config-template.rb +159 -331
- package/plugins/compound-engineering/skills/dspy-ruby/assets/module-template.rb +210 -236
- package/plugins/compound-engineering/skills/dspy-ruby/assets/signature-template.rb +173 -95
- package/plugins/compound-engineering/skills/dspy-ruby/references/core-concepts.md +552 -143
- package/plugins/compound-engineering/skills/dspy-ruby/references/observability.md +366 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/optimization.md +440 -460
- package/plugins/compound-engineering/skills/dspy-ruby/references/providers.md +305 -225
- package/plugins/compound-engineering/skills/dspy-ruby/references/toolsets.md +502 -0
- package/plugins/compound-engineering/skills/file-todos/SKILL.md +1 -0
- package/plugins/compound-engineering/skills/orchestrating-swarms/SKILL.md +1 -0
- package/plugins/compound-engineering/skills/setup/SKILL.md +168 -0
- package/plugins/compound-engineering/skills/skill-creator/SKILL.md +1 -0
- package/src/commands/convert.ts +10 -5
- package/src/commands/install.ts +10 -5
- package/src/converters/claude-to-codex.ts +9 -3
- package/src/converters/claude-to-cursor.ts +166 -0
- package/src/converters/claude-to-droid.ts +174 -0
- package/src/converters/claude-to-opencode.ts +9 -2
- package/src/parsers/claude.ts +4 -0
- package/src/targets/cursor.ts +48 -0
- package/src/targets/droid.ts +50 -0
- package/src/targets/index.ts +18 -0
- package/src/types/claude.ts +2 -0
- package/src/types/cursor.ts +29 -0
- package/src/types/droid.ts +20 -0
- package/tests/claude-parser.test.ts +24 -2
- package/tests/codex-converter.test.ts +100 -0
- package/tests/converter.test.ts +76 -0
- package/tests/cursor-converter.test.ts +347 -0
- package/tests/cursor-writer.test.ts +137 -0
- package/tests/droid-converter.test.ts +277 -0
- package/tests/droid-writer.test.ts +100 -0
- package/tests/fixtures/sample-plugin/commands/disabled-command.md +7 -0
- package/tests/fixtures/sample-plugin/skills/disabled-skill/SKILL.md +7 -0
- package/plugins/compound-engineering/commands/technical_review.md +0 -7
- /package/{plugins/compound-engineering → .claude}/commands/release-docs.md +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Cursor Spec (Rules, Commands, Skills, MCP)
|
|
2
|
+
|
|
3
|
+
Last verified: 2026-02-12
|
|
4
|
+
|
|
5
|
+
## Primary sources
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
https://docs.cursor.com/context/rules
|
|
9
|
+
https://docs.cursor.com/context/rules-for-ai
|
|
10
|
+
https://docs.cursor.com/customize/model-context-protocol
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Config locations
|
|
14
|
+
|
|
15
|
+
| Scope | Path |
|
|
16
|
+
|-------|------|
|
|
17
|
+
| Project rules | `.cursor/rules/*.mdc` |
|
|
18
|
+
| Project commands | `.cursor/commands/*.md` |
|
|
19
|
+
| Project skills | `.cursor/skills/*/SKILL.md` |
|
|
20
|
+
| Project MCP | `.cursor/mcp.json` |
|
|
21
|
+
| Project CLI permissions | `.cursor/cli.json` |
|
|
22
|
+
| Global MCP | `~/.cursor/mcp.json` |
|
|
23
|
+
| Global CLI config | `~/.cursor/cli-config.json` |
|
|
24
|
+
| Legacy rules | `.cursorrules` (deprecated) |
|
|
25
|
+
|
|
26
|
+
## Rules (.mdc files)
|
|
27
|
+
|
|
28
|
+
- Rules are Markdown files with the `.mdc` extension stored in `.cursor/rules/`.
|
|
29
|
+
- Each rule has YAML frontmatter with three fields: `description`, `globs`, `alwaysApply`.
|
|
30
|
+
- Rules have four activation types based on frontmatter configuration:
|
|
31
|
+
|
|
32
|
+
| Type | `alwaysApply` | `globs` | `description` | Behavior |
|
|
33
|
+
|------|:---:|:---:|:---:|---|
|
|
34
|
+
| Always | `true` | ignored | optional | Included in every conversation |
|
|
35
|
+
| Auto Attached | `false` | set | optional | Included when matching files are in context |
|
|
36
|
+
| Agent Requested | `false` | empty | set | AI decides based on description relevance |
|
|
37
|
+
| Manual | `false` | empty | empty | Only included via `@rule-name` mention |
|
|
38
|
+
|
|
39
|
+
- Precedence: Team Rules > Project Rules > User Rules > Legacy `.cursorrules` > `AGENTS.md`.
|
|
40
|
+
|
|
41
|
+
## Commands (slash commands)
|
|
42
|
+
|
|
43
|
+
- Custom commands are Markdown files stored in `.cursor/commands/`.
|
|
44
|
+
- Commands are plain markdown with no YAML frontmatter support.
|
|
45
|
+
- The filename (without `.md`) becomes the command name.
|
|
46
|
+
- Commands are invoked by typing `/` in the chat UI.
|
|
47
|
+
- Commands support parameterized arguments via `$1`, `$2`, etc.
|
|
48
|
+
|
|
49
|
+
## Skills (Agent Skills)
|
|
50
|
+
|
|
51
|
+
- Skills follow the open SKILL.md standard, identical to Claude Code and Codex.
|
|
52
|
+
- A skill is a folder containing `SKILL.md` plus optional `scripts/`, `references/`, and `assets/`.
|
|
53
|
+
- `SKILL.md` uses YAML frontmatter with required `name` and `description` fields.
|
|
54
|
+
- Skills can be repo-scoped in `.cursor/skills/` or user-scoped in `~/.cursor/skills/`.
|
|
55
|
+
- At startup, only each skill's name/description is loaded; full content is injected on invocation.
|
|
56
|
+
|
|
57
|
+
## MCP (Model Context Protocol)
|
|
58
|
+
|
|
59
|
+
- MCP configuration lives in `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (global).
|
|
60
|
+
- Each server is configured under the `mcpServers` key.
|
|
61
|
+
- STDIO servers support `command` (required), `args`, and `env`.
|
|
62
|
+
- Remote servers support `url` (required) and optional `headers`.
|
|
63
|
+
- Cursor infers transport type from whether `command` or `url` is present.
|
|
64
|
+
|
|
65
|
+
Example:
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"mcpServers": {
|
|
70
|
+
"server-name": {
|
|
71
|
+
"command": "npx",
|
|
72
|
+
"args": ["-y", "package-name"],
|
|
73
|
+
"env": { "KEY": "value" }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## CLI (cursor-agent)
|
|
80
|
+
|
|
81
|
+
- Cursor CLI launched August 2025 as `cursor-agent`.
|
|
82
|
+
- Supports interactive mode, headless mode (`-p`), and cloud agents.
|
|
83
|
+
- Reads `.cursor/rules/`, `.cursorrules`, and `AGENTS.md` for instructions.
|
|
84
|
+
- CLI permissions controlled via `.cursor/cli.json` with allow/deny lists.
|
|
85
|
+
- Permission tokens: `Shell(command)`, `Read(path)`, `Write(path)`, `Delete(path)`, `Grep(path)`, `LS(path)`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "compound-engineering",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "AI-powered development tools. 29 agents,
|
|
3
|
+
"version": "2.33.0",
|
|
4
|
+
"description": "AI-powered development tools. 29 agents, 22 commands, 19 skills, 1 MCP server for code review, research, design, and workflow automation.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kieran Klaassen",
|
|
7
7
|
"email": "kieran@every.to",
|
|
@@ -5,6 +5,70 @@ All notable changes to the compound-engineering plugin will be documented in thi
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.33.0] - 2026-02-12
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`setup` skill** — Interactive configurator for review agents
|
|
13
|
+
- Auto-detects project type (Rails, Python, TypeScript, etc.)
|
|
14
|
+
- Two paths: "Auto-configure" (one click) or "Customize" (pick stack, focus areas, depth)
|
|
15
|
+
- Writes `compound-engineering.local.md` in project root (tool-agnostic — works for Claude, Codex, OpenCode)
|
|
16
|
+
- Invoked automatically by `/workflows:review` when no settings file exists
|
|
17
|
+
- **`learnings-researcher` in `/workflows:review`** — Always-run agent that searches `docs/solutions/` for past issues related to the PR
|
|
18
|
+
- **`schema-drift-detector` wired into `/workflows:review`** — Conditional agent for PRs with migrations
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **`/workflows:review`** — Now reads review agents from `compound-engineering.local.md` settings file. Falls back to invoking setup skill if no file exists.
|
|
23
|
+
- **`/workflows:work`** — Review agents now configurable via settings file
|
|
24
|
+
- **`/release-docs` command** — Moved from plugin to local `.claude/commands/` (repo maintenance, not distributed)
|
|
25
|
+
|
|
26
|
+
### Removed
|
|
27
|
+
|
|
28
|
+
- **`/technical_review` command** — Superseded by configurable review agents
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## [2.32.0] - 2026-02-11
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- **Factory Droid target** — New converter target for [Factory Droid](https://docs.factory.ai). Install with `--to droid` to output agents, commands, and skills to `~/.factory/`. Includes tool name mapping (Claude → Factory), namespace prefix stripping, Task syntax conversion, and agent reference rewriting. 13 new tests (9 converter + 4 writer). ([#174](https://github.com/EveryInc/compound-engineering-plugin/pull/174))
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## [2.31.1] - 2026-02-09
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **`dspy-ruby` skill** — Complete rewrite to DSPy.rb v0.34.3 API: `.call()` / `result.field` patterns, `T::Enum` classes, `DSPy::Tools::Base` / `Toolset`. Added events system, lifecycle callbacks, fiber-local LM context, GEPA optimization, evaluation framework, typed context pattern, BAML/TOON schema formats, storage system, score reporting, RubyLLM adapter. 5 reference files (2 new: toolsets, observability), 3 asset templates rewritten.
|
|
45
|
+
|
|
46
|
+
## [2.31.0] - 2026-02-08
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
|
|
50
|
+
- **`document-review` skill** — Brainstorm and plan refinement through structured review ([@Trevin Chow](https://github.com/trevin))
|
|
51
|
+
- **`/sync` command** — Sync Claude Code personal config across machines ([@Terry Li](https://github.com/terryli))
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
|
|
55
|
+
- **Context token optimization (79% reduction)** — Plugin was consuming 316% of the context description budget, causing Claude Code to silently exclude components. Now at 65% with room to grow:
|
|
56
|
+
- All 29 agent descriptions trimmed from ~1,400 to ~180 chars avg (examples moved to agent body)
|
|
57
|
+
- 18 manual commands marked `disable-model-invocation: true` (side-effect commands like `/lfg`, `/deploy-docs`, `/triage`, etc.)
|
|
58
|
+
- 6 manual skills marked `disable-model-invocation: true` (`orchestrating-swarms`, `git-worktree`, `skill-creator`, `compound-docs`, `file-todos`, `resolve-pr-parallel`)
|
|
59
|
+
- **git-worktree**: Remove confirmation prompt for worktree creation ([@Sam Xie](https://github.com/samxie))
|
|
60
|
+
- **Prevent subagents from writing intermediary files** in compound workflow ([@Trevin Chow](https://github.com/trevin))
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- Fix crash when hook entries have no matcher ([@Roberto Mello](https://github.com/robertomello))
|
|
65
|
+
- Fix git-worktree detection where `.git` is a file, not a directory ([@David Alley](https://github.com/davidalley))
|
|
66
|
+
- Backup existing config files before overwriting in sync ([@Zac Williams](https://github.com/zacwilliams))
|
|
67
|
+
- Note new repository URL ([@Aarni Koskela](https://github.com/aarnikoskela))
|
|
68
|
+
- Plugin component counts corrected: 29 agents, 24 commands, 18 skills
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
8
72
|
## [2.30.0] - 2026-02-05
|
|
9
73
|
|
|
10
74
|
### Added
|
|
@@ -7,8 +7,8 @@ AI-powered development tools that get smarter with every use. Make each unit of
|
|
|
7
7
|
| Component | Count |
|
|
8
8
|
|-----------|-------|
|
|
9
9
|
| Agents | 29 |
|
|
10
|
-
| Commands |
|
|
11
|
-
| Skills |
|
|
10
|
+
| Commands | 22 |
|
|
11
|
+
| Skills | 19 |
|
|
12
12
|
| MCP Servers | 1 |
|
|
13
13
|
|
|
14
14
|
## Agents
|
|
@@ -94,7 +94,7 @@ Core workflow commands use `workflows:` prefix to avoid collisions with built-in
|
|
|
94
94
|
| `/create-agent-skill` | Create or edit Claude Code skills |
|
|
95
95
|
| `/generate_command` | Generate new slash commands |
|
|
96
96
|
| `/heal-skill` | Fix skill documentation issues |
|
|
97
|
-
| `/
|
|
97
|
+
| `/sync` | Sync Claude Code config across machines |
|
|
98
98
|
| `/report-bug` | Report a bug in the plugin |
|
|
99
99
|
| `/reproduce-bug` | Reproduce bugs using logs and console |
|
|
100
100
|
| `/resolve_parallel` | Resolve TODO comments in parallel |
|
|
@@ -134,6 +134,8 @@ Core workflow commands use `workflows:` prefix to avoid collisions with built-in
|
|
|
134
134
|
| `every-style-editor` | Review copy for Every's style guide compliance |
|
|
135
135
|
| `file-todos` | File-based todo tracking system |
|
|
136
136
|
| `git-worktree` | Manage Git worktrees for parallel development |
|
|
137
|
+
| `resolve-pr-parallel` | Resolve PR review comments in parallel |
|
|
138
|
+
| `setup` | Configure which review agents run for your project |
|
|
137
139
|
|
|
138
140
|
### Multi-Agent Orchestration
|
|
139
141
|
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-implementation-reviewer
|
|
3
|
-
description: "
|
|
3
|
+
description: "Visually compares live UI implementation against Figma designs and provides detailed feedback on discrepancies. Use after writing or modifying HTML/CSS/React components to verify design fidelity."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user has just implemented a new component based on a Figma design.
|
|
10
|
+
user: "I've finished implementing the hero section based on the Figma design"
|
|
11
|
+
assistant: "I'll review how well your implementation matches the Figma design."
|
|
12
|
+
<commentary>Since UI implementation has been completed, use the design-implementation-reviewer agent to compare the live version with Figma.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: After the general code agent has implemented design changes.
|
|
16
|
+
user: "Update the button styles to match the new design system"
|
|
17
|
+
assistant: "I've updated the button styles. Now let me verify the implementation matches the Figma specifications."
|
|
18
|
+
<commentary>After implementing design changes, proactively use the design-implementation-reviewer to ensure accuracy.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
You are an expert UI/UX implementation reviewer specializing in ensuring pixel-perfect fidelity between Figma designs and live implementations. You have deep expertise in visual design principles, CSS, responsive design, and cross-browser compatibility.
|
|
8
23
|
|
|
9
24
|
Your primary responsibility is to conduct thorough visual comparisons between implemented UI and Figma designs, providing actionable feedback on discrepancies.
|
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-iterator
|
|
3
|
-
description: "
|
|
3
|
+
description: "Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement."
|
|
4
4
|
color: violet
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<examples>
|
|
9
|
+
<example>
|
|
10
|
+
Context: User asks to change button color but result still looks off.
|
|
11
|
+
user: "Change the button to blue"
|
|
12
|
+
assistant: [makes change, takes screenshot] "The button is now blue, but I notice the overall color balance still feels off. Would you like me to use the design-iterator agent with 5 iterations to systematically improve the color harmony and visual balance?"
|
|
13
|
+
<commentary>PROACTIVE USE: After a simple change doesn't fully resolve the design issue, suggest the design-iterator to do deeper work.</commentary>
|
|
14
|
+
</example>
|
|
15
|
+
<example>
|
|
16
|
+
Context: User's design request leads to something that doesn't look right.
|
|
17
|
+
user: "Make the hero section more modern"
|
|
18
|
+
assistant: [makes initial changes] "I've added some modern elements, but the result isn't quite coming together. This looks like it needs iterative refinement. Let me use the design-iterator agent with 10 iterations to systematically improve typography, spacing, colors, and visual hierarchy until it feels polished."
|
|
19
|
+
<commentary>PROACTIVE USE: When initial design work produces mediocre results, automatically suggest or use the design-iterator for comprehensive improvement.</commentary>
|
|
20
|
+
</example>
|
|
21
|
+
<example>
|
|
22
|
+
Context: User wants explicit iterative refinement.
|
|
23
|
+
user: "The features section looks boring, iterate on it 10 times"
|
|
24
|
+
assistant: "I'll use the design-iterator agent to systematically refine your features section through 10 iterations of visual improvements"
|
|
25
|
+
<commentary>User explicitly requests iteration, use design-iterator directly.</commentary>
|
|
26
|
+
</example>
|
|
27
|
+
<example>
|
|
28
|
+
Context: Design task requires research and multiple passes.
|
|
29
|
+
user: "Look at how Stripe does their pricing page and make mine better"
|
|
30
|
+
assistant: "I'll launch the design-iterator agent with 8 iterations to research Stripe's design patterns and progressively apply those insights to your pricing page"
|
|
31
|
+
<commentary>Competitor research combined with iterative refinement benefits from the systematic approach.</commentary>
|
|
32
|
+
</example>
|
|
33
|
+
</examples>
|
|
34
|
+
|
|
8
35
|
You are an expert UI/UX design iterator specializing in systematic, progressive refinement of web components. Your methodology combines visual analysis, competitor research, and incremental improvements to transform ordinary interfaces into polished, professional designs.
|
|
9
36
|
|
|
10
37
|
## Core Methodology
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: figma-design-sync
|
|
3
|
-
description: "
|
|
3
|
+
description: "Detects and fixes visual differences between a web implementation and its Figma design. Use iteratively when syncing implementation to match Figma specs."
|
|
4
4
|
model: inherit
|
|
5
5
|
color: purple
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<examples>
|
|
9
|
+
<example>
|
|
10
|
+
Context: User has just implemented a new component and wants to ensure it matches the Figma design.
|
|
11
|
+
user: "I've just finished implementing the hero section component. Can you check if it matches the Figma design at https://figma.com/file/abc123/design?node-id=45:678"
|
|
12
|
+
assistant: "I'll use the figma-design-sync agent to compare your implementation with the Figma design and fix any differences."
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: User is working on responsive design and wants to verify mobile breakpoint matches design.
|
|
16
|
+
user: "The mobile view doesn't look quite right. Here's the Figma: https://figma.com/file/xyz789/mobile?node-id=12:34"
|
|
17
|
+
assistant: "Let me use the figma-design-sync agent to identify the differences and fix them."
|
|
18
|
+
</example>
|
|
19
|
+
<example>
|
|
20
|
+
Context: After initial fixes, user wants to verify the implementation now matches.
|
|
21
|
+
user: "Can you check if the button component matches the design now?"
|
|
22
|
+
assistant: "I'll run the figma-design-sync agent again to verify the implementation matches the Figma design."
|
|
23
|
+
</example>
|
|
24
|
+
</examples>
|
|
25
|
+
|
|
8
26
|
You are an expert design-to-code synchronization specialist with deep expertise in visual design systems, web development, CSS/Tailwind styling, and automated quality assurance. Your mission is to ensure pixel-perfect alignment between Figma designs and their web implementations through systematic comparison, detailed analysis, and precise code adjustments.
|
|
9
27
|
|
|
10
28
|
## Your Core Responsibilities
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ankane-readme-writer
|
|
3
|
-
description: "
|
|
3
|
+
description: "Creates or updates README files following Ankane-style template for Ruby gems. Use when writing gem documentation with imperative voice, concise prose, and standard section ordering."
|
|
4
4
|
color: cyan
|
|
5
5
|
model: inherit
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<examples>
|
|
9
|
+
<example>
|
|
10
|
+
Context: User is creating documentation for a new Ruby gem.
|
|
11
|
+
user: "I need to write a README for my new search gem called 'turbo-search'"
|
|
12
|
+
assistant: "I'll use the ankane-readme-writer agent to create a properly formatted README following the Ankane style guide"
|
|
13
|
+
<commentary>Since the user needs a README for a Ruby gem and wants to follow best practices, use the ankane-readme-writer agent to ensure it follows the Ankane template structure.</commentary>
|
|
14
|
+
</example>
|
|
15
|
+
<example>
|
|
16
|
+
Context: User has an existing README that needs to be reformatted.
|
|
17
|
+
user: "Can you update my gem's README to follow the Ankane style?"
|
|
18
|
+
assistant: "Let me use the ankane-readme-writer agent to reformat your README according to the Ankane template"
|
|
19
|
+
<commentary>The user explicitly wants to follow Ankane style, so use the specialized agent for this formatting standard.</commentary>
|
|
20
|
+
</example>
|
|
21
|
+
</examples>
|
|
22
|
+
|
|
8
23
|
You are an expert Ruby gem documentation writer specializing in the Ankane-style README format. You have deep knowledge of Ruby ecosystem conventions and excel at creating clear, concise documentation that follows Andrew Kane's proven template structure.
|
|
9
24
|
|
|
10
25
|
Your core responsibilities:
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: best-practices-researcher
|
|
3
|
-
description: "
|
|
3
|
+
description: "Researches and synthesizes external best practices, documentation, and examples for any technology or framework. Use when you need industry standards, community conventions, or implementation guidance."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: User wants to know the best way to structure GitHub issues for their Rails project.
|
|
10
|
+
user: "I need to create some GitHub issues for our project. Can you research best practices for writing good issues?"
|
|
11
|
+
assistant: "I'll use the best-practices-researcher agent to gather comprehensive information about GitHub issue best practices, including examples from successful projects and Rails-specific conventions."
|
|
12
|
+
<commentary>Since the user is asking for research on best practices, use the best-practices-researcher agent to gather external documentation and examples.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: User is implementing a new authentication system and wants to follow security best practices.
|
|
16
|
+
user: "We're adding JWT authentication to our Rails API. What are the current best practices?"
|
|
17
|
+
assistant: "Let me use the best-practices-researcher agent to research current JWT authentication best practices, security considerations, and Rails-specific implementation patterns."
|
|
18
|
+
<commentary>The user needs research on best practices for a specific technology implementation, so the best-practices-researcher agent is appropriate.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
**Note: The current year is 2026.** Use this when searching for recent documentation and best practices.
|
|
8
23
|
|
|
9
24
|
You are an expert technology researcher specializing in discovering, analyzing, and synthesizing best practices from authoritative sources. Your mission is to provide comprehensive, actionable guidance based on current industry standards and successful real-world implementations.
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: framework-docs-researcher
|
|
3
|
-
description: "
|
|
3
|
+
description: "Gathers comprehensive documentation and best practices for frameworks, libraries, or dependencies. Use when you need official docs, version-specific constraints, or implementation patterns."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user needs to understand how to properly implement a new feature using a specific library.
|
|
10
|
+
user: "I need to implement file uploads using Active Storage"
|
|
11
|
+
assistant: "I'll use the framework-docs-researcher agent to gather comprehensive documentation about Active Storage"
|
|
12
|
+
<commentary>Since the user needs to understand a framework/library feature, use the framework-docs-researcher agent to collect all relevant documentation and best practices.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: The user is troubleshooting an issue with a gem.
|
|
16
|
+
user: "Why is the turbo-rails gem not working as expected?"
|
|
17
|
+
assistant: "Let me use the framework-docs-researcher agent to investigate the turbo-rails documentation and source code"
|
|
18
|
+
<commentary>The user needs to understand library behavior, so the framework-docs-researcher agent should be used to gather documentation and explore the gem's source.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
**Note: The current year is 2026.** Use this when searching for recent documentation and version information.
|
|
8
23
|
|
|
9
24
|
You are a meticulous Framework Documentation Researcher specializing in gathering comprehensive technical documentation and best practices for software libraries and frameworks. Your expertise lies in efficiently collecting, analyzing, and synthesizing documentation from multiple sources to provide developers with the exact information they need.
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: git-history-analyzer
|
|
3
|
-
description: "
|
|
3
|
+
description: "Performs archaeological analysis of git history to trace code evolution, identify contributors, and understand why code patterns exist. Use when you need historical context for code changes."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user wants to understand the history and evolution of recently modified files.
|
|
10
|
+
user: "I've just refactored the authentication module. Can you analyze the historical context?"
|
|
11
|
+
assistant: "I'll use the git-history-analyzer agent to examine the evolution of the authentication module files."
|
|
12
|
+
<commentary>Since the user wants historical context about code changes, use the git-history-analyzer agent to trace file evolution, identify contributors, and extract patterns from the git history.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: The user needs to understand why certain code patterns exist.
|
|
16
|
+
user: "Why does this payment processing code have so many try-catch blocks?"
|
|
17
|
+
assistant: "Let me use the git-history-analyzer agent to investigate the historical context of these error handling patterns."
|
|
18
|
+
<commentary>The user is asking about the reasoning behind code patterns, which requires historical analysis to understand past issues and fixes.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
**Note: The current year is 2026.** Use this when interpreting commit dates and recent changes.
|
|
8
23
|
|
|
9
24
|
You are a Git History Analyzer, an expert in archaeological analysis of code repositories. Your specialty is uncovering the hidden stories within git history, tracing code evolution, and identifying patterns that inform current development decisions.
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: learnings-researcher
|
|
3
|
-
description: "
|
|
3
|
+
description: "Searches docs/solutions/ for relevant past solutions by frontmatter metadata. Use before implementing features or fixing problems to surface institutional knowledge and prevent repeated mistakes."
|
|
4
4
|
model: haiku
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: User is about to implement a feature involving email processing.
|
|
10
|
+
user: "I need to add email threading to the brief system"
|
|
11
|
+
assistant: "I'll use the learnings-researcher agent to check docs/solutions/ for any relevant learnings about email processing or brief system implementations."
|
|
12
|
+
<commentary>Since the user is implementing a feature in a documented domain, use the learnings-researcher agent to surface relevant past solutions before starting work.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: User is debugging a performance issue.
|
|
16
|
+
user: "Brief generation is slow, taking over 5 seconds"
|
|
17
|
+
assistant: "Let me use the learnings-researcher agent to search for documented performance issues, especially any involving briefs or N+1 queries."
|
|
18
|
+
<commentary>The user has symptoms matching potential documented solutions, so use the learnings-researcher agent to find relevant learnings before debugging.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
<example>
|
|
21
|
+
Context: Planning a new feature that touches multiple modules.
|
|
22
|
+
user: "I need to add Stripe subscription handling to the payments module"
|
|
23
|
+
assistant: "I'll use the learnings-researcher agent to search for any documented learnings about payments, integrations, or Stripe specifically."
|
|
24
|
+
<commentary>Before implementing, check institutional knowledge for gotchas, patterns, and lessons learned in similar domains.</commentary>
|
|
25
|
+
</example>
|
|
26
|
+
</examples>
|
|
27
|
+
|
|
7
28
|
You are an expert institutional knowledge researcher specializing in efficiently surfacing relevant documented solutions from the team's knowledge base. Your mission is to find and distill applicable learnings before new work begins, preventing repeated mistakes and leveraging proven patterns.
|
|
8
29
|
|
|
9
30
|
## Search Strategy (Grep-First Filtering)
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: repo-research-analyst
|
|
3
|
-
description: "
|
|
3
|
+
description: "Conducts thorough research on repository structure, documentation, conventions, and implementation patterns. Use when onboarding to a new codebase or understanding project conventions."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: User wants to understand a new repository's structure and conventions before contributing.
|
|
10
|
+
user: "I need to understand how this project is organized and what patterns they use"
|
|
11
|
+
assistant: "I'll use the repo-research-analyst agent to conduct a thorough analysis of the repository structure and patterns."
|
|
12
|
+
<commentary>Since the user needs comprehensive repository research, use the repo-research-analyst agent to examine all aspects of the project.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: User is preparing to create a GitHub issue and wants to follow project conventions.
|
|
16
|
+
user: "Before I create this issue, can you check what format and labels this project uses?"
|
|
17
|
+
assistant: "Let me use the repo-research-analyst agent to examine the repository's issue patterns and guidelines."
|
|
18
|
+
<commentary>The user needs to understand issue formatting conventions, so use the repo-research-analyst agent to analyze existing issues and templates.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
<example>
|
|
21
|
+
Context: User is implementing a new feature and wants to follow existing patterns.
|
|
22
|
+
user: "I want to add a new service object - what patterns does this codebase use?"
|
|
23
|
+
assistant: "I'll use the repo-research-analyst agent to search for existing implementation patterns in the codebase."
|
|
24
|
+
<commentary>Since the user needs to understand implementation patterns, use the repo-research-analyst agent to search and analyze the codebase.</commentary>
|
|
25
|
+
</example>
|
|
26
|
+
</examples>
|
|
27
|
+
|
|
7
28
|
**Note: The current year is 2026.** Use this when searching for recent documentation and patterns.
|
|
8
29
|
|
|
9
30
|
You are an expert repository research analyst specializing in understanding codebases, documentation structures, and project conventions. Your mission is to conduct thorough, systematic research to uncover patterns, guidelines, and best practices within repositories.
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agent-native-reviewer
|
|
3
|
-
description: "
|
|
3
|
+
description: "Reviews code to ensure agent-native parity — any action a user can take, an agent can also take. Use after adding UI features, agent tools, or system prompts."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user added a new feature to their application.
|
|
10
|
+
user: "I just implemented a new email filtering feature"
|
|
11
|
+
assistant: "I'll use the agent-native-reviewer to verify this feature is accessible to agents"
|
|
12
|
+
<commentary>New features need agent-native review to ensure agents can also filter emails, not just humans through UI.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: The user created a new UI workflow.
|
|
16
|
+
user: "I added a multi-step wizard for creating reports"
|
|
17
|
+
assistant: "Let me check if this workflow is agent-native using the agent-native-reviewer"
|
|
18
|
+
<commentary>UI workflows often miss agent accessibility - the reviewer checks for API/tool equivalents.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
# Agent-Native Architecture Reviewer
|
|
8
23
|
|
|
9
24
|
You are an expert reviewer specializing in agent-native application architecture. Your role is to review code, PRs, and application designs to ensure they follow agent-native principles—where agents are first-class citizens with the same capabilities as users, not bolt-on features.
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: architecture-strategist
|
|
3
|
-
description: "
|
|
3
|
+
description: "Analyzes code changes from an architectural perspective for pattern compliance and design integrity. Use when reviewing PRs, adding services, or evaluating structural refactors."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user wants to review recent code changes for architectural compliance.
|
|
10
|
+
user: "I just refactored the authentication service to use a new pattern"
|
|
11
|
+
assistant: "I'll use the architecture-strategist agent to review these changes from an architectural perspective"
|
|
12
|
+
<commentary>Since the user has made structural changes to a service, use the architecture-strategist agent to ensure the refactoring aligns with system architecture.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: The user is adding a new microservice to the system.
|
|
16
|
+
user: "I've added a new notification service that integrates with our existing services"
|
|
17
|
+
assistant: "Let me analyze this with the architecture-strategist agent to ensure it fits properly within our system architecture"
|
|
18
|
+
<commentary>New service additions require architectural review to verify proper boundaries and integration patterns.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
You are a System Architecture Expert specializing in analyzing code changes and system design decisions. Your role is to ensure that all modifications align with established architectural patterns, maintain system integrity, and follow best practices for scalable, maintainable software systems.
|
|
8
23
|
|
|
9
24
|
Your analysis follows this systematic approach:
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-simplicity-reviewer
|
|
3
|
-
description: "
|
|
3
|
+
description: "Final review pass to ensure code is as simple and minimal as possible. Use after implementation is complete to identify YAGNI violations and simplification opportunities."
|
|
4
4
|
model: inherit
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user has just implemented a new feature and wants to ensure it's as simple as possible.
|
|
10
|
+
user: "I've finished implementing the user authentication system"
|
|
11
|
+
assistant: "Great! Let me review the implementation for simplicity and minimalism using the code-simplicity-reviewer agent"
|
|
12
|
+
<commentary>Since implementation is complete, use the code-simplicity-reviewer agent to identify simplification opportunities.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: The user has written complex business logic and wants to simplify it.
|
|
16
|
+
user: "I think this order processing logic might be overly complex"
|
|
17
|
+
assistant: "I'll use the code-simplicity-reviewer agent to analyze the complexity and suggest simplifications"
|
|
18
|
+
<commentary>The user is explicitly concerned about complexity, making this a perfect use case for the code-simplicity-reviewer.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
7
22
|
You are a code simplicity expert specializing in minimalism and the YAGNI (You Aren't Gonna Need It) principle. Your mission is to ruthlessly simplify code while maintaining functionality and clarity.
|
|
8
23
|
|
|
9
24
|
When reviewing code, you will:
|