design-task

Design and configure CrewAI tasks with descriptions, outputs, dependencies, and guardrails.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/blue-ghost-ai/cate-template-for-crewai --skill design-task-blue-ghost-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-task
Source: https://github.com/blue-ghost-ai/cate-template-for-crewai/tree/main/.claude/skills/design-task
Command: npx skills add https://github.com/blue-ghost-ai/cate-template-for-crewai --skill design-task-blue-ghost-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing CrewAI tasks that produce reliable, structured output is hard: vague descriptions yield unfocused results, missing context breaks task chains, and unvalidated output flows downstream unchecked. This Skill provides a complete guide to designing tasks that consistently deliver high-quality results. ## Core Features & Use Cases - Task Anatomy Guidance: Write effective descriptions and expected_output strings with concrete format, structure, and quality criteria, following the single-purpose principle. - Configuration Reference: Covers context dependencies, output_pydantic/output_json structured output, output_file, async execution, human_input review, markdown formatting, and callbacks. - Guardrails & Validation: Implement function-based and LLM-based guardrails with retry limits to validate task output before it passes downstream. - Use Case: When building a research-and-report crew, use this Skill to split work into focused tasks, wire context dependencies, attach Pydantic output models, and add word-count guardrails. ## Quick Start Ask the AI to design a CrewAI task with a clear description, expected output, and a guardrail for your current crew configuration.

Frequently Asked Questions about design-task

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a good CrewAI task description?

A good CrewAI task description states what to do, how to do it, why it matters, and what constraints apply. Include specific steps, scope limits, and available inputs so the agent produces focused output instead of guessing.

How do I pass output between CrewAI tasks?

In sequential process, each task automatically receives all prior task outputs. For non-linear dependencies, set context=[prior_task] on the dependent task to explicitly control which outputs it receives.

What is the difference between output_pydantic and output_json in CrewAI?

output_pydantic returns a validated Pydantic model accessed via result.pydantic, while output_json returns a parsed dict accessed via result.json_dict. Both use a Pydantic model to define the schema, and expected_output remains a human-readable string.

How do CrewAI task guardrails work?

Guardrails validate task output before it passes downstream, returning (bool, result_or_error). On failure the agent retries up to guardrail_max_retries. You can chain function-based checks with LLM-based string guardrails.

Why does my CrewAI task show literal {variable} placeholders?

Literal placeholders appear when a variable in the YAML description is missing from the inputs dict passed to crew.kickoff(). CrewAI uses single braces {variable}, not Jinja2 double braces, and unused inputs are silently ignored.

When should I not use human_input on a CrewAI task?

Do not use human_input to model normal conversational follow-up; that belongs in a conversational Flow calling handle_turn() per message. Reserve human_input for approving or correcting a specific task output before it moves downstream.