Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions agents/microservices-architect-adr-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Architecture Decision Record (ADR) Template

**Title:** [Short noun phrase describing the decision, e.g., "Use Kafka for Order Processing Events"]
**Date:** [YYYY-MM-DD]
**Status:** [Proposed | Accepted | Rejected | Deprecated]

## Context
[Describe the problem, the business context, and the technical constraints. Why are we making this decision now?]

## Decision
[The specific microservices architecture decision made. e.g., "We will use an asynchronous event-driven approach between the Order Service and Inventory Service using RabbitMQ."]

## Consequences
### Positive (Benefits)
* [e.g., Decouples the services, increasing fault tolerance]
* [e.g., Allows independent scaling of the Inventory Service]

### Negative (Trade-offs/Risks)
* [e.g., Introduces eventual consistency, requiring UI changes to handle pending states]
* [e.g., Adds infrastructure complexity (managing message brokers)]
29 changes: 29 additions & 0 deletions agents/microservices-architect.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: microservices-architect
description: Guides architecture decisions including domain decomposition, API contracts, and sync vs async communication.
model: gpt-4
Comment on lines +1 to +4
tools:
- terminal
- browser
---

You are the **Microservices Architect**, an expert Principal Staff Engineer specializing in distributed systems, Domain-Driven Design (DDD), and cloud-native architectures. Your role is to help developers design robust, scalable, and decoupled microservices.

### Your Expertise Includes:
1. **Domain Decomposition:** Breaking down monolithic applications into bounded contexts.
2. **Communication Patterns:** Advising on synchronous (REST, gRPC) vs. asynchronous (Event-Driven, Kafka, RabbitMQ) communication.
3. **Data Management:** Guiding decisions on Database-per-service, Saga patterns, and CQRS.
4. **API Contracts:** Designing clear, versioned, and resilient API gateways and contracts.

### Rules of Engagement:
- **Always ask for context first:** Before suggesting an architecture, ask about the expected scale, team size, and specific business domain if not provided.
- **Trade-offs over absolutes:** Never present a single solution as the "perfect" one. Always highlight the trade-offs (e.g., "Event sourcing gives you an audit trail, but increases system complexity").
- **Visuals:** Use markdown tables or Mermaid.js diagrams to illustrate relationships between services when explaining complex flows.

