循环工程提示词

SKILLAI 工具
AI 工具 未标注权限 许可证不明确
安装这个技能

将传统一次性提示词或粗略的提示词想法,转换为基于循环的工程化控制器提示词,具备状态检查、分步执行、自我审查、修正规则、安全防护和明确退出条件。当用户提供开发、OCR、数据分析、自动化、文档、决策或技能设计类的提示词或提示词想法,并希望将其生成或重构为可靠的 AI 迭代执行方式(而非直接执行)时使用。

一句话选型结论

按资料字段整理

循环工程提示词是AI 工具类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类AI 工具 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_af28adda/prompt-to-loop-controller
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

AI 工具
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_af28adda仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791710577
正文体量10.4 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
组合多个 AI 能力

把写作、检索、总结串成一条流程。

搭工作流

把固定流程做成可重复调用的步骤。

做提示词与评测

整理提示词并对比输出效果。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在AI 工具场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
循环工程提示词当前 未标注权限 未标注 未标注 未标注 有
执行计划 只读 GitHub 仓库 151.5 万 Codex、Claude、Cursor 有
Playwright MCP 测试 浏览器控制 ClawHub 市场 136.5 万 OpenClaw 有
完成前的验证 未标注权限 GitHub 仓库 131.9 万 Codex、Claude、Cursor 有
子 Agent 驱动开发 只读 GitHub 仓库 131.2 万 Codex、Claude、Cursor 有
前端设计 执行命令 GitHub 仓库 125.6 万 Codex、Claude、Cursor 有

SKILL.md 全文

10.4 KB
模型实际读到的说明书原文,来自技能仓库

Prompt To Loop Controller

Purpose

Convert a user's traditional goal prompt or rough prompt idea into a loop-based engineering controller prompt. Do not execute the underlying task. Preserve the user's intent, constraints, output format, and forbidden behaviors while adding state handling, stepwise execution, self-checks, repair rules, safeguards, and exit conditions. Offer optional opposition review for strict, risky, or skill-bound conversions; do not enable it by default.

Use this skill as a prompt refactoring workflow. If the user asks to run the transformed prompt, finish the conversion first and ask or proceed only according to the user's latest instruction.

Workflow

1. Classify The Request

Confirm that the user wants prompt conversion, not task execution.

Proceed when the user asks to:

  • turn a traditional prompt into a loop prompt
  • generate a loop prompt from a prompt idea
  • make a prompt iterative, self-checking, or agent-friendly
  • convert a development, OCR, analysis, automation, document, decision, or skill prompt into a controller
  • prepare a prompt for later skill or agent use

If the user only asks for the task result, do not use this skill unless they explicitly ask for prompt restructuring.

2. Parse The Input

Classify the input as either:

  • Complete prompt: the user already provided a usable traditional prompt.
  • Prompt idea: the user provided a goal, rough concept, or partial requirements for a prompt that does not yet exist.

Extract these fields from either input type:

  • Goal: what the prompt asks the AI to accomplish
  • Inputs: files, images, text, systems, APIs, data, or context
  • Output contract: format, sections, file types, tables, code, or artifacts
  • Hard constraints: must-follow requirements
  • Forbidden behaviors: what the AI must not do
  • Uncertainty handling: how to mark unclear, missing, risky, or ambiguous cases
  • Ordering rules: required sequence, such as top-to-bottom or read-code-before-editing
  • Quality checks: tests, validation, consistency checks, review criteria

For prompt ideas:

  • Preserve confirmed information as requirements.
  • Convert uncertain details into explicit assumptions.
  • Ask at most three questions only when missing information would make the generated prompt unusable.
  • If enough context exists, generate the loop prompt and include an assumptions section instead of blocking.
  • Do not invent domain facts, formats, tools, recipients, schemas, or business rules as if they were confirmed.

If the input is clear enough, convert or generate directly.

3. Choose A Loop Type

Select the smallest useful loop type. Load references/loop-types.md when you need task-specific patterns.

Common choices:

  • Recognition loop: OCR, screenshots, handwritten forms, visual extraction
  • Development loop: coding, bug fixing, CLI tools, repository changes
  • Analysis loop: Excel, CSV, SQL, reports, data quality checks
  • Decision loop: architecture, options, tradeoffs, plans, retrospectives
  • External action loop: Feishu, Slack, calendar, email, APIs, approvals
  • Skill-design loop: SKILL.md, references, examples, packaging workflow

Do not overbuild. For simple prompts, use judge -> execute -> check -> output.

4. Decide Whether To Offer Opposition Review

Opposition review is optional and off by default. It adds an independent critical pass after the first loop prompt draft.

Offer a short prompt asking whether to enable opposition review when the source prompt is:

  • complex or likely to become a reusable skill
  • high risk or strict quality controlled
  • about code, data analysis, OCR, formal documents, or external actions
  • about sending, approving, deleting, purchasing, publishing, or committing outside the chat
  • explicitly requested as "strict", "reviewed", "high reliability", "反向审核", "对立面审核", or "红队"

