design-task
БесплатноБез исполняемых скриптовНе проверенCrewAI task design and configuration. Use when creating, configuring, or debugging crewAI tasks — writing descriptions and expected_output, setting up task…
от crewAIInc★ 51 звезда на GitHubОб этом скилле
CrewAI Task Design Guide
How to write effective tasks that produce reliable, high-quality output from your agents.
Verified against crewai 1.15.22 and 1.15.23 on 2026-10-01. Live-tested with real LLMs on 2026-10-01. For exact current API forms (imports, parameter names, structured output, guardrail signatures) the check-crewai-api skill is the reference; where this skill and it disagree, follow check-crewai-api.
The 80/20 rule: spend 80% of your effort on task design, 20% on agent design. The task is the most important lever you have. A well-designed task with a mediocre agent will outperform a poorly designed task with an excellent agent.
1. Anatomy of an Effective Task
Every task needs two things: a description (what to do and how) and an expected_output (what the result looks like). Both are required - Task(description=...) alone raises ValidationError ... expected_output Field required.
Description — The Instructions
A good description includes:
- What to do — the core action
- How to do it — specific steps or approach
- Context — why this matters, what it feeds into
- Constraints — scope limits, things to avoid
- Inputs — what data or context is available
research_task:
description: >
Conduct thorough research about {topic} for the year {current_year}.
Your research should:
1. Identify the top 5 key trends and breakthroughs
2. For each trend, find at least 2 credible sources
3. Note any controversies or competing viewpoints
4. Assess potential industry impact (high/medium/low)
Focus on developments from the last 6 months.
Do NOT include speculation or unverified claims.
The output will feed into a report for {target_audience}.
expected_output: >
A structured research brief with 5 sections, one per trend.
Each section includes: trend name, 2-3 paragraph summary,
source citations, impact assessment (high/medium/low),
and a confidence level for your findings.
agent: researcher
Expected Output — The Success Criteria
The expected_output tells the agent what "done" looks like. Be specific about:
- Format — bullet points, paragraphs, JSON, table
- Structure — sections, headings, order
- Length — approximate word count or number of items
- Quality markers — citations required, confidence levels, specific fields
| Bad Expected Output | Good Expected Output |
|---|---|
A research report |
A structured brief with 5 sections, each containing: trend name, 2-3 paragraph summary, source citations, and impact rating |
An analysis of the data |
A markdown table with columns: metric name, current value, 30-day trend, and recommended action. Include at least 10 metrics. |
A blog post |
A 1000-1500 word technical blog post with: title, introduction, 3-4 main sections with code examples, and a conclusion with next steps |
2. The Single Purpose Principle
One task = one objective. Never combine multiple operations into a single task.
# DON'T - a "god task" with four objectives
research_and_write_task:
description: >
Research {topic}, analyze the findings, write a blog post,
and proofread it for grammar errors.
expected_output: >
A polished blog post about {topic}.
# DO - focused tasks, one objective each
research_task:
description: >
Research {topic} and identify the top 5 key developments.
expected_output: >
A research brief with 5 sections covering key trends.
agent: researcher
writing_task:
description: >
Using the research findings, write a technical blog post about {topic}.
expected_output: >
A 1000-1500 word blog post with introduction, main sections, and conclusion.
agent: writer
# ...and an editing_task with agent: editor
Each task has one clear objective. The sequential flow passes context automatically.
3. Task Configuration Reference
Essential Parameters
Task(description="...", expected_output="...", agent=researcher) # agent: required for sequential, optional for hierarchical
A sequential crew with an agent-less task fails at Crew(...): Sequential process error: Agent is missing in the task ....
Task Dependencies with context
analysis_task = Task(description="Analyze the research findings...", expected_output="...",
agent=analyst, context=[research_task]) # receives only research_task's output
The rule is the same in sequential and hierarchical crews:
- No
context- the task receives the raw output of every task that ran before it. context=[a, b]- the task receives only those tasks' outputs.context=[]- the task receives no prior output at all.
A context entry must be an earlier task in the crew; pointing at a later task fails at Crew(...) ("context dependency on a future task").
Structured Output
Use output_pydantic or output_json when dow
Установить design-task в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-task?
CrewAI task design and configuration. Use when creating, configuring, or debugging crewAI tasks — writing descriptions and expected_output, setting up task dependencies with context, configuring output formats (output_pydantic, output_json, output_file), using guardrails for validation, enabling human_input, async execution, markdown formatting, or debugging task execution issues.
Как установить скилл design-task?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-task запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic