PromptDeck for Cursor
A deck of one-click AI prompts for Cursor: architecture diagrams, mental models, bug hunts, security reviews, tests, and your own custom prompts — all from a sidebar.
Features
| Action |
What it does |
| Architecture Diagram |
Mermaid architecture map of modules & boundaries |
| Mental Model Diagram |
Concept / flow diagram for how the system works |
| Data Flow Diagram |
End-to-end data movement |
| Find Bugs |
Focused defect & edge-case review |
| Security Review |
Auth, injection, secrets, trust boundaries |
| Explain Code |
Plain-language walkthrough |
| Generate Tests |
Practical tests in repo style |
| Refactor Plan |
Safe incremental cleanup plan |
| Custom actions |
Your prompts — click → Cursor / chat |
Also available from the Command Palette, editor context menu, and explorer context menu.
Install
From Marketplace
Search PromptDeck for Cursor in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) and click Install.
From VSIX
- Download the
.vsix
- Extensions →
… → Install from VSIX…
Usage
- Open the PromptDeck icon in the Activity Bar
- Click an action (or add your own with +)
- Review the prompt in Cursor Chat / Composer and submit
Custom actions
UI: PromptDeck → + → name + prompt.
settings.json:
{
"cursorActionPad.customActions": [
{
"id": "write-adr",
"label": "Write ADR",
"description": "Architecture decision record",
"icon": "book",
"prompt": "Write an ADR for the decision implied by {{relativeFile}}.\n\nContext:\n{{selection}}"
}
]
}
Prompt tokens
| Token |
Meaning |
{{workspace}} |
Workspace folder name |
{{file}} |
Absolute path of focus file |
{{relativeFile}} |
Path relative to workspace |
{{selection}} |
Selection, or whole active file |
{{openFiles}} |
List of open editors |
Settings
| Setting |
Default |
Description |
cursorActionPad.customActions |
[] |
Custom sidebar actions |
cursorActionPad.autoSubmit |
false |
Try to submit after paste |
cursorActionPad.chatOpenDelayMs |
150 |
Delay before paste |
cursorActionPad.includeSelection |
true |
Include selection/file text |
cursorActionPad.includeOpenFiles |
true |
Mention open editors |
Requirements
Works best in Cursor. In VS Code it falls back to clipboard / chat when available.
License
MIT