synaptiai/prompt-decorators

A standardized framework for enhancing how LLMs process and respond to prompts through composable decorators, featuring an official open standard specification and Python reference implementation with MCP server integration.

60
/ 100
Established

The framework uses a registry-based architecture to dynamically load and compose 140+ pre-built decorators from standardized JSON definitions, enabling users to modify LLM behavior with concise annotations like `+++Reasoning` or `+++StepByStep` instead of verbose instructions. It provides a formal specification that decouples prompts from processing directives, reducing token consumption while ensuring consistent behavior across different LLM platforms. The implementation includes MCP server integration for Claude Desktop and Cursor, automatic parameter validation, decorator versioning, and compatibility checking.

Available on PyPI.

Maintenance 6 / 25
Adoption 12 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

38

Forks

11

Language

Python

License

Apache-2.0

Last pushed

Nov 01, 2025

Monthly downloads

94

Commits (30d)

0

Dependencies

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/synaptiai/prompt-decorators"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.