Instruction file imported from JSdotNet/Lets-BBQ (
.github/instructions/agent/meta-agent.instructions.md). Copyright stays with the author.
Agent Instructions
Purpose
Define the standard for creating, structuring, and using agent files in the project. An agent configures the behavior of an AI agent (e.g., Copilot) for a specific context or workflow (e.g., architect, reviewer, tester).
General Rules
- An agent file must only be created if the user explicitly requests a specific dialogue/configuration mode for the AI (e.g., "Create an architect agent", "Add a reviewer agent").
- Agents are passive: they modify the AI's behavior in the background for all relevant requests.
- Each agent must be documented in English and clearly describe:
- The expected role of the AI (e.g., "Act as an experienced software architect")
- The priorities, tone, constraints, and objectives of the mode
- The specific instructions to apply (e.g., "Always propose an architecture before generating code")
- The file name must follow the format:
{role}.agent.md(e.g.,architect.agent.md,reviewer.agent.md). - The front matter must include:
tools(optional): List of tools required by the agent.description(optional): summary of the agent
Agent File Structure
- Front matter YAML (mandatory)
- Main title (
#) - Agent purpose
- Expected behavior
- Constraints and priorities
- Example usage
- References (other related instructions or prompts)
Examples
---
description: "Architect: Configure Copilot to act as a software architect."
---
# Architect Agent
## Purpose
Configure the AI to act as an experienced software architect, focusing on planning, documentation, and high-level design before any code generation.
## Expected Behavior
- Always propose an architecture or design before generating code.
- Use only Markdown for outputs (no code unless explicitly requested).
- Ask clarifying questions if requirements are ambiguous.
## Priorities
- Clarity, maintainability, and scalability of proposed solutions.
- Alignment with project instructions and standards.
## Example Usage
- "Design a microservice architecture for a file upload system."
- "What are the trade-offs between REST and gRPC for this use case?"
## References
- domain-driven-design.instructions.md
- object_calisthenics.instructions.md
Validation Checklist
- The file name follows the
{role}.agent.mdformat. - The role and behavior are clearly defined.
- The file is in English and follows the recommended structure.
- References to other instructions are present if relevant.