extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Add promptbits extension

Open ericpullukaran opened this issue 3 weeks ago • 2 comments

Description

Access your PromptBits prompt library directly from Raycast. Search, browse, and paste your saved prompts into any application with a single keystroke.

Features:

  • Quick search through your prompt library by name or description
  • Paste prompts directly into any application
  • Fill in dynamic variables (e.g., {{name}}) before pasting
  • Copy prompts to clipboard
  • Offline caching for faster access

Screencast

https://github.com/user-attachments/assets/3f5cea9c-77a6-47ef-a560-fee82fd56a3c

Checklist

ericpullukaran avatar Dec 16 '25 23:12 ericpullukaran

Congratulations on your new Raycast extension! :rocket:

Due to our current reduced availability, the initial review may take up to 10-15 business days.

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

raycastbot avatar Dec 16 '25 23:12 raycastbot

Greptile Summary

This PR adds a new PromptBits extension that integrates with the PromptBits API to allow users to search, browse, and paste prompts directly from Raycast. The extension includes proper offline caching, dynamic variable substitution using Mustache templates, and a clean user interface.

Key features:

  • API integration with proper authentication and error handling
  • Offline caching using useCachedPromise from @raycast/utils
  • Dynamic template processing with Mustache for variable substitution
  • Clean UI with search, copy, and paste functionality
  • Metadata screenshots provided for store listing

Issue found:

  • Manual Preferences interface definition in api.ts should be removed (violates rule d93fc9fb - types are auto-generated in raycast-env.d.ts)

Confidence Score: 4/5

  • Safe to merge after fixing the manual Preferences interface definition
  • The extension is well-implemented with proper error handling, offline caching, and follows most Raycast conventions. The only issue is a manual type definition that should be auto-generated, which could cause type mismatches but doesn't affect runtime functionality significantly
  • Pay attention to extensions/promptbits/src/lib/api.ts - remove manual Preferences interface

Important Files Changed

Filename Overview
extensions/promptbits/package.json Well-configured package with correct dependencies, metadata, and Prettier settings
extensions/promptbits/CHANGELOG.md Uses proper {PR_MERGE_DATE} placeholder for initial version
extensions/promptbits/src/paste-prompt.tsx Clean implementation with proper error handling, form validation, and user feedback
extensions/promptbits/src/lib/api.ts Functional API client with proper error handling, but contains manual Preferences interface that should be auto-generated

greptile-apps[bot] avatar Dec 23 '25 11:12 greptile-apps[bot]