SP

synaptiai/prompt-decorators

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

44 stars 10 forks 质量 67 趋势 8Apache-2.0

synaptiai/prompt-decorators 是从 https://github.com/synaptiai/prompt-decorators. 导入的 MCP 服务器候选人。

概览

synaptiai/prompt-decorators 是从 https://github.com/synaptiai/prompt-decorators. 导入的 MCP 服务器候选人。

概述(AI 翻译)

Prompt Decorators 是一个综合框架,标准化了大型语言模型(LLM)提示的增强、结构化和转换方式。该仓库包含官方 Prompt Decorators 规范及其完整的 Python 参考实现。

文献资料 • 提示装饰师规范

📋 目录

  • 概述
  • 什么是提示装饰者?
  • 关键组成部分
  • 背景与动机
  • 提示工程中的挑战
  • 提示装饰师的优势
  • 主要特征
  • 实施状态
  • 入门指南
  • 安装
  • 基本用法
  • 许可证
  • 贡献
  • 致谢

🔍 概述

什么是提示装饰师?

Prompt Decorators 引入了受软件设计模式启发的标准化注释系统,允许用户通过简单、可组合的“装饰器”修改 LLM 行为。通过在提示前加上 +++Reasoning、+++StepByStep 或 +++OutputFormat 等注释,用户可以持续控制 AI 模型在不同平台和实现中处理和响应请求的方式。

本项目通过提供以下内容来应对人工智能交互日益复杂的问题:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Prompt Decorators

📋 Table of Contents

🔍 Overview

What Are Prompt Decorators?

Prompt Decorators introduces a standardized annotation system inspired by software design patterns that allows users to modify LLM behavior through simple, composable “decorators.” By prefixing prompts with annotations like +++Reasoning, +++StepByStep, or +++OutputFormat, users can consistently control how AI models process and respond to their requests across different platforms and implementations.

This project addresses the growing complexity of AI interactions by providing:

  1. The Specification: A formal standard that defines decorator syntax, behavior, and extension mechanisms
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →