Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

executing-subtask执行子任务

Agent Skill

executing-subtask 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

公开资料未说明

下载量

103
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:executing-subtask(执行子任务)
来源仓库:https://github.com/b-mendoza/agent-skills
仓库路径:skills/executing-subtask
安装命令:
npx skills add https://github.com/b-mendoza/agent-skills --skill executing-subtask
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/b-mendoza/agent-skills --skill executing-subtask

简介

执行子任务技能用于将复杂任务拆解为单一可执行单元。

  • 适合在保持主上下文清晰的前提下委派具体实现工作。
  • 需配合工单快照和任务计划文档使用,确保输入完整。
  • 使用前应验证所需文档是否存在,避免因依赖缺失导致失败。
  • executing-subtask 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Executing Subtask

Purpose

Execute exactly ONE task from the task plan. Delegate the actual implementation to the task-executor subagent to keep the main agent's context clean for coordination and review. After execution, validate the work and update tracking artifacts.

Inputs

InputSourceRequiredExample
TICKET_KEYUser / $ARGUMENTSYesJNS-6065
TASK_NUMBERUser / $ARGUMENTSYes3

Both the ticket snapshot (docs/<TICKET_KEY>.md) and the task plan (docs/<TICKET_KEY>-tasks.md) must exist. If either is missing, tell the user which prerequisite skill to run.

Input contract (produced by upstream skills)

The task plan file docs/<TICKET_KEY>-tasks.md must contain these sections, built up across the preceding four phases:

Required section / elementProduced byUsed in stepWhy
## Task <N>: with all 8 subsectionsplanning-jira-tasksStep 1 (load)Source content for the execution brief
## Dependency Graphplanning-jira-tasksStep 1 (pre-flight)Validates dependencies are satisfied
## Decisions Logclarifying-assumptionsStep 2 (brief)Resolved decisions folded into execution context
Per-task Questions to answer resolvedclarifying-assumptionsStep 1 (pre-flight)Pre-flight checks all questions are answered
## Jira Subtasks table with keyscreating-jira-subtasksStep 5b (Jira)Maps task number to Jira subtask key for status
Jira Subtask: <KEY> in each task sectioncreating-jira-subtasksStep 5b (Jira)Identifies which Jira issue to transition
**Status:** on previously completed tasksexecuting-subtask (self)Step 1 (pre-flight)Checks whether dependencies are marked complete

Pre-flight gate: If the ## Jira Subtasks table is missing, subtasks were not created in Jira. Warn the user and ask whether to proceed without Jira integration or run the creating-jira-subtasks skill first. This is a warning, not a hard block — execution can proceed without Jira tracking.

Subagent Registry

SubagentPathPurpose
task-executor./subagents/task-executor.mdPerforms the actual implementation

Before delegating, read the subagent file to understand its contract (expected input format, output format, and rules). The path is relative to this skill's directory.

Output

  • Implemented code / configuration changes for the specified task.
  • Updated task plan with execution status.
  • Jira subtask transitioned (if Jira MCP available and subtask keys present).

Output contract (consumed by orchestrator and self)

After this skill completes for a given task, the plan file must contain these updates:

AdditionConsumed byWhy
**Status:** ✅ Complete (<date>) on taskorchestrator, selfOrchestrator tracks progress; self checks deps
**Implementation summary:** on taskorchestratorProgress file gets a concise summary
**Files changed:** list on taskorchestratorProgress reporting
## Jira Subtasks table status updated to DoneorchestratorReflects current state

Execution Steps

1. Load and validate the task

Read docs/<TICKET_KEY>-tasks.md and extract ## Task <TASK_NUMBER>.

Pre-flight checks — stop if any fail:

  • The task exists in the plan.
  • Dependencies listed in Dependencies / prerequisites are marked complete (look for **Status:** ✅ Complete on each dependency's task section).
  • Questions to answer before starting are all resolved (no unresolved items without a recorded fallback — look for strikethrough + answer format or None).

If pre-flight fails, tell the user what needs to be resolved first and stop.

2. Prepare the execution brief

Build a self-contained execution brief that includes ONLY what the subagent needs:

# Execution Brief — <TICKET_KEY> Task <N>: <Title>

## Objective

<from task plan>

## Relevant Requirements and Context

<from task plan, plus any resolved decisions from the Decisions Log>

## Implementation Notes

<from task plan — must reflect any updates applied during clarification>

## Definition of Done

<from task plan>

## Likely Files / Artifacts Affected

<from task plan>

## Resolved Questions & Decisions

<any answers from the Decisions Log that affect this task>

## Constraints

- Only implement what is described above.
- Do not modify files unrelated to this task.
- If you encounter ambiguity not covered here, STOP and report it — do not guess.
- Run existing tests to verify you haven't broken anything.
- If the definition of done includes new tests, write them.

Write this brief to docs/<TICKET_KEY>-task-<N>-brief.md.

3. Delegate to the task-executor subagent

agent task-executor "Execute the task described in docs/<TICKET_KEY>-task-<N>-brief.md"

The subagent performs the implementation in an isolated context.

4. Review the subagent's work

After the subagent completes, review:

  • Definition of done: Check each condition against actual changes.
  • Scope containment: Verify no files outside Likely files affected were modified unexpectedly (unless justified).
  • Tests pass: Run the project's test suite (or relevant subset).
  • No regressions: If existing tests exist, confirm they still pass.

If review finds issues, provide specific feedback and re-invoke the subagent with corrections. Limit to 3 retry cycles — after that, report remaining issues to the user.

5. Update tracking

a. Update the task plan

In docs/<TICKET_KEY>-tasks.md, update the task section:

**Status:** ✅ Complete (<YYYY-MM-DD>)
**Implementation summary:** <2–3 sentence summary of what was done>
**Files changed:**

- `path/to/file1.ts` — <what changed>
- `path/to/file2.ts` — <what changed>

b. Update Jira (if MCP available)

Look up the Jira subtask key from the Jira Subtask: <KEY> line in the task section, or from the ## Jira Subtasks table.

  • Transition the subtask to "In Progress" at the start of execution (Step 3).
  • Transition the subtask to "Done" after successful review.
  • Add a comment to the subtask summarizing what was implemented.

If the Jira subtask key is not present (subtasks were never created), skip Jira updates silently — do not error.

c. Update the Jira Subtasks table

If the ## Jira Subtasks table exists, update the Status column for this task from To Do to Done.

d. Clean up

Delete the temporary execution brief file: docs/<TICKET_KEY>-task-<N>-brief.md

After deletion, verify the file no longer exists. If deletion fails (e.g., permission error), log a warning but do not block — cleanup failure is non-critical.

6. Report to user

Task <N> complete: <Title>

Summary: <what was done in 2–3 sentences>

Files changed:
- <list>

Tests: <passing / N new tests added>

Jira subtask <KEY>: transitioned to Done.

⚠️ Remaining items (if any):
- <anything that couldn't be fully resolved>

Ready for the next task? Let me know which one to tackle.

Safety Rules

  • One task at a time. Never auto-continue to the next task.
  • Scope discipline. Do not implement anything outside the task's scope, even if it seems like a quick win.
  • Fail loudly. If the subagent encounters ambiguity or a blocker, surface it to the user immediately rather than making assumptions.
  • Preserve the plan. The task plan is the source of truth. If execution reveals the plan needs changes, propose the change to the user — don't silently modify the plan.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.01%
按下载量换算39

Claude

28.93%
按下载量换算30

Cursor

19.03%
按下载量换算20

Gemini CLI

8.76%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills