---
name: xigua-task-orchestration
description: Use when planning or coordinating work across Agent tasks, foreground/background execution, plan documents, or task decomposition in xigua-agent.
---

# Xigua Task Orchestration

Use this skill when the task is about splitting work, choosing between foreground and background execution, or coordinating `Agent` tool usage.

## Goals

- Pick the right execution shape for the task
- Avoid unnecessary subagent use
- Keep plan, execution, and verification aligned
- Make task boundaries explicit

## Default Workflow

1. Decide whether the task is:
   - small enough for the current session
   - better as a foreground Agent task
   - better as a background task
   - better as a written plan first
2. Keep each subtask independently verifiable.
3. Prefer one clear owner per task.
4. Report task boundaries, expected artifacts, and verification path.

If the split is ambiguous, consult `references/orchestration-checklist.md`.

## Guardrails

- Do not delegate just to sound sophisticated
- Do not background work that requires immediate review
- Do not claim task completion based only on subagent self-report
