跳到正文
cccskills
免费在 GitHub 公开

ase-task-rename

Rename the current or given task plan. Use when the user calls to "rename", "move" or "relabel" the "task", "plan", "spec", or "specification".

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

查看安装方法

包含的文件(2)

  • SKILL.md4.0 KB
  • help.md1.1 KB

SKILL.md(原文)

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

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

<purpose name="ase-task-rename"> Rename a Task Plan </purpose> <expand name="getopt" arg1="ase-task-rename"> $ARGUMENTS </expand> <objective> *Rename* the task plan. </objective>

Procedure

  1. Determine Task:

    1. Parse <arguments><getopt-arguments/></arguments> into a whitespace-separated list of tokens. Inherit the always existing <ase-task-id/> and <ase-session-id/> from the current context. Do not output anything.

    2. <if condition="<arguments/> contains two tokens"> Set <old/> to the first token of <arguments/>. Set <new/> to the second token of <arguments/>. Do not output anything. </if>
    3. <if condition="<arguments/> contains exactly one token"> Set <old><ase-task-id/></old>. Set <new/> to the single token of <arguments/>. Do not output anything. </if>
    4. <if condition="<arguments/> is empty OR contains more than two tokens"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ☻ skill: **ase-task-rename**, ▶ ERROR: expected `[<old>] <new>` arguments </template> </if>
    5. <if condition="<old/> does NOT match the regexp `^[a-zA-Z0-9#][a-zA-Z0-9#_-]*$` OR <new/> does NOT match the regexp `^[a-zA-Z0-9#][a-zA-Z0-9#_-]*$`"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ☻ skill: **ase-task-rename**, ▶ ERROR: invalid task id (expected `^[a-zA-Z0-9#][a-zA-Z0-9#_-]*$`) </template> </if>
    6. <if condition="<old/> is equal <new/>"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ◉ task: **<old/>**, ▶ status: **task unchanged (old and new task id are equal)** </template> </if>
  2. Perform Operation:

    1. Call the ase_task_rename(old: "<old/>", new: "<new/>") tool of the ase MCP server to rename the task plan and set <text/> to the text output field of this ase_task_rename tool call. Do not output anything related to this MCP tool call.

      • If <text/> starts with ERROR: or WARNING:: Set <renamed/> to false. Only output the following <template/>:

        <template> ⧉ **ASE**: ◉ task: **<old/>**, ▶ status: **<text/>** </template>
      • If <text/> starts NOT with ERROR: and NOT with WARNING:: Set <renamed/> to true. Only output the following <template/>:

        <template> ⧉ **ASE**: ◉ task: **<new/>**, ▶ status: **task renamed** </template>

        If <text/> additionally carries a line NOTICE: <info/> (the new id does not conform to the task id scheme of the project), additionally output:

        <template> ⧉ **ASE**: ◉ task: **<new/>**, ▶ NOTICE: <info/> </template>
    2. <if condition="<renamed/> is `true` AND <old/> is equal <ase-task-id/>"> Set <ase-task-id><new/></ase-task-id>. Call the `ase_task_id(id: "<ase-task-id/>", session: "<ase-session-id/>")` tool from the `ase` MCP server to switch the task to the renamed task. Only output the following <template/>: <template> ⧉ **ASE**: ◉ task: **<ase-task-id/>**, ▶ status: **task switched** </template> </if>

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Review software architecture, including package cohesion and inter-package coupling

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

rse/ase602026年10月19日 更新

Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.

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

rse/ase602026年10月19日 更新

Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency, or security.

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

rse/ase602026年10月19日 更新

Edit Source Code: Use when the user wants to "edit" the code base in one shot from a query or a bare analyzer issue id like "P1", fusing crafting, refactoring, and resolving with optional grilling, verification, looping, and Git worktree isolation.

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

rse/ase602026年10月19日 更新

Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user asks "how does this work?"

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

rse/ase602026年10月19日 更新

Give insights into the source code.

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

rse/ase602026年10月19日 更新

查看 rse 的全部技能

报告此技能的问题