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.
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.
Stars
38
Forks
11
Language
Python
License
Apache-2.0
Category
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.