feat: add technical-debt-identifier skill and microservices-architect…#2208
Open
f-lrz wants to merge 3 commits into
Open
feat: add technical-debt-identifier skill and microservices-architect…#2208f-lrz wants to merge 3 commits into
f-lrz wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new technical-debt-identifier Skill and a new microservices-architect Agent to extend the repository’s reusable Copilot assets, and also normalizes the aws-cloudwatch-investigation skill name to match the repository’s lowercase-hyphenated naming.
Changes:
- Added
technical-debt-identifierskill with an example legacy auth snippet underexamples/. - Added
microservices-architectagent plus an ADR template asset intended to support architecture decision capture. - Updated generated docs to include the new skill/agent and adjusted the CloudWatch skill display name.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/technical-debt-identifier/SKILL.md | New skill definition/instructions for generating a structured technical-debt report. |
| skills/technical-debt-identifier/examples/legacy-auth.js | Example “legacy” code sample intended for demonstrating technical-debt detection. |
| skills/aws-cloudwatch-investigation/SKILL.md | Renames the skill name to the lowercase-hyphenated form to match conventions. |
| docs/README.skills.md | Adds the new skill entry and updates the CloudWatch skill entry label. |
| docs/README.agents.md | Adds the new agent entry. |
| agents/microservices-architect.agent.md | New agent definition for microservices architecture guidance. |
| agents/microservices-architect-adr-template.md | ADR template asset intended to accompany the new agent. |
| @@ -0,0 +1,31 @@ | |||
| --- | |||
| name: technical-debt-identifier | |||
| description: Identifies, categorizes, and prioritizes technical debt including code smells, dead code, and architecture violations. | |||
Comment on lines
+6
to
+8
| 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
+1
to
+4
| --- | ||
| name: microservices-architect | ||
| description: Guides architecture decisions including domain decomposition, API contracts, and sync vs async communication. | ||
| model: gpt-4 |
| 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). |
Comment on lines
+1
to
+2
| # Architecture Decision Record (ADR) Template | ||
|
|
| | [MCP M365 Agent Expert](../agents/mcp-m365-agent-expert.agent.md)<br />[](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 />[](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 />[](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 />[](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 />[](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 />[](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 />[](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 />[](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. | | |
Contributor
🔒 PR Risk Scan ResultsScanned 6 changed file(s).
|
Contributor
🔍 Vally Lint Results
Summary
Full linter output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a new Skill and a new Agent to help teams maintain code quality and scale their architecture, fulfilling the requirements for the #awesome-copilot challenge.
🧰 Skill:
technical-debt-identifierAnalyzes legacy code and provides a structured Technical Debt Report, identifying code smells, architecture violations, and generating a prioritized refactoring table.
legacy-auth.jsin the examples folder to demonstrate how the skill catches hardcoded credentials and dead code.🎭 Agent:
microservices-architectA specialized persona that guides developers through Domain-Driven Design, sync vs async communication patterns, and data decoupling.
Video Demonstration
https://www.loom.com/share/b33d3af2780a4078be0965224c6e3919
Checklist
mainbranch.npm run skill:validate.