Ask HN:你用 Claude Code 还是 Cursor 的斜杠命令?

1作者: alexoberneyer8 个月前
通过斜杠命令(比如在 Claude Code 或 Cursor 中)实现可复用提示的想法很棒。但在实际使用中,我发现自己需要在不同的工具之间切换——Claude Code、Cursor、Codex、Gemini 等。<p>我懒得为每个工具维护一个单独的斜杠命令文件。难道一个更通用的提示库(比如 Raycast 代码片段)不是更实用吗?<p>很好奇其他人的看法——你们经常使用这些斜杠命令吗,还是更喜欢集中式的提示/代码片段系统?
查看原文
The idea of reusable prompts via slash commands (like in Claude Code or Cursor) is great. But in practice, I find myself switching between different tools—Claude Code, Cursor, Codex, Gemini, etc.<p>I am to lazy to maintain a separate &#x2F;command file for each tool. Wouldn’t a more general prompt library (e.g. Raycast snippets) be more practical?<p>Curious to hear from others—do you use these slash commands regularly, or do you prefer a centralized prompt&#x2F;snippet system?