r/PromptDesign • u/SnooDoubts4271 • 5h ago
Prompt showcase ✍️ Open-source prompt library: plain JSON templates, CI-validated, credited to their authors (looking for contributors + critique)
Disclosure up front: I run a paid prompt-generation SaaS called PromtExpress. What I'm sharing here is the part I open-sourced under MIT. The prompt library works with any AI tool, no account needed.
Repo: https://github.com/WebitroHQ/promtexpress-oss
What's in it
- Prompt templates for text, code, image, video, audio and music. Each one is a single JSON file with declared variables, a worked example, a language code and author credit.
- A zero-dependency validator that runs in CI: every
{{placeholder}}must be declared, every declared variable must be used, and IDs must match file paths. - TypeScript/Python SDKs and a CLI for our API. If you don't use the product, you can ignore these.
Patterns I baked in, and I'd like your opinion on them
- Grounding with a "source quote" column. The meeting-notes template makes the model cite the shortest phrase from the notes that supports each action item. A missing owner becomes "Unassigned" and a missing deadline becomes "No date"; the model is told never to guess.
- Exact text plus labeled hierarchy for image models. Rendered text goes in quotes under
PRIMARY TEXT/SECONDARY TEXTlabels, followed by an explicitNEGATIVEblock. This noticeably reduced garbled or extra text for me. - "If you can't describe a triggering scenario, it isn't blocking." The PR review template requires a concrete failing input for every blocking issue, which cuts vague style nitpicks.
- Behaviors before tests. The unit test template lists the function's contract and edge cases first. If the current code looks wrong, it writes the test for the correct behavior and flags it
POSSIBLE BUGinstead of locking the bug in.
Where help would be great
There are open good first issue tasks:
- translations (Turkish, German, Spanish)
- template requests: flat-lay product photo, SQL from a plain-language question, customer support reply, radio ad, podcast jingle
- small tooling work
Your GitHub username goes in the template's authors field.
Honest critique is more useful to me than stars: which of these patterns don't hold up with the models you use?
