edspencer/mdx-prompt
Composable prompts powered by MDX & React
This tool helps React and MDX developers craft instructions for large language models (LLMs) in a structured and reusable way. Instead of building large string templates, you write your prompts using React components or MDX files. The tool takes these components as input and generates the final text prompt string, making it easier to manage and test complex LLM interactions. It's designed for developers building AI-powered features within their applications.
Available on npm.
Use this if you are a React developer needing a more organized and maintainable way to construct complex prompts for large language models.
Not ideal if you are not working with React, MDX, or if your LLM prompts are very simple and static.
Stars
42
Forks
—
Language
TypeScript
License
MIT
Category
Last pushed
Oct 29, 2025
Commits (30d)
0
Dependencies
5
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/edspencer/mdx-prompt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
BoundaryML/baml
The AI framework that adds the engineering to prompt engineering (Python/TS/Ruby/Java/C#/Rust/Go...
deanpeters/product-manager-prompts
A repository of Generative AI prompts for product managers using agents such as ChatGPT, Claude, & Gemini
eudk/awesome-ai-tools
🔴 VERY LARGE AI TOOL LIST! 🔴 Curated list of AI Tools - Updated 2026
jujumilk3/leaked-system-prompts
Collection of leaked system prompts
legeling/PromptHub
一款开源、纯本地 Prompt ,Skill 管理工具,帮助你高效管理、版本控制和复用 Prompt,并一键分发skill | An open-source, local-first AI...