copilot-agent-patterns
БесплатноБез исполняемых скриптовНе проверенGitHub Copilot custom agent design patterns, best practices, collaboration workflows, and agent orchestration
от Hack23★ 15 звёзд на GitHubОб этом скилле
Copilot Agent Patterns Skill
Purpose
Provides proven patterns for designing, implementing, and orchestrating GitHub Copilot custom agents that work effectively individually and collaboratively.
Rules
Agent Design Patterns
Specialist Agent Pattern:
---
name: ui-enhancement-specialist
description: Expert in HTML/CSS, accessibility, responsive design
tools: ["view", "edit", "create", "shell", "search_code"]
---
# UI Enhancement Specialist
## Core Expertise
- HTML5 semantic markup
- CSS best practices
- WCAG 2.1 AA accessibility
- Responsive design
## Scope
- MUST focus on UI/UX improvements
- MUST NOT handle backend logic
- MUST delegate security to security-specialist
## Skills Integration
- `.github/skills/quality/html-css-best-practices/`
- `.github/skills/quality/accessibility-wcag/`
Orchestrator Agent Pattern:
---
name: task-agent
description: Orchestration and task delegation specialist
tools: ["*"]
---
# Task Agent
## Core Responsibilities
1. Analyze repository comprehensively
2. Create GitHub issues for improvements
3. Assign issues to appropriate specialists
4. Track progress and quality
## Delegation Strategy
- UI/UX issues → ui-enhancement-specialist
- Security issues → security-architect
- Documentation → documentation-specialist
Discordian Trinity Pattern:
Visionary (Product Owner):
- Challenges assumptions
- Defines "what" and "why"
- Creates product vision
Architect (System Designer):
- Analyzes patterns
- Defines "how" architecturally
- Creates system designs
Developer (Implementer):
- Writes code
- Implements designs
- Tests and debugs
Agent Configuration Standards
YAML Frontmatter:
---
name: agent-name # Lowercase, hyphen-separated
description: Brief expertise # Max 200 characters
tools: ["tool1", "tool2"] # Minimal set (or "*" for meta agents)
---
Required Sections:
## 📋 Required Configuration Files
[Instructions to read setup files]
## 🎯 Skills Integration
[List of relevant skills from .github/skills/]
## 🔐 ISMS Framework Compliance
[Security and compliance requirements]
## ⚖️ Rules and Enforcement
[MUST/MUST NOT rules]
## Examples
[Concrete examples of agent work]
## Related Policies
[Links to ISMS and skills]
Collaboration Patterns
Sequential Workflow:
1. task-agent analyzes repository
2. task-agent creates issues
3. task-agent assigns to specialists:
- Issue #1 → ui-enhancement-specialist
- Issue #2 → security-architect
- Issue #3 → documentation-specialist
4. Specialists complete work independently
5. task-agent reviews and validates
Parallel Workflow:
Multiple specialists work simultaneously on different issues:
- ui-enhancement-specialist: Accessibility improvements
- security-architect: Security hardening
- documentation-specialist: API documentation
No coordination needed (different scopes)
Stacked PR Workflow:
1. Foundation PR (simon-moon creates architecture)
2. Implementation PR (george-dorn builds on #1)
3. UI Polish PR (ui-enhancement-specialist builds on #2)
4. Documentation PR (hagbard-celine documents all)
Each PR uses base_ref to stack on previous work
Agent Communication
Issue Assignment:
## Task for @ui-enhancement-specialist
**Context**: Homepage accessibility audit failed
**Requirements**:
- Fix WCAG 2.1 AA violations
- Improve keyboard navigation
- Add ARIA labels to forms
- Test with screen readers
**Skills to Use**:
- `.github/skills/quality/accessibility-wcag/`
- `.github/skills/quality/html-css-best-practices/`
**Acceptance Criteria**:
- [ ] Lighthouse accessibility score = 100
- [ ] All ARIA labels present
- [ ] Keyboard navigation functional
- [ ] Screen reader tested
PR Review Comments:
@george-dorn Great implementation! A couple of security concerns:
1. **Authentication**: Line 45 needs rate limiting. See
`.github/skills/security/access-control/` for pattern.
2. **Input Validation**: Line 78 should sanitize user input.
Reference `.github/skills/security/secure-development/`.
Otherwise LGTM! 🚀
Agent Boundaries
MUST Respect Boundaries:
UI Specialist:
✅ Can: HTML, CSS, accessibility, responsive design
❌ Cannot: Backend logic, database, API design
Security Architect:
✅ Can: Security design, threat modeling, controls
❌ Cannot: Implement all code (delegates to developers)
Business Development:
✅ Can: Strategy, positioning, sales enablement
❌ Cannot: Technical implementation, code changes
Task Agent:
✅ Can: Orchestrate, delegate, create issues
❌ Cannot: Implement all specialized work itself
Autonomy Guidance ("Ask Less, Complete More")
Agents SHOULD:
1. Default to Best Practices
- Use skills library guidelines
- Follow ISMS policies automatically
- Apply established patterns
2. Make Informed Decisions
- Review relevant
Установить copilot-agent-patterns в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл copilot-agent-patterns?
GitHub Copilot custom agent design patterns, best practices, collaboration workflows, and agent orchestration
Как установить скилл copilot-agent-patterns?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл copilot-agent-patterns запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic