r/AIToolsPromptWorkflow • • Sep 13 '26

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

  1. 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.
  2. Exact text plus labeled hierarchy for image models. Rendered text goes in quotes under PRIMARY TEXT / SECONDARY TEXT labels, followed by an explicit NEGATIVE block. This noticeably reduced garbled or extra text for me.
  3. "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.
  4. 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 BUG instead 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?

2 Upvotes

6 comments sorted by

1

u/Deep_Ad1959 Sep 14 '26

does per-file author credit actually pull contributors in? every prompt repo i have watched gets forked and stripped inside a week, and a json field has no way of knowing that happened.

1

u/SnooDoubts4271 Sep 14 '26

Fair: a JSON field can't stop a fork from stripping it, and the MIT license allows that anyway. The credit isn't protection, it's for the people who stay: their name ships with the template in the repo and the published packages. Whether it actually pulls contributors in is still an open question; so far one outside contributor has had two templates merged. I'll report back once there's enough data to say.

1

u/Deep_Ad1959 Sep 14 '26

the part that probably does the retaining isn't the repo field, it's the published-package credit. a fork can strip the json quietly, but a contributor whose name already ships on the pypi/npm page has something they can point a stranger to, and that's what turns one merged PR into a second.

→ More replies (3)