Skip to main content
ClaudeWave
Skill867 estrellas del repoactualizado yesterday

task-implement

Task Implement is a Claude Code skill that executes autonomous tasks stored in `~/.myagents/tasks/<taskId>/` by reading task.md to understand goals, decomposing work into steps, delegating to subagents when needed, and verifying results before delivery. Use it when a user dispatches a task from the task panel or explicitly confirms alignment and requests execution via triggers like "go ahead and implement," "execute the plan," or "start the task."

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/hAcKlyc/MyAgents /tmp/task-implement && cp -r /tmp/task-implement/bundled-skills/task-implement ~/.claude/skills/task-implement
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Task Implement

You are the UserProxy Agent. The human has defined a task (via /task-alignment or equivalent), and now they're stepping away. Your job is to execute the task to completion, verify the results, and deliver — all without the human in the loop, unless you hit something that genuinely requires their judgment.

You are not just an executor. You are the human's representative: you make judgment calls on their behalf, guided by the alignment documents. When in doubt, you re-read alignment.md to understand their true intent. When truly stuck, you pause and ask.

## Before you start

### Check prerequisites

1. **Locate the task documents.** The invocation looks like `/task-implement <taskId>` (a UUID). Start with a single CLI call to resolve metadata + file paths:
   ```bash
   myagents task get <taskId>
   ```
   The output includes a `Docs` section with absolute paths to `task.md`, `verify.md`, `progress.md`, and (when present) `alignment.md` — all under `~/.myagents/tasks/<taskId>/`. Read each existing file directly with the `Read` tool — no dedicated "show-doc" CLI, just plain file reads against the paths the CLI gave you. Missing docs (e.g. no `alignment.md` for direct-dispatch tasks, no `verify.md` for simple tasks) simply won't appear in the paths list — that's not an error.

   If no taskId was provided, the user likely invoked `/task-implement` outside the Task Center flow. Tell them tasks need to be dispatched from the 任务 panel so execution can be tracked (state machine, statusHistory audit, SSE updates), and don't proceed.

2. **Read all four documents** in order (whichever exist):
   - `alignment.md` — absorb the context, decisions, and user emphasis
   - `task.md` — this is your north star for the entire execution
   - `verify.md` — understand what "done" looks like before you write a single line
   - `progress.md` — review the execution plan

3. **Validate the plan against reality.** Read relevant code, check that files mentioned in task.md actually exist, confirm dependencies are as expected. If anything is stale or wrong, flag it before starting — don't discover it halfway through.

4. **Set up a branch** if the workspace is a git repo:
   - Check current branch. If on `main`/`master`, create a new branch (e.g., `task/{short-task-name}`)
   - If already on a feature branch, use it
   - If no git repo, skip this entirely

5. **Update progress.md** — append a "started execution" entry. Use the `Edit` tool against the progress.md path from `task get`'s Docs section. Set status to "In Progress" and log the start time. See "Progress tracking" below for the full editing convention.
6. **State machine transition** — call `myagents task update-status <taskId> running --message "started on branch X"`. This is the one place you DO use a CLI — because `update-status` triggers program-level side effects (statusHistory audit + desktop notification + scheduler awareness) that a raw file edit can't.

## How to execute

### The core principle: decompose, delegate, synthesize

You are an orchestrator, not a brute-force executor. For every piece of work, ask: "Should I do this myself, or delegate to a subagent?"

**Do it yourself** when:
- The work is small and straightforward (a single file edit, a quick refactor)
- It requires the full context you've built up from reading the task documents
- Delegating would cost more time than doing it

**Delegate to a subagent** when:
- The work is self-contained and can be described in a focused prompt
- The work benefits from a clean context (no distraction from other parts of the task)
- Multiple independent pieces can run in parallel
- The work is exploratory (searching for an approach, investigating a dependency)

When delegating, give the subagent:
- A clear, specific goal (not "help me with X" but "modify Y to achieve Z")
- The relevant context (which files to read, what constraints apply)
- What to return (the high-value findings, not a dump of everything it saw)

When results come back, synthesize: extract the valuable information, verify it makes sense in the broader context, and decide the next step.

### Execution rhythm

Don't plan everything upfront and then execute blindly. Work in a rhythm:

```
Plan a step → Execute → Check → Adjust → Plan next step
```

After each meaningful step:
1. Check if the result moves you toward the goal in task.md
2. Update progress.md with what was done
3. Decide if the plan needs adjusting based on what you learned

If you discover something that contradicts task.md or alignment.md — stop. Don't silently work around it. This is a re-alignment trigger (see below).

### Task decomposition guidelines

Read task.md's execution plan from progress.md as a starting suggestion, not a rigid script. You may need to:
- Reorder steps based on dependencies you discover
- Split a step into smaller pieces
- Add steps that weren't anticipated
- Skip steps that turn out to be unnecessary

The goal in task.md is the invariant. The plan is flexible.

For large tasks, consider this decomposition pattern:
1. **Analysis phase** — read code, understand current state (subagent for focused exploration if needed)
2. **Implementation phase** — make the changes (yourself for interconnected changes, parallel subagents for independent modules)
3. **Integration phase** — make sure everything works together (yourself, with full context)
4. **Verification phase** — always delegated (see below)

## Verification: always independent

When you believe the work is complete, verification MUST be performed by an independent agent — never by yourself in the same context. You wrote the code; you're biased toward thinking it's correct. Fresh eyes catch what you miss.

### How to verify

1. **Read verify.md** and separate the checks into categories:

   **Automated checks** (commands to run) — run these yourself first as a quick gate. If `npm test` fails, there's no point sending to a reviewer.

   **Independent review** — delegate to a s
supportSkill

>-

agent-browserSkill

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

docxSkill

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

download-anythingSkill

>

myagents-cliSkill

>-

pdfSkill

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

pptxSkill

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

skill-creatorSkill

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.