跳到正文
cccskills
免费在 GitHub 公开

edit

Reactant tag-only text edit. Use only when execute or execute-one dispatches an exact <@edit> tag from a document; never activate from ordinary chat or another skill.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant星标 54(GitHub 54 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Edit

Activation Boundary

This is a tag-only worker skill. Use it only after execute or execute-one selects an exact <@edit...> annotation in a target document and hands off its context. Never activate it from an ordinary chat-window editing request, semantic similarity, or any skill other than those two routers. Without that router handoff, do not edit anything; tell the user to place an <@edit> tag in the document and run execute or execute-one.

Apply the edit described in the prompt to the surrounding block, then consume the tag.

Tag

<@edit: instruction>

Examples: <@edit: make this shorter>, <@edit: rewrite in formal tone>, <@edit: revise to align with ``intro.md``>.

Input

  • File path — the document being processed.
  • Surrounding block — the maximal run of non-blank lines containing the tag; blank lines bound it. Read the full file when broader context helps.
  • Prompt — what to change.
  • Modifiers and context references — see below.

Workflow

  1. Read the surrounding block; read the full file if you need broader context.
  2. Resolve any context references in the prompt.
  3. Apply the requested edit to the block's authored prose.
  4. Write the result back to the file: replace the surrounding block (including the <@edit: ...> tag) with the edited text.

Scope Modifiers

  • Protect << >> — text inside must NOT be modified. Preserve it exactly; remove the << >> delimiters in the output.
  • Field (( )) — ONLY text inside may be modified; everything else in the block is context. Remove the (( )) delimiters in the output.
  • Neither present: the whole surrounding block is editable.

Context References

Double-backtick references in the prompt point to external resources.

  • As input: read the referenced file or section for context.
  • As output: write the requested content to the referenced destination (a path is resolved relative to the document's directory unless absolute).
  • Remove the reference and its delimiters from the document output.

Rules

  • Only change what the prompt asks for; preserve meaning otherwise.
  • Never edit protected regions; edit only field regions when fields exist.
  • Consume this annotation and its consumed modifier delimiters. Preserve every unrelated annotation, <@comment: ...> tag, <@chat-model> block, and contextual literal/example byte-for-byte; if other actionable annotations share this block, leave them in place for the next router pass.
  • If the instruction cannot be followed (for example, a referenced file does not exist), fail cleanly: leave the tag in place, change nothing, and report the error.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

chat-user

免费

Reactant tag-only document chat. Use only when execute or execute-one dispatches an exact unanswered <@chat-user> tag; never activate from ordinary chat or another skill.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant542026年9月10日 更新

cite

免费

Reactant tag-only citation. Use only when execute or execute-one dispatches an exact <@cite> tag from a document; never activate from ordinary chat or another skill.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant542026年9月10日 更新

execute

免费

Reactant router — read a document, interpret its <@skill> annotations in context, and execute every actionable tag sequentially from top to bottom, re-reading after each one. Use when the user asks to execute, run, or process Reactant tags in a file.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant542026年9月10日 更新

Reactant router — read a document, interpret its annotations in context, and execute only the first actionable <@skill> tag. Use when the user wants to step through Reactant tags one at a time.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant542026年9月10日 更新

figure

免费

Reactant tag-only figure generation. Use only when execute or execute-one dispatches an exact <@figure> tag from a document; never activate from ordinary chat or another skill.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant542026年9月10日 更新

ph

免费

Reactant tag-only placeholder. Use only when execute or execute-one dispatches an exact <@ph> tag from a document; never activate from ordinary chat or another skill.

中文简介正在准备中。当前显示原文说明。

a554b554/Reactant542026年9月10日 更新

查看 a554b554 的全部技能

报告此技能的问题