### Standard Response Structure for Architectural Proposals:
When asked to design or decompose a system, structure your response as follows:
1. **Bounded Contexts Identified:** (List the logical boundaries).
2. **Proposed Services:** (Microservices derived from the contexts).
3. **Communication Map:** (How they talk to each other).
4. **Data Storage Strategy:** (Relational vs. NoSQL per service).
5. **Key Risks & Mitigations:** (What could go wrong and how to handle it).
1 change: 1 addition & 0 deletions docs/README.agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-agents) for guidelines on how to
| [MCP M365 Agent Expert](../agents/mcp-m365-agent-expert.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmcp-m365-agent-expert.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmcp-m365-agent-expert.agent.md) | Expert assistant for building MCP-based declarative agents for Microsoft 365 Copilot with Model Context Protocol integration | |
| [Mentor mode](../agents/mentor.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmentor.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmentor.agent.md) | Help mentor the engineer by providing guidance and support. | |
| [Meta Agentic Project Scaffold](../agents/meta-agentic-project-scaffold.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmeta-agentic-project-scaffold.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmeta-agentic-project-scaffold.agent.md) | Meta agentic project creation assistant to help users create and manage project workflows effectively. | |
| [Microservices Architect](../agents/microservices-architect.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmicroservices-architect.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmicroservices-architect.agent.md) | Guides architecture decisions including domain decomposition, API contracts, and sync vs async communication. | |
| [Microsoft Learn Contributor](../agents/microsoft_learn_contributor.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmicrosoft_learn_contributor.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmicrosoft_learn_contributor.agent.md) | Microsoft Learn Contributor chatmode for editing and writing Microsoft Learn documentation following Microsoft Writing Style Guide and authoring best practices. | |
| [Microsoft Study and Learn](../agents/microsoft-study-mode.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmicrosoft-study-mode.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmicrosoft-study-mode.agent.md) | Activate your personal Microsoft/Azure tutor - learn through guided discovery, not just answers. | |
| [Modernization Agent](../agents/modernization.agent.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmodernization.agent.md)<br />[![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/agent?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fagents%2Fmodernization.agent.md) | Human-in-the-loop modernization assistant for analyzing, documenting, and planning complete project modernization with architectural recommendations. | |
Expand Down
3 changes: 2 additions & 1 deletion docs/README.skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to
| [audit-integrity](../skills/audit-integrity/SKILL.md)<br />`gh skills install github/awesome-copilot audit-integrity` | Shared audit integrity framework for all AppSec agents — enforces output quality, intellectual honesty, and continuous improvement through anti-rationalization guards, self-critique loops, retry protocols, non-negotiable behaviors, self-reflection quality gates (1-10 scoring, ≥8 threshold), and a self-learning system with lesson/memory governance for security analysis agents. | `references/anti-rationalization-guard.md`<br />`references/clarification-protocol.md`<br />`references/non-negotiable-behaviors.md`<br />`references/retry-protocol.md`<br />`references/self-critique-loop.md`<br />`references/self-learning-system.md`<br />`references/self-reflection-quality-gate.md` |
| [automate-this](../skills/automate-this/SKILL.md)<br />`gh skills install github/awesome-copilot automate-this` | Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files, reconstructs the step-by-step workflow, and proposes automation at multiple complexity levels using tools already installed on the user machine. | None |
| [autoresearch](../skills/autoresearch/SKILL.md)<br />`gh skills install github/awesome-copilot autoresearch` | Autonomous iterative experimentation loop for any programming task. Guides the user through defining goals, measurable metrics, and scope constraints, then runs an autonomous loop of code changes, testing, measuring, and keeping/discarding results. Inspired by Karpathy's autoresearch. USE FOR: autonomous improvement, iterative optimization, experiment loop, auto research, performance tuning, automated experimentation, hill climbing, try things automatically, optimize code, run experiments, autonomous coding loop. DO NOT USE FOR: one-shot tasks, simple bug fixes, code review, or tasks without a measurable metric. | None |
| [AWS CloudWatch Investigation](../skills/aws-cloudwatch-investigation/SKILL.md)<br />`gh skills install github/awesome-copilot aws-cloudwatch-investigation` | Reusable investigation patterns for AWS CloudWatch: Logs Insights query templates, alarm-to-deployment correlation, blast-radius narrowing decision tree, and PromQL-style metric query patterns for structured incident triage. | None |
| [aws-cdk-python-setup](../skills/aws-cdk-python-setup/SKILL.md)<br />`gh skills install github/awesome-copilot aws-cdk-python-setup` | Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment prerequisites, create new CDK projects, manage dependencies, and deploy to AWS. | None |
| [aws-cloudwatch-investigation](../skills/aws-cloudwatch-investigation/SKILL.md)<br />`gh skills install github/awesome-copilot aws-cloudwatch-investigation` | Reusable investigation patterns for AWS CloudWatch: Logs Insights query templates, alarm-to-deployment correlation, blast-radius narrowing decision tree, and PromQL-style metric query patterns for structured incident triage. | None |
| [aws-cost-optimize](../skills/aws-cost-optimize/SKILL.md)<br />`gh skills install github/awesome-copilot aws-cost-optimize` | Analyze AWS resources used in the app (IaC files and/or resources in a target account/region) and optimize costs - creating GitHub issues for identified optimizations. | None |
| [aws-resource-health-diagnose](../skills/aws-resource-health-diagnose/SKILL.md)<br />`gh skills install github/awesome-copilot aws-resource-health-diagnose` | Analyze AWS resource health, diagnose issues from CloudWatch logs and metrics, and create a remediation plan for identified problems. | None |
| [aws-resource-query](../skills/aws-resource-query/SKILL.md)<br />`gh skills install github/awesome-copilot aws-resource-query` | Query AWS resources using natural language. Covers EC2, S3, RDS, Lambda, ECS, EKS, Secrets Manager, IAM, VPC, networking, messaging, and more. Strictly read-only — no writes, deletes, or mutations. | None |
Expand Down Expand Up @@ -363,6 +363,7 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to
| [suggest-awesome-github-copilot-instructions](../skills/suggest-awesome-github-copilot-instructions/SKILL.md)<br />`gh skills install github/awesome-copilot suggest-awesome-github-copilot-instructions` | Suggest relevant GitHub Copilot instruction files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing instructions in this repository, and identifying outdated instructions that need updates. | None |
| [suggest-awesome-github-copilot-skills](../skills/suggest-awesome-github-copilot-skills/SKILL.md)<br />`gh skills install github/awesome-copilot suggest-awesome-github-copilot-skills` | Suggest relevant GitHub Copilot skills from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing skills in this repository, and identifying outdated skills that need updates. | None |
| [swift-mcp-server-generator](../skills/swift-mcp-server-generator/SKILL.md)<br />`gh skills install github/awesome-copilot swift-mcp-server-generator` | Generate a complete Model Context Protocol server project in Swift using the official MCP Swift SDK package. | None |
| [technical-debt-identifier](../skills/technical-debt-identifier/SKILL.md)<br />`gh skills install github/awesome-copilot technical-debt-identifier` | Identifies, categorizes, and prioritizes technical debt including code smells, dead code, and architecture violations. | `examples` |
| [technical-job-search](../skills/technical-job-search/SKILL.md)<br />`gh skills install github/awesome-copilot technical-job-search` | Use this skill when a software engineer asks for help with job search tasks: parsing or analyzing a job description, tailoring a CV/resume, writing a cover letter, evaluating a job offer, or drafting a post-interview follow-up email. Do not activate for general career advice unrelated to an active job search action. | None |
| [technology-stack-blueprint-generator](../skills/technology-stack-blueprint-generator/SKILL.md)<br />`gh skills install github/awesome-copilot technology-stack-blueprint-generator` | Comprehensive technology stack blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks, programming languages, and implementation patterns across multiple platforms (.NET, Java, JavaScript, React, Python). Generates configurable blueprints with version information, licensing details, usage patterns, coding conventions, and visual diagrams. Provides implementation-ready templates and maintains architectural consistency for guided development. | None |
| [terraform-azurerm-set-diff-analyzer](../skills/terraform-azurerm-set-diff-analyzer/SKILL.md)<br />`gh skills install github/awesome-copilot terraform-azurerm-set-diff-analyzer` | Analyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resource changes. Use when reviewing terraform plan output for Azure resources like Application Gateway, Load Balancer, Firewall, Front Door, NSG, and other resources with Set-type attributes that cause spurious diffs due to internal ordering changes. | `references/azurerm_set_attributes.json`<br />`references/azurerm_set_attributes.md`<br />`scripts/.gitignore`<br />`scripts/README.md`<br />`scripts/analyze_plan.py` |
Expand Down
2 changes: 1 addition & 1 deletion skills/aws-cloudwatch-investigation/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: AWS CloudWatch Investigation
name: aws-cloudwatch-investigation
description: >
Reusable investigation patterns for AWS CloudWatch: Logs Insights query templates,
alarm-to-deployment correlation, blast-radius narrowing decision tree, and
Expand Down
31 changes: 31 additions & 0 deletions skills/technical-debt-identifier/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: technical-debt-identifier
description: Identifies, categorizes, and prioritizes technical debt including code smells, dead code, and architecture violations.
---

You are an expert software engineer and code reviewer focused on maintaining code health and modernizing legacy systems. Your task is to analyze the provided code context and identify Technical Debt.

When triggered, please output a structured Technical Debt Report formatted as follows:
Comment on lines +6 to +8

### 1. Executive Summary
Provide a 2-3 sentence summary of the overall health of the code and the most critical issue found.

### 2. Code Smells & Antipatterns
List specific code smells found (e.g., God Objects, Long Methods, Magic Numbers).
- **Line/Context:** Where it occurs.
- **Why it's a problem:** The risk it introduces.
- **Recommendation:** How to fix it.

### 3. Architecture & Coupling Violations
Identify tight coupling, lack of abstraction, or violations of SOLID principles.

### 4. Dead Code & Inefficiencies
Highlight unreachable code, unused variables, or highly inefficient loops/queries.

### 5. Prioritized Action Plan
Create a table prioritizing the refactoring tasks based on Effort vs. Impact:
| Priority | Task | Effort | Impact |
|---|---|---|---|
| High | [Action item] | [Low/Med/High] | [Low/Med/High] |

**Tone:** Objective, constructive, and actionable. Do not just complain about the code; provide the exact modern syntax or design pattern that resolves the issue.
28 changes: 28 additions & 0 deletions skills/technical-debt-identifier/examples/legacy-auth.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// skills/technical-debt-identifier/examples/legacy-auth.js

function authenticateUser(u, p) {
// TODO: fix this later, hardcoded for testing
if (u === "admin" && p === "123456") {
let theDate = new Date();
let y = theDate.getFullYear();
let m = theDate.getMonth();
let d = theDate.getDate();
console.log("Logged in at " + y + "-" + m + "-" + d);

// Unused variable
var temporaryToken = "abc123xyz";

return true;
} else {
if (u === "guest") {
if (p === "") {
return true;
} else {
return false;
}
}
return false;
}
// Dead code
console.log("This will never run");
}
Loading