edspencer/mdx-prompt

Composable prompts powered by MDX & React

39
/ 100
Emerging

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.

AI application development LLM prompting React development MDX content Software engineering
Maintenance 6 / 25
Adoption 8 / 25
Maturity 25 / 25
Community 0 / 25

How are scores calculated?

Stars

42

Forks

Language

TypeScript

License

MIT

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.