Add Cursor CLI as target provider #179
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
cursoras a fourth target provider alongsideopencode,codex, anddroid--to cursorfor bothconvertandinstallCLI commands.cursor/rules/*.mdc(Agent Requested mode,alwaysApply: false).cursor/commands/*.md(plain markdown, no frontmatter).cursor/skills/(identical SKILL.md standard, copied directly).cursor/mcp.json(compatible JSON format)Key Decisions
alwaysApply: falsewithdescriptionset, so Cursor's AI activates rules on demand rather than flooding context with all 29 agentsworkflows:plan→plan) are deduplicated if collisions occurconsole.warnsince Cursor has no hook systemNew Files
src/types/cursor.ts— Bundle typessrc/converters/claude-to-cursor.ts— Converter with content transformationsrc/targets/cursor.ts— Writer with double-nesting guardtests/cursor-converter.test.ts— 20 converter teststests/cursor-writer.test.ts— 5 writer testsdocs/specs/cursor.md— Cursor CLI format referenceTest Plan
.claude/→.cursor/, Task calls, slash commands, @agent refsPost-Deploy Monitoring & Validation
No additional operational monitoring required: this is a new converter target with no production runtime impact. Users opt-in via
--to cursor.