Utilities for testing and validating the agent library.
Validates all agent files for proper formatting and structure.
Usage:
./scripts/validate-agents.shChecks:
- File exists and is not empty
- Has YAML frontmatter (starts with
---) - Has required fields (
name:anddescription:) - Has sufficient content
- File size is reasonable
Exit Codes:
0- All validations passed1- One or more validations failed
Template for documenting test results when testing agents.
Usage:
- Copy the template
- Fill in test results for each agent
- Document issues found
- Save as dated report (e.g.,
test-report-2024-04-02.md)
What to track:
- Test scenario used
- Response time
- Output quality (1-5 stars)
- Issues found
- Additional notes
# Validate all agent files
./scripts/validate-agents.sh# CLI - Test a specific agent
gh copilot agent run orchestrator "Build a simple REST API"
# VS Code - Test in IDE
# 1. Copy agents to .github/agents/ in workspace
# 2. Open Copilot Chat
# 3. Type: @orchestrator Build a simple REST APIFollow the scenarios in TESTING.md for comprehensive testing.
When adding new scripts:
- Add executable permissions:
chmod +x scripts/new-script.sh - Document in this README
- Include usage examples
- Follow bash best practices