Use this default behavior:

  • If the user says yes, enable opposition review.
  • If the user says no, continue normal conversion.
  • If the user does not answer and the question is non-blocking, continue normal conversion and mention that opposition review was not enabled.
  • If the task involves external action or irreversible/high-stakes consequences, strongly recommend opposition review and still require explicit authorization for any converted prompt that would later execute the action.

Load references/opposition-review.md when opposition review is enabled or when you need the exact review checklist.

5. Build The Controller

Create a loop prompt with:

  • Role: what specialist the future AI should act as
  • Goal: the user's original objective, preserved
  • State model: what the AI checks before and during work
  • Work loop: ordered steps for execution
  • Self-checks: requirements that must be verified before output
  • Revision rules: how to correct missing, inconsistent, or uncertain work
  • Output rules: exact final structure
  • Exit conditions: concrete, checkable completion criteria
  • Loop safeguards: maximum rounds, blocked-state rules, and fallback behavior

Move the original prompt's forbidden behaviors into both the work loop and the self-check stage. This is how "do not guess", "do not correct", "do not send without confirmation", and similar rules stay active.

Every converted loop prompt must include these safeguards unless the user explicitly asks for a minimal prompt:

  • Default to 3 rounds for normal tasks and at most 5 rounds for complex tasks.
  • If the same issue remains unresolved for two consecutive rounds, enter blocked.
  • If required input, permissions, files, or evidence are missing, stop and ask for the smallest necessary user input.
  • If exit conditions cannot be fully satisfied, output the best current result, unresolved items, and exact next questions instead of continuing indefinitely.

6. Apply Opposition Review When Enabled

When opposition review is enabled:

  1. Draft the loop prompt normally.
  2. Review it from the opposing perspective: find original-intent drift, missing constraints, excessive complexity, weak exit conditions, missing confirmation gates, or hidden execution risk.
  3. Revise the loop prompt based on valid findings.
  4. Stop after one review-and-revision pass by default; use at most two passes when the user explicitly asks for stricter review.
  5. Include a concise "Opposition Review Notes" section unless the user requested final-prompt-only output.

Do not let opposition review become a second full solution. It should challenge the controller prompt, not execute the underlying task.

7. Produce The Output

Default output:

  1. Original prompt analysis
  2. Loop structure design
  3. Opposition review recommendation or notes
  4. Complete copyable loop prompt
  5. Assumptions and open questions when the input was a prompt idea
  6. Usage notes and boundaries

If the user asks for only the final prompt, output only the complete copyable loop prompt.

If the user wants to turn the result into a skill, add a short skillization note:

  • suggested skill name
  • trigger description
  • likely references
  • validation examples

Use references/output-templates.md for reusable output shapes.

Conversion Rules

  • Preserve the user's original goal. Do not change the business task while improving the control structure.
  • Preserve required output formats unless the user asks to change them.
  • For prompt ideas, separate confirmed requirements from assumptions and open questions.
  • Make implicit sequence explicit. For example, "recognize table" becomes structure detection, row-by-row recognition, uncertainty marking, and final consistency checks.
  • Convert negative instructions into active guardrails. For example, "do not infer" becomes "mark unclear content instead of inferring" plus a self-check for unsupported guesses.
  • Use uncertainty labels when the source prompt contains ambiguity, risk, missing data, visual blur, permission boundaries, or external actions.
  • Add user-confirmation gates for external writes, irreversible actions, approvals, commitments, or messages sent to other people.
  • Keep the controller proportional. A short prompt should not become a heavy state machine unless the task is high risk or multi-step.
  • Add loop safeguards to prevent open-ended self-correction: round limits, blocked-state triggers, and fallback output.
  • Distinguish conversion from execution. The final answer should be a better prompt, not the result that prompt would produce.
  • Do not enable opposition review silently. Either the user asked for it, or you offered it and the user accepted.
  • Keep opposition review bounded to prompt quality, not domain execution.

Quality Bar

The converted loop prompt is successful when:

  • the original objective is still recognizable
  • all hard constraints are represented in the loop
  • prompt ideas distinguish confirmed requirements from assumptions
  • forbidden behaviors appear as operational checks
  • uncertain or risky cases have explicit handling
  • the output contract is concrete
  • the exit condition can be checked
  • loop safeguards prevent indefinite execution
  • optional opposition review is suggested or applied in the right cases
  • a future AI can copy the prompt and run the task more reliably than with the original one-shot prompt

References

  • Read references/loop-types.md when selecting or adapting a task-specific loop pattern.
  • Read references/opposition-review.md when the user enables opposition review or the task calls for a strict/high-risk recommendation.
  • Read references/output-templates.md when the user asks for a specific output style, such as concise, strict, skill-controller, or comparison mode.
  • Read references/examples.md when you need examples, especially for handwritten table OCR, development goals, Excel analysis, and external actions.
  • Read references/architecture.md when explaining the skill architecture or showing the loop plus opposition-review design.
  • Read references/validation.md when the user asks how to test a converted prompt, compare it with the original, or decide whether the conversion is good enough.

常见问题

5 问
答案由本站依据条目字段整理
循环工程提示词怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_af28adda/prompt-to-loop-controller。安装方式为未标注。装完刷新技能列表或重开客户端。

循环工程提示词支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

循环工程提示词权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

循环工程提示词收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

循环工程提示词用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。