Skip to content

Add quick-prompt extension#19016

Closed
wenyuanw wants to merge 6 commits intoraycast:mainfrom
wenyuanw:ext/quick-prompt
Closed

Add quick-prompt extension#19016
wenyuanw wants to merge 6 commits intoraycast:mainfrom
wenyuanw:ext/quick-prompt

Conversation

@wenyuanw
Copy link
Copy Markdown

@wenyuanw wenyuanw commented May 8, 2025

Description

An efficient prompt management and quick input extension for Raycast, integrating comprehensive features such as quick input, creation, editing, deletion, enabling/disabling, and supporting local file and remote URL data synchronization, making prompt management and input more convenient and efficient.

Screencast

quick-prompt-clip.mov

Checklist

- 🐳 chore: 格式化代码
- ✨ feat: 增强提示过滤功能,支持根据标题、内容和标签进行搜索
- ✨ feat: 优化提示创建和编辑功能,移除无效标签
- ✨ feat: 优化提示管理功能
- 🔧 fix: 更新扩展图标文件
- ✨ feat: 添加导入和导出提示词功能
- 🐳 chore: 添加许可协议
- init: 添加初始版本的 Raycast 扩展,包括提示管理和快速输入功能
@raycastbot raycastbot added the new extension Label for PRs with new extensions label May 8, 2025
@raycastbot
Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

@wenyuanw wenyuanw marked this pull request as ready for review May 8, 2025 07:52
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR introduces a comprehensive Quick Prompt extension for managing and quickly accessing prompts, with features for creation, editing, deletion, and import/export capabilities.

  • The README and code comments are in Chinese, which should be translated to English as Raycast only supports US English
  • Package.json includes tools but lacks required ai with evals configuration according to guidelines
  • The metadata folder with screenshots is missing despite having view commands in package.json
  • The copyright year in LICENSE is set to 2025 which is in the future
  • The extension would benefit from adding subtitle to commands to show the service name (Quick Prompt) for better context

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

28 file(s) reviewed, 28 comment(s)
Edit PR Review Bot Settings | Greptile

wenyuanw added 2 commits May 8, 2025 16:30
- ✨ feat: 在 package.json 中添加 "Developer Tools" 类别,并新增快速提示图片文件
- ✨ feat: 使用 showFailureToast 统一错误提示
- 🐳 chore: CHANGELOG 更新
- ✨ feat: 添加英文 README 文件
@wenyuanw
Copy link
Copy Markdown
Author

wenyuanw commented May 8, 2025

@greptileai

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

(updates since last review)

The PR adds significant updates to the Quick Prompt extension, focusing on error handling improvements and code structure refinements.

  • CHANGELOG.md needs to use {PR_MERGE_DATE} template string instead of hardcoded "2025-05-08" and entries should be in English
  • Error handling in utils.ts should be improved to properly propagate errors instead of silently returning undefined
  • The showFailureToast utility from @raycast/utils is now consistently used across components, but some error cases could be more specific
  • The getSelectedText() function should be wrapped in proper error handling with user-friendly messages
  • The ImportPromptsAction component could benefit from additional security checks for URL imports

11 file(s) reviewed, 9 comment(s)
Edit PR Review Bot Settings | Greptile

wenyuanw added 3 commits May 8, 2025 17:52
- 🐳 chore: 格式化
- 🎈 perf: code smell
- ✨ feat: add ai evals
- chore: 格式化
- ✨ feat: 引入 PromptFormValues 类型以简化创建和编辑提示的参数结构
@pernielsentikaer
Copy link
Copy Markdown
Collaborator

This feels a bit like Promptlab by @SKaplanOfficial, did you check that one out?

@pernielsentikaer pernielsentikaer self-assigned this May 14, 2025
@wenyuanw
Copy link
Copy Markdown
Author

Thank you for the valuable feedback! I appreciate you pointing out PromptLab.

While both extensions deal with prompts, Quick Prompt and PromptLab serve fundamentally different purposes and target different use cases:

Core Purpose

Quick Prompt: A straightforward prompt management and quick input tool designed for efficiently storing, organizing, and applying text snippets across applications.
PromptLab: A sophisticated AI command creation system for building contextually-aware AI interactions using placeholders, scripts, and autonomous features.

Key Functional Differences

Scope and Complexity

Quick Prompt: Focused on simple prompt management (create, edit, delete, enable/disable) and quick application of stored text.
PromptLab: Focused on creating complex AI commands with contextual awareness through extensive placeholder system.

Target Use Case

Quick Prompt: For users who need quick access to frequently used text snippets
PromptLab: For users building complex AI-powered workflows and commands

Summary

Quick Prompt is a lightweight text snippet manager optimized for prompt reuse and management, while PromptLab is a sophisticated AI command creation system with extensive contextual awareness and scripting capabilities. They serve complementary purposes in different areas of productivity, with minimal functional overlap.

Thanks again for helping improve the quality of the Raycast Store!

@pernielsentikaer
Copy link
Copy Markdown
Collaborator

Another one that might do the same is Prompt Stash, it feels more similar to yours - could that work for you

@wenyuanw
Copy link
Copy Markdown
Author

Thank you sincerely for your thoughtful feedback regarding the similarities with Prompt Stash. I truly value your expertise in this review process.

While I understand your concerns about overlap, I would like to respectfully highlight some key differences in Quick Prompt:

  1. Dedicated Management Interface: Quick Prompt offers a specialized prompt management experience designed with careful attention to user workflow.

  2. Import/Export Capabilities: The extension includes thoughtfully implemented import/export functionality for seamless data portability.

  3. AI Tools Integration: Quick Prompt has been developed with Raycast AI tools support, which I believe adds meaningful value for users.

  4. Distinct User Experience: The interaction patterns were crafted with close attention to providing a unique and intuitive experience.

If I were to implement these features within Prompt Stash instead, it would require essentially restructuring the entire extension—a task requiring significant effort almost equivalent to creating a new extension from scratch. This is why I'm hopeful that Quick Prompt might be considered on its own merits.

I completely understand if these distinctions aren't sufficient for publication. If you feel Quick Prompt doesn't meet the criteria for publication, I respectfully understand your decision to close this issue. I deeply appreciate your time, consideration, and guidance throughout this process.

With sincere thanks for your valuable feedback,

@pernielsentikaer
Copy link
Copy Markdown
Collaborator

Could be some cool enhancements in the extension @renzo4web made; it might be too similar for it to make sense to have multiple with the same purpose. What do you think @renzo4web

@renzo4web
Copy link
Copy Markdown
Contributor

Hi @wenyuanw @pernielsentikaer
I think merging our efforts makes the most sense. Your features would be valuable additions to the existing extension.
I'm open to collaborating and helping implement these improvements if you're interested in contributing to Prompt Stash instead

@wenyuanw
Copy link
Copy Markdown
Author

wenyuanw commented May 20, 2025

Hi @wenyuanw @pernielsentikaer

I think merging our efforts makes the most sense. Your features would be valuable additions to the existing extension.

I'm open to collaborating and helping implement these improvements if you're interested in contributing to Prompt Stash instead

Appreciate your reply! I’ll try to bring some of the features over to Prompt Stash when I get the chance.
Closing this PR for now — will send another PR to Prompt Stash when I have time.❤️

@wenyuanw wenyuanw closed this May 20, 2025
@renzo4web
Copy link
Copy Markdown
Contributor

@wenyuanw Great! Happy to help implement these features. Check my GitHub profile for my contact info (X, email) if you need any assistance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants