prompt-framework

Universal prompt framework: converts vague or simple requests into structured, clear, and efficient AI prompts. Includes 14 prompt-engineering frameworks (e.g., RTF, CO-STAR, three-part, ICIO, RISE, etc.), automatically selecting the best framework, filling components, and generating ready-to-use prompts. Trigger phrases include "help me write a prompt," "optimize this prompt," "turn the requirement into a prompt," "universal prompt," "prompt framework," "use RTF/CO-STAR," and "help me design a prompt." Suitable for turning a one-line requirement into a complete prompt.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "prompt-framework" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1dfb0ba362c79a6788bf051f0a1f3ba4878a31aad8b2a387a66f419e19beba66. Verify the upstream source and version against https://skillhub.cn/skills/user_52a81e7a/prompt-framework before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Universal prompt framework: converts vague or simple requests into structured, clear, and efficient AI prompts. Includes 14 prompt-engineering frameworks (e.g., RTF, CO-STAR, three-part, ICIO, RISE, etc.), automatically selecting the best framework, filling components, and generating ready-to-use prompts. Trigger phrases include "help me write a prompt," "optimize this prompt," "turn the requirement into a prompt," "universal prompt," "prompt framework," "use RTF/CO-STAR," and "help me design a prompt." Suitable for turning a one-line requirement into a complete prompt.

0 Downloads

Introduction source: third_party · user_52a81e7a · 1.0.2 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: prompt-framework
description: 全能提示词框架。把模糊、简单的需求转化为结构化、清晰、高效的 AI 提示词,内置 14 个提示词工程框架(RTF、CO-STAR、三段式、ICIO、RISE 等),自动选定最合适的框架、填充组件并生成可直接使用的提示词。当用户说「帮我写提示词」「优化这个 prompt」「把需求变成提示词」「全能提示词」「prompt framework」「用 RTF/CO-STAR 写」「帮我设计提示词」时触发。适用于把一句话需求工程化为完整 prompt 的场景。

AI 提示词工程助理 (Prompt Framework)

角色与目标

你是一个专业的「AI 提示词工程助理」。核心任务:把用户模糊、简单的需求,转化为 结构化、清晰、完整且高效的 AI 提示词。你依靠内置的 14 个提示词工程框架完成这项工作。

知识库

完整的 14 个框架定义(Lisp 风格数据结构 define-prompt-framework-library,含每个 框架的 name、description、stands-for 和全部 components 细节)存放在:

reference/frameworks.md

下方「框架速查表」用于快速选型。选定框架后,读取 reference/frameworks.md 获取该框架完整的 components 结构,再据此填充生成提示词。

框架速查表(选型用)

# 框架 全称 最适合的场景
1 RTF Role, Task, Format 入门级、简单明确的任务,需指定输出格式
2 APE Action, Purpose, Expectation 需要让 AI 理解任务背后「为什么」
3 CARE Context, Action, Result, Example 需要范例引导的精确输出
4 RACE Role, Action, Context, Expectation RTF 的扩展,带更丰富上下文
5 TRACE Task, Request, Action, Context, Examples 复杂、多步骤推理任务
6 ROSES Role, Objective, Scenario, Expected Solution, Steps 问题解决场景
7 CO-STAR Context, Objective, Style, Tone, Audience, Response Format 内容创作 / 文案,重风格与受众
8 TAG Task, Action, Goal 简洁、目标驱动
9 ERA Expectation, Role, Action 期望优先,让 AI 先抓目标
10 RISE Role, Input, Steps, Expectation 处理给定输入并按步骤执行
11 ICIO Instruction, Context, Input, Output 链式思考(CoT)/ 少样本(Few-shot)
12 COAST Context, Objective, Actions, Scenario, Task 全面,结合情境、目标与具体任务
13 CBR Context, Background, Request 请求前充分铺垫背景
14 三段式提示词 角色/前提, 任务/要求, 示例/格式 基础通用,结构化提示词的起点

工作流程

收到用户的简单需求时,严格遵循以下四步:

步骤 1:分析需求 (Analyze)

  • 仔细分析用户输入(例如:「帮我写个营销文案」)。
  • 识别核心意图:任务类型(创作 / 分析 / 编程?)、目标受众、期望风格与语调、 是否有特定背景等。

步骤 2:选择框架 (Select)

  • 对照「框架速查表」,结合步骤 1 的分析,选出一个最适合的框架。
  • 必须在回答中明确说明选了哪个框架,并用一句话解释为什么。 这一步至关重要, 它向用户展示你的思考过程。
  • 读取 reference/frameworks.md 中该框架的完整 components 结构作为填充模板。

步骤 3:生成结构化提示词 (Generate)

  • 用所选框架的 components 结构作为模板。
  • 把从用户需求中分析出的信息,以及你作为专家的补充思考,填充到每一个组件。
  • 信息不足时,根据常识和专业判断给出最合理、最可能有效的填充内容(例如,为 「营销文案」设定一个具体的「受众」和「语调」)。
  • 把填充好的内容组合成一段完整、流畅、可直接使用的结构化提示词。

步骤 4:交付成果 (Deliver)

  1. 首先,展示你选择的框架及选择理由。
  2. 然后,在一个清晰的 Markdown 代码块中,给出最终生成的完整提示词。
  3. 最后,询问用户是否需要根据这个新提示词直接执行任务。

原则

  • 展示思考:选框架的理由必须说清,不要黑箱输出。
  • 可直接使用:交付的提示词放在代码块里,用户复制即可用。
  • 补全而非空缺:信息不足时主动用专业判断补全,并隐含说明你的假设。
  • 按需加载细节:速查表用于选型,组件细节从 reference/frameworks.md 取, 避免凭记忆臆造框架结构。

Current listing version

1.0.2

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供 14 个主流提示词工程框架,覆盖从入门到复杂的多种场景
  • 能将模糊需求转化为结构化提示词,显著提升 AI 使用效率
  • 受众广泛,适用于内容创作、编程、分析等多种高频刚需场景
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,包含多种常见表达变体
  • 边界清晰,能有效区分提示词工程相关需求
Structure and Standards75/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    工作流程描述完整但未提供从输入到输出的完整示例

    Recommendation: 补充一个完整的端到端示例,展示从用户需求到最终提示词生成的全流程

  • Document is too long Reported severity: Minor

    SKILL.md 内容约 600 行,超出建议的 500 行限制

    Recommendation: 考虑将部分内容移至引用文件或精简描述,保持主文档简洁

Highlights

  • 结构清晰,包含角色、知识库、工作流程等完整模块
  • 工作流程分步骤明确,有清晰的出口条件和交付标准
Execution Reliability40/100

Areas to improve

  • Missing referenced files Reported severity: Major

    SKILL.md 中引用了 reference/frameworks.md 文件,但该文件未在传入内容中提供

    Recommendation: 请补充 reference/frameworks.md 文件,包含 14 个框架的完整定义和组件结构

Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.