Reusable technique libraries
Turn Chain-of-Thought, ReAct, and Self-Consistency into declared AST blocks a team can review, share, and standardise on.
Prompt techniques usually live as recipes pasted between repos. Two engineers implement Chain-of-Thought slightly differently, reviewers cannot tell which technique a giant string is using, and there is no shared, inspectable definition to build on.
In promptel a technique is a node in the AST — chainOfThought, fewShot, reAct, selfConsistency, and more. Because the technique is structured rather than concatenated, reviewers see it at a glance and a team can standardise on a shared set of technique blocks.
How it flows
- 01
declareExpress the technique as a block inside body.technique instead of prose.
- 02
reviewReviewers see which technique is in play without reading the whole string.
- 03
shareReuse the same technique block across prompts and repos for consistency.
- 04
tuneAdjust the technique (e.g. selfConsistency samples) in one legible place.
What you get
- ✓Techniques are inspectable, not folklore
- ✓Consistent CoT / ReAct usage across a team
- ✓Changes to a technique are small, legible diffs
Try it on a prompt
Run npm install promptel and follow the quickstart.