skills/skill-collections/ai-agent-building/agent-workflow/SKILL.md
Complete workflow for building, implementing, and testing goal-driven agents. Orchestrates building-agents-* and testing-agent skills. Use when starting a new agent project, unsure which skill to use, or need end-to-end guidance.
npx skillsauth add zjunlp/Skills agent-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Complete Standard Operating Procedure (SOP) for building production-ready goal-driven agents.
This workflow orchestrates specialized skills to take you from initial concept to production-ready agent:
/building-agents-core (optional)/building-agents-construction/building-agents-patterns (optional)/setup-credentials (if agent uses tools requiring API keys)/testing-agentUse this meta-skill when:
Skip this workflow if:
/testing-agent directly"Need to understand agent concepts" → building-agents-core
"Build a new agent" → building-agents-construction
"Optimize my agent design" → building-agents-patterns
"Set up API keys for my agent" → setup-credentials
"Test my agent" → testing-agent
"Not sure what I need" → Read phases below, then decide
"Agent has structure but needs implementation" → See agent directory STATUS.md
Duration: 5-10 minutes
Skill: /building-agents-core
Input: Questions about agent architecture
Skip this phase if you already understand agent fundamentals.
Duration: 15-30 minutes
Skill: /building-agents-construction
Input: User requirements ("Build an agent that...")
Creates the complete agent architecture:
exports/agent_name/)exports/agent_name/ package createdpython -m agent_name validate)You're ready for Phase 2 when:
The building-agents-construction skill produces:
exports/agent_name/
├── __init__.py (package exports)
├── __main__.py (CLI interface)
├── agent.py (goal, graph, agent class)
├── nodes/__init__.py (node specifications)
├── config.py (configuration)
├── implementations.py (may be created for Python functions)
└── README.md (documentation)
If structure complete and validated:
→ Check exports/agent_name/STATUS.md or IMPLEMENTATION_GUIDE.md
→ These files explain implementation options
→ You may need to add Python functions or MCP tools (not covered by current skills)
If want to optimize design: → Proceed to Phase 1.5 (building-agents-patterns)
If ready to test: → Proceed to Phase 2
Duration: 10-15 minutes
Skill: /building-agents-patterns
Input: Completed agent structure
Skip this phase if your agent design is straightforward.
Duration: 20-40 minutes
Skill: /testing-agent
Input: Working agent from Phase 1
Creates comprehensive test suite:
exports/agent_name/tests/exports/agent_name/tests/You're done when:
Agent ready for:
Trigger signals:
Before proceeding:
from exports.agent_name import default_agentWhen to skip Phase 1:
When to skip Phase 2:
User: "Build an agent that monitors files"
→ Use /building-agents-construction
→ Agent structure created
→ Use /testing-agent
→ Tests created and passing
→ Done: Production-ready agent
User: "Build an agent (first time)"
→ Use /building-agents-core (understand concepts)
→ Use /building-agents-construction (build structure)
→ Use /building-agents-patterns (optimize design)
→ Use /testing-agent (validate)
→ Done: Production-ready agent
User: "Test my agent at exports/my_agent"
→ Skip Phase 1
→ Use /testing-agent directly
→ Tests created
→ Done: Validated agent
User: "Build an agent"
→ Use /building-agents-construction (Phase 1)
→ Implementation needed (see STATUS.md)
→ [User implements functions]
→ Use /testing-agent (Phase 2)
→ Tests reveal bugs
→ [Fix bugs manually]
→ Re-run tests
→ Done: Working agent
User: "Build an agent with multi-turn conversations"
→ Use /building-agents-core (learn pause/resume)
→ Use /building-agents-construction (build structure)
→ Use /building-agents-patterns (implement pause/resume pattern)
→ Use /testing-agent (validate conversation flows)
→ Done: Complex conversational agent
agent-workflow (meta-skill)
│
├── building-agents-core (foundational)
│ ├── Architecture concepts
│ ├── Node/Edge/Goal definitions
│ ├── Tool discovery procedures
│ └── Workflow overview
│
├── building-agents-construction (procedural)
│ ├── Creates package structure
│ ├── Defines goal
│ ├── Adds nodes incrementally
│ ├── Connects edges
│ ├── Finalizes agent class
│ └── Requires: building-agents-core
│
├── building-agents-patterns (reference)
│ ├── Best practices
│ ├── Pause/resume patterns
│ ├── Error handling
│ ├── Anti-patterns
│ └── Performance optimization
│
└── testing-agent
├── Reads agent goal
├── Generates tests
├── Runs evaluation
└── Reports results
PYTHONPATH=core:exports python -m agent_name validate/testing-agent to debug and iterateRun these checks:
# Check if agent structure exists
ls exports/my_agent/agent.py
# Check if it validates
PYTHONPATH=core:exports python -m my_agent validate
# Check if tests exist
ls exports/my_agent/tests/
# If structure exists and validates → Phase 2 (testing)
# If structure doesn't exist → Phase 1 (building)
# If tests exist but failing → Debug phase
You're done with the workflow when:
✅ Agent structure validates ✅ All tests pass ✅ Success criteria met ✅ Constraints verified ✅ Documentation complete ✅ Agent ready for deployment
.claude/skills/building-agents-core/SKILL.md.claude/skills/building-agents-construction/SKILL.md.claude/skills/building-agents-patterns/SKILL.md.claude/skills/testing-agent/SKILL.mdcore/README.mdexports/ directoryThis workflow provides a proven path from concept to production-ready agent:
/building-agents-core → Understand fundamentals (optional)/building-agents-construction → Get validated structure/building-agents-patterns → Apply best practices (optional)/testing-agent → Get verified functionalityThe workflow is flexible - skip phases as needed, iterate freely, and adapt to your specific requirements. The goal is production-ready agents built with consistent, repeatable processes.
Choose building-agents-core when:
Choose building-agents-construction when:
Choose building-agents-patterns when:
Choose testing-agent when:
development
Expert AWS solution architecture for startups focusing on serverless, scalable, and cost-effective cloud infrastructure with modern DevOps practices and infrastructure-as-code
tools
AWS development with infrastructure automation and cloud architecture patterns
development
Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.
development
Terraform infrastructure specialist for Vertex AI ADK Agent Engine production deployments. Provisions Agent Engine runtime, Code Execution Sandbox, Memory Bank, VPC-SC, IAM, and secure multi-agent infrastructure. Triggers: "deploy adk terraform", "agent engine infrastructure", "adk production deployment", "vpc-sc agent engine"