Skip to content

feat: add technical-debt-identifier skill and microservices-architect…#2208

Open
f-lrz wants to merge 3 commits into
github:mainfrom
f-lrz:feat/filipe-tech-debt-and-microservices
Open

feat: add technical-debt-identifier skill and microservices-architect…#2208
f-lrz wants to merge 3 commits into
github:mainfrom
f-lrz:feat/filipe-tech-debt-and-microservices

Conversation

@f-lrz

@f-lrz f-lrz commented Jul 3, 2026

Copy link
Copy Markdown

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-identifier

Analyzes legacy code and provides a structured Technical Debt Report, identifying code smells, architecture violations, and generating a prioritized refactoring table.

  • Extra Asset: Included legacy-auth.js in the examples folder to demonstrate how the skill catches hardcoded credentials and dead code.

🎭 Agent: microservices-architect

A specialized persona that guides developers through Domain-Driven Design, sync vs async communication patterns, and data decoupling.

  • Extra Asset: Included a standard Architecture Decision Record (ADR) template to document decisions made with the Agent.

Video Demonstration

https://www.loom.com/share/b33d3af2780a4078be0965224c6e3919

Checklist

  • Targeted the main branch.
  • Passed npm run skill:validate.
  • Includes extra assets for both the Skill and Agent.
  • Written in English.
  • Includes a short video demonstration.

Copilot AI review requested due to automatic review settings July 3, 2026 15:19
@f-lrz f-lrz requested a review from aaronpowell as a code owner July 3, 2026 15:19
@github-actions github-actions Bot added agent PR touches agents new-submission PR adds at least one new contribution skills PR touches skills labels Jul 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-identifier skill with an example legacy auth snippet under examples/.
  • Added microservices-architect agent 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

Comment thread docs/README.agents.md
| [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. | |
@f-lrz f-lrz changed the base branch from staged to main July 3, 2026 15:47
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 6 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 1
ℹ️ Info 1
Severity Rule File Line Match
🟠 package-exec-command docs/README.skills.md 31 | [acreadiness-assess](../skills/acreadiness-assess/SKILL.md)&lt;br /&gt;`gh skills install github/awesome-copilot acreadiness-assess` | Run the AgentRC readiness assessment on the curre
ℹ️ skill-script-touched skills/technical-debt-identifier/examples/legacy-auth.js 1 skills/technical-debt-identifier/examples/legacy-auth.js

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

🔍 Vally Lint Results

⚠️ Warnings or advisories found

Scope Checked
Skills 1
Agents 1
Total 2
Severity Count
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 1

Summary

Level Finding
ℹ️ Vally currently lints SKILL.md content. Agent files were detected but skipped:
Full linter output
### Linting skills/technical-debt-identifier
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'commander@15.0.0',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.20.2', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
✅ technical-debt-identifier (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

### Agent files detected (not linted by vally)
ℹ️ Vally currently lints SKILL.md content. Agent files were detected but skipped:
agents/microservices-architect.agent.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent PR touches agents new-submission PR adds at least one new contribution skills PR touches skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants