Skip to content
p promptel. github ↗
← use cases · techniques

Reusable technique libraries

Turn Chain-of-Thought, ReAct, and Self-Consistency into declared AST blocks a team can review, share, and standardise on.

The problem

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.

With promptel

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

  1. 01
    declare

    Express the technique as a block inside body.technique instead of prose.

  2. 02
    review

    Reviewers see which technique is in play without reading the whole string.

  3. 03
    share

    Reuse the same technique block across prompts and repos for consistency.

  4. 04
    tune

    Adjust the technique (e.g. selfConsistency samples) in one legible place.

What you get

Try it on a prompt

Run npm install promptel and follow the quickstart.