TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Prxmpt – A JSX Framework for Prompt Engineering

1 pointsby bconnorwhiteover 1 year ago
Hi everyone, super excited to release Prxmpt!<p>After writing a few too many prompts with nested ternaries in string templates I tried writing prompts in JSX instead, and discovered the DX was far better.<p>Prxmpt is sort of like &quot;TailwindCSS for Prompt Engineering&quot; - it comes with a bunch of utility elements that remove the headache of composing complex prompts.<p>Prxmpt also includes a few more advanced elements such as &lt;priority&gt;, which is sort of like a CSS media query for text. It allows you to easily set policies for which content is dropped once you hit your token limit.<p>Prxmpt is still v0.1, but I&#x27;ve put included several examples in the repo. If you use TS&#x2F;JS and work with LLMs I&#x27;d appreciate any ideas or feedback - I&#x27;m sure there are a bunch of useful features that I haven&#x27;t thought of yet.

no comments

no comments