← All projects
Web / CLI
Active

Prompts Library

Astro static site + btop-style npm CLI for reusable AI prompts with deep links and variable interpolation.

Period
Mar 2026 – May 2026
Role
Solo Developer

The Problem

AI prompts are scattered across docs and chats — copying, editing placeholders for each use, and re-navigating to ChatGPT or Claude every time is friction that kills reuse.

The Approach

An Astro static site + npm CLI for browsing, filling, and deep-linking AI prompts — with an interactive variable engine, fuzzy terminal search, and 1-click hand-off to ChatGPT/Claude.

Impact Highlights

  • Made AI prompt reuse practical with an interactive variable engine that fills dynamic placeholders before copy or execution.
  • Brought the library to the terminal by publishing a btop-style npm CLI with real-time fuzzy search and keyboard navigation.
  • Eliminated the copy-paste-navigate cycle with 1-click deep links that open ChatGPT or Claude with the prompt pre-filled.
  • Built a Lighthouse-optimised Astro static site with command palette, favorites persistence, and masonry layout — zero infra cost.

Tech Stack

AstroNode.jsTypeScriptnpm

Scope of Work

8
  • Phase 1 MVP: 33+ prompts with sidebar, detail page, related prompts, URL category params, tag clear, breadcrumbs.
  • Interactive variable engine: dynamic interpolation on copy.
  • btop-style CLI npm package with fuzzy AutoComplete search and keyboard navigation.
  • Global command palette with keyboard trigger; favorites system with URL persistence.
  • 1-click deep links to ChatGPT and Claude with prompt pre-filled.
  • Masonry layout with customizable page size and result thumbnails.
  • Lighthouse optimisation: font loading, async images, aria-labels, debounced search, HTML/CSS compression.
  • Collapsible Most Used section with random shuffle; draft support; Stripe-inspired content section.