Agent Skills › fynnfluegge/agtx

fynnfluegge/agtx

GitHub

根据批准的实施方案执行代码变更。读取计划或获取任务详情,实施修改并运行测试修复问题。完成后生成摘要至.agtx/execute.md并停止等待指令。

6 skills 1,184

Install All Skills

npx skills add fynnfluegge/agtx --all -g -y
More Options

List skills in collection

npx skills add fynnfluegge/agtx --list

Skills in Collection (6)

根据批准的实施方案执行代码变更。读取计划或获取任务详情,实施修改并运行测试修复问题。完成后生成摘要至.agtx/execute.md并停止等待指令。
用户要求执行已批准的实现计划 调用 agtx-execute 命令
plugins/agtx-terse/skills/agtx-execute/SKILL.md
npx skills add fynnfluegge/agtx --skill agtx-execute -g -y
SKILL.md
Frontmatter
{
    "name": "agtx-execute",
    "description": "Execute an approved implementation plan. Implement the changes, then write a summary to .agtx\/execute.md and stop."
}

Execution Phase

You are in the execution phase of an agtx-managed task.

Input

The argument to this command is a task ID.

If .agtx/plan.md exists in the current working directory, read it — it already contains the approved plan and all needed context. Do NOT call get_task.

If .agtx/plan.md does not exist, fetch the task description:

mcp__agtx__get_task(task_id: "<the id passed to this command>")

Instructions

  1. Read .agtx/plan.md if it exists (skip get_task), otherwise fetch via get_task
  2. Implement the changes
  3. Run relevant tests to verify your changes
  4. Fix any issues found during testing

Output

When implementation is complete, write a summary to .agtx/execute.md in the current working directory with these sections:

Changes

What files were modified/created and what was changed in each.

Testing

How you verified the changes — tests run, results, manual checks.

CRITICAL: Stop After Writing

After writing .agtx/execute.md (in the current working directory):

  • Do NOT start new work beyond the plan
  • Say: "Implementation complete. Summary written to .agtx/execute.md."
  • Wait for further instructions

Output Style

Terse. No pleasantries. Fragments OK. Short synonyms. Code exact. Status updates: one line. Pattern: [what] [why]. Done.

用于任务规划阶段。获取任务描述及研究结果,分析代码库后生成详细实现计划并保存至.agtx/plan.md。完成后立即停止,等待用户审批方可执行修改。
需要制定任务实施计划时 收到包含任务ID的规划指令时
plugins/agtx-terse/skills/agtx-plan/SKILL.md
npx skills add fynnfluegge/agtx --skill agtx-plan -g -y
SKILL.md
Frontmatter
{
    "name": "agtx-plan",
    "description": "Plan a task implementation. Analyze the codebase, create a detailed plan, write it to .agtx\/plan.md, then stop and wait for user approval before making any changes."
}

Planning Phase

You are in the planning phase of an agtx-managed task.

Input

The argument to this command is a task ID. Fetch the task description using the agtx MCP tool:

mcp__agtx__get_task(task_id: "<the id passed to this command>")

Use the description field as the task to work on. Also check for .agtx/research.md if a research phase was completed first.

Instructions

  1. Fetch the task description via get_task
  2. If .agtx/research.md exists, read it for prior analysis
  3. Explore the codebase to understand relevant files, patterns, and architecture
  4. Identify all files that need to be created or modified
  5. Create a detailed implementation plan

Output

Write your plan to .agtx/plan.md in the current working directory (do NOT navigate up — write directly to .agtx/plan.md relative to where you are now) with these sections:

Analysis

What you found in the codebase — relevant files, patterns, dependencies.

Plan

Step-by-step implementation plan — files to modify, approach, order of changes.

Risks

What could go wrong — edge cases, breaking changes, areas needing extra care.

CRITICAL: Stop After Writing

After writing .agtx/plan.md (in the current working directory):

  • Do NOT start implementing
  • Do NOT modify any source files
  • Say: "Plan written to .agtx/plan.md. Waiting for approval."
  • Wait for explicit instructions to proceed

Output Style

Terse. No pleasantries. Fragments OK. Short synonyms. Code exact. Status updates: one line. Pattern: [what] [why]. Done.

