cursor-cli
bởi pyavchik
Coding Agents & IDEsTóm tắt
Use Cursor editor and Cursor agent for coding tasks.
Mô tả
Kỹ năng này làm gì
Provides command-line access to the Cursor editor and its AI coding assistant. Opens files at specific lines, runs side-by-side diffs, and queries the Cursor agent for code explanations or reviews from the terminal.
Lets you invoke Cursor's AI assistant from the command line or scripts without manually navigating the GUI.
Khi nào nên dùng
- Open a source file at the exact line where a bug was reported
- Ask the AI assistant to explain an unfamiliar function
- Request a code review on a specific block before committing
- Compare two versions of a file with a visual diff
- Invoke the AI coding assistant from a script or automation
Quy trình ví dụ
User asks: Review this function for potential bugs
- 1
Run cursor-agent with the review prompt and text output format
- 2
Agent analyzes the provided code context
- 3
Wait for the response (30-120 seconds for complex tasks)
- 4
Receive plain text output with findings
A list of potential bugs or issues found in the function
Yêu cầu
- Cursor editor installed (provides the cursor binary)
- cursor-agent binary installed
- Cursor Pro subscription for full AI capabilities
Cài đặt
clawhub install pyavchik/cursor-cliChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.