TextDeck for developers
Your code-review prompt, your refactor prompt, your docs prompt — they are all templates waiting to happen.
The pain
Re-typing context every time
Every code review starts with "review this code for best practices and potential bugs. Language: X. Framework: Y." Every time. By month three, you hate yourself.
Losing good prompts across projects
The really good test-generation prompt you wrote last sprint is gone. You can vaguely remember it involved "table-driven tests" and "edge cases" and that is it.
Switching between models for different tasks
You use Claude for architecture, ChatGPT for regex, Gemini for doc generation — and you end up maintaining three sets of prompts in three tools. Or none of them anywhere.
Three TextDeck workflows
Code review on demand
Template: "Review this {{language}} code for best practices, potential bugs, and performance issues. Focus: {{focus_areas}}. Code: {{code}}". Press ⇧⌘P, paste code, done.
Test generation
Template for generating unit tests or integration tests with {{language}}, {{framework}}, and {{test_style}} variables. Kick out a full test file in under a minute.
Commit message assistant
A template that takes {{diff}} and your {{convention}} (conventional commits, imperative mood, etc.) and outputs a clean commit message — piped back into git commit.
Example prompt templates
Code review
Review the following {{language}} code for correctness, performance, and best practices. Framework: {{framework}}. Focus areas: {{focus_areas}}.
Code:
```{{language}}
{{code}}
```Explain this regex
Explain this regex step by step. What strings does it match and what does it reject? Target language: {{language}}.
Regex: {{regex}}Refactor for readability
Refactor this {{language}} function for readability without changing behavior. Preserve the public signature. Add short inline comments only where the intent is non-obvious.
```{{language}}
{{code}}
```FAQ
Can I trigger TextDeck from my IDE?
Yes — the global hotkey ⇧⌘P works from any app on macOS, including VS Code, JetBrains IDEs, Xcode, Zed, Cursor, and terminal editors. The finished prompt lands on your clipboard; you paste it into whichever AI chat you are using.
Does TextDeck integrate with GitHub Copilot or Cursor?
Not directly. TextDeck is model-agnostic — it produces a prompt string, and you paste it wherever you want. For Copilot-style inline completions, the Copilot/Cursor extensions already handle that. TextDeck is for the cases where you want to hand-craft a longer prompt and send it to a chat model.
Is there a CLI or shortcuts integration?
CLI and Shortcuts integration are both on the roadmap. For now, the app + hotkey is the main interface.