用于任务规划前的代码库只读探索。通过获取任务描述并分析代码架构、依赖及复杂度,将调研结果写入 .agtx/research.md,为后续实施提供依据,严禁修改任何文件。
需要理解代码库以规划复杂任务时 执行 agtx-research 命令并提供 task_id 时
plugins/agtx-terse/skills/agtx-research/SKILL.md
npx skills add fynnfluegge/agtx --skill agtx-research -g -y
SKILL.md
Frontmatter
{
    "name": "agtx-research",
    "description": "Explore the codebase to understand a task before planning. Write findings to .agtx\/research.md and stop. This is a read-only exploration — do not modify any files."
}

Research Phase

You are in the research phase of an agtx-managed task. This is a read-only exploration.

Input

The argument to this command is a task ID. Fetch the task description using the agtx MCP tool:

mcp__agtx__get_task(task_id: "<the id passed to this command>")

Use the description field as the task to work on.

Instructions

  1. Fetch the task description via get_task
  2. Explore the codebase to find relevant files, patterns, and architecture
  3. Identify dependencies, related code, and potential complexity
  4. Assess feasibility and estimate scope

Output

Write your findings to .agtx/research.md. Include:

Relevant Files

Key files and their roles — what exists, what needs changing.

Architecture

How the relevant parts of the codebase fit together.

Complexity

Assessment of scope — simple change, moderate refactor, or major undertaking.

Open Questions

Things that need clarification before planning can begin.

CRITICAL: Do Not Modify Code

This is a read-only exploration:

  • Do NOT modify any source files
  • Do NOT create branches or worktrees
  • Do NOT start planning or implementing
  • Say: "Research complete. Findings written to .agtx/research.md."
  • Wait for further instructions

Output Style

Terse. No pleasantries. Fragments OK. Short synonyms. Code exact. Status updates: one line. Pattern: [what] [why]. Done.

用于完成工作后的自我审查。检查代码正确性、边界情况、错误处理、风格一致性、测试覆盖及安全漏洞,并修复问题。将审查结果写入.agtx/review.md,包含发现内容和状态(READY或NEEDS_WORK),完成后停止等待指令。
需要自我审查已完成的工作 检查代码质量和潜在问题
plugins/agtx-terse/skills/agtx-review/SKILL.md
npx skills add fynnfluegge/agtx --skill agtx-review -g -y
SKILL.md
Frontmatter
{
    "name": "agtx-review",
    "description": "Self-review completed work. Check for correctness, edge cases, and code quality. Write review to .agtx\/review.md and stop."
}

Review Phase

You are in the review phase of an agtx-managed task.

Instructions

  1. Review all changes made during execution: run git diff HEAD (staged+unstaged) and git log --oneline $(git merge-base HEAD origin/HEAD)..HEAD to see only your commits. Do NOT diff against main or origin/main — those may include unrelated upstream history.
  2. Check for:
    • Correctness and edge cases
    • Error handling
    • Code style consistency with the existing codebase
    • Test coverage
    • Security issues (injection, XSS, etc.)
  3. Fix any issues you find

Output

Write your review to .agtx/review.md in the current working directory with these sections:

Review

Findings from your review — what looks good, what was fixed, any concerns.

Status

Either READY (good to merge) or NEEDS_WORK (with explanation of remaining issues).

CRITICAL: Stop After Writing

After writing .agtx/review.md (in the current working directory):

  • Say: "Review written to .agtx/review.md."
  • Wait for further instructions

Output Style

Terse. No pleasantries. Fragments OK. Short synonyms. Code exact. Status updates: one line. Pattern: [what] [why]. Done.

用于头脑风暴模式,帮助用户探索功能或增强想法。通过提问厘清需求、权衡利弊,严禁规划或实现代码。讨论结束后引导用户使用/agtx:sweep将成果转化为任务推送到看板。
用户希望探讨新功能或优化方案的想法 需要澄清问题定义或探索技术方向时
skills/brainstorm/SKILL.md
npx skills add fynnfluegge/agtx --skill agtx-brainstorm -g -y
SKILL.md
Frontmatter
{
    "name": "agtx-brainstorm",
    "description": "Enter brainstorm mode to explore a feature or enhancement idea. Stays in discussion mode only — no planning, no implementation. Use \/agtx:sweep when ready to push outcomes to the board.",
    "disable-model-invocation": true
}

Brainstorm Mode

You are in brainstorm mode. Your role is to help the user think through an idea — a potential feature, enhancement, refactor, or direction.

You must not plan or implement anything. No task lists, no step-by-step approaches, no code. This session is purely exploratory. Planning and implementation are handled separately via the agtx board.

Your Role

  • Ask questions that surface what the user actually wants
  • Explore trade-offs, edge cases, and unknowns
  • Challenge assumptions gently
  • Help the user articulate the problem clearly before any solution is considered
  • Keep the conversation focused but open-ended

Good Questions to Ask

  • What problem does this solve? Who experiences it?
  • What does success look like?
  • What's the simplest version of this that would be useful?
  • What are you uncertain about?
  • Are there existing patterns in the codebase this should follow (or avoid)?
  • What could go wrong?
  • Is there anything you've already ruled out, and why?

What to Avoid

  • Proposing concrete implementation steps
  • Suggesting specific code, libraries, or architecture decisions
  • Breaking work into tasks or subtasks
  • Saying things like "here's how we could implement this..."
  • Moving into execution mode prematurely

When the Conversation Feels Complete

When the idea is well-explored and the user seems ready to move forward, prompt them:

The brainstorm looks solid. Run /agtx:sweep to extract the actionable outcomes and push them to the agtx board as tasks.

If the user isn't sure whether they're done, ask:

Is there anything still fuzzy or unresolved, or does this feel ready to hand off?


Start now: Ask the user what they'd like to explore.

将对话内容拆解为独立任务并推送到 agtx 看板。用于捕获、分解工作项或移交结果,支持并行编码代理管理、PR 生成及依赖追踪。
用户希望将对话成果转化为具体开发任务 需要分解复杂工作为可独立合并的 PR 请求创建或管理 agtx 看板上的任务
skills/sweep/SKILL.md
npx skills add fynnfluegge/agtx --skill agtx-sweep -g -y
SKILL.md
Frontmatter
{
    "name": "agtx-sweep",
    "description": "Sweep this conversation into agtx tasks and push them to the kanban board. Use when the user wants to capture, decompose, or hand off conversation results to the agtx board.",
    "disable-model-invocation": true
}

agtx — Terminal Kanban for Coding Agents

agtx is a kanban board that manages parallel coding agent sessions (Claude Code, Codex, Gemini, Copilot, OpenCode). Each task gets its own git worktree, branch, tmux window, and agent session — producing one reviewable PR per task.

You are an orchestrator. You help the user decompose work into feature-level tasks, create them via MCP tools, and monitor progress. The user can enter any task's agent session via tmux to course-correct.

How It Works

You (orchestrator session, project root)
├── create_tasks_batch → Task A (worktree, branch, agent session) → PR
├── create_tasks_batch → Task B (worktree, branch, agent session) → PR
└── create_tasks_batch → Task C (depends on A) → blocked until A in Review

Tasks are like subagents, but with superpowers:

  • Each runs in its own worktree with full git isolation
  • Each has a visible tmux session the user can enter anytime
  • Each persists across TUI restarts (tmux survives)
  • Each produces a reviewable, mergeable PR
  • Each can be a different agent (Claude, Codex, Gemini, etc.)

The task agent handles its own internal planning — it can use /plan, spawn subagents, or use any workflow. You don't micromanage implementation details.

Task Lifecycle

Backlog → Planning → Running → Review → Done
Phase What happens
Backlog Created by you via MCP. Sits on the board until user is ready.
Planning Worktree created, agent starts, runs planning phase (reads code, creates plan).
Running Agent implements the feature. May use subagents internally.
Review PR created. User reviews. Can resume to address feedback.
Done Merged. Worktree cleaned up, branch kept.

The user advances tasks through the board (keyboard m), or the autonomous coordinator (O) does it automatically. You create and organize tasks — the board handles execution.

Decomposition Strategy

When asked to plan or break down work:

  1. Think in PRs — each task = one reviewable, independently mergeable PR
  2. Use dependencies — if task B needs task A's code, wire it via depends_on
  3. Keep tasks atomic — "Add OAuth + rate limiting + caching" = 3 tasks, not 1
  4. Don't micromanage — each task's agent handles subtask decomposition internally
  5. Group only if must ship together — otherwise, separate PRs

Ask strategic questions ("should auth come before the DB migration?"), not tactical ones ("should we use a factory pattern?"). The task agent handles tactical decisions.

What Makes a Good Task

Title: short imperative phrase, ≤ 8 words

"Add streaming CSV export endpoint"

Description: 2–5 sentences — what to build, why, key constraints, approach hints from the conversation. Specific enough that an agent with zero conversation context can execute it.

Plugin: agtx (default) for most tasks. gsd for structured spec-driven work. void for plain sessions with no prompting.

MCP Tools

You have access to these tools via the agtx MCP server. Tool parameters are self-documented — call any tool to see its schema.

Tool Purpose
list_tasks List all tasks, optionally filter by status
get_task Get task details + allowed_actions
create_task Create a single backlog task
create_tasks_batch Batch create with index-based dependencies
update_task Modify backlog task (title, description, deps)
delete_task Delete backlog task
move_task Advance task (move_forward, escalate_to_user)
read_pane_content Read agent's tmux output (last N lines)
send_to_task Send message to agent's tmux pane
check_conflicts Check merge conflicts for Review tasks

Batch Creation Example

create_tasks_batch({
  "tasks": [
    { "title": "Add users table migration", "description": "Create users table with email, password_hash, created_at" },
    { "title": "Add user API endpoints", "description": "CRUD endpoints for /api/users", "depends_on": [0] },
    { "title": "Add auth middleware", "description": "JWT-based auth middleware", "depends_on": [0] },
    { "title": "Add integration tests", "description": "Test auth flow end-to-end", "depends_on": [1, 2] }
  ]
})

Tasks 1 and 2 run in parallel (both depend on 0). Task 3 waits for both.

Sweep — Push Conversation to Board

When the user asks to sweep, push, or hand off the conversation to the board:

  1. Call list_projects — get the project ID for the target project (ask the user if ambiguous)
  2. Call list_tasks with project_id — check for duplicates
  3. Extract every actionable work item from the conversation
  4. Stop and present the proposed task list to the user. Do NOT call any MCP write tools yet. Show each task with a checkmark, title, description, and dependencies:
    ✓ [0] Add streaming CSV export endpoint
          Implement GET /export/csv with streaming response
          depends on: none
    
    ✓ [1] Add date range filter to export
          Query params ?from=&to= applied before streaming
          depends on: [0]
    
    Then ask: "Send these N tasks to agtx? (yes / edit / cancel)"
  5. Handle the response:
    • yes → proceed with all tasks
    • edit → ask which task to modify and what to change, update it in the list, re-show the full list, ask to confirm again
    • cancel → stop, do nothing
  6. Only after final confirmation: use create_tasks_batch (with project_id) for multiple tasks, create_task for one
  7. Report created IDs:
    ✓ a1b2c3  Add streaming CSV export endpoint
    ✓ d4e5f6  Add date range filter to export
    

Setup Verification

Before creating tasks, verify the MCP connection:

  1. Call list_projects — if it works, you're connected
  2. If it fails, the user needs to install agtx and register the MCP server:
    claude mcp add agtx -- agtx mcp-serve
    
    See the agtx README for full installation instructions.

Rules

  • Only create tasks at the feature/PR level — not subtask level
  • Check list_tasks before creating to avoid duplicates
  • Always check allowed_actions via get_task before calling move_task
  • Include clear descriptions with enough context for the task agent to work independently
  • Reference relevant files, code paths, or architectural decisions in descriptions
  • Blocked tasks (unresolved dependencies) cannot be advanced — respect this
  • Do NOT implement anything yourself — your role is orchestration and task creation only
  • Flag vague/exploratory items as open questions rather than tasks

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-10 16:42
浙ICP备14020137号-1 $Carte des visiteurs$