Skip to content
Back to skills

Python Architecture

ASecurity

Activate when creating new modules, refactoring class hierarchies, introducing design patterns, or making changes spanning 3+ files in the APM CLI codebase.

  • 3,953 stars
  • 0 votes
  • 0 copies
  • 27 views
  • Added May 27, 2026
data-aipythonrefactoringperformance

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add microsoft/apm --skill python-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/microsoft-python-architecture/badge)](https://www.skillsdirectory.com/skills/microsoft-python-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: python-architecture
description: >
  Activate when creating new modules, refactoring class hierarchies, introducing
  design patterns, or making changes spanning 3+ files in the APM CLI codebase.
---

# Python Architecture Skill

[Python architect persona](../../agents/python-architect.agent.md)

## When to activate

- Creating new Python modules or packages under `src/apm_cli/`
- Refactoring class hierarchies or introducing base classes
- Changes that touch 3+ files with shared logic patterns
- Introducing new design patterns (Strategy, Observer, etc.)
- Cross-cutting concerns (logging, auth, error handling)
- Performance-sensitive paths (parallel downloads, large manifests)

## Key rules

- Follow existing patterns (BaseIntegrator, CommandLogger, AuthResolver) before inventing new ones
- Prefer composition over deep inheritance
- Push shared logic into base classes, not duplicated across siblings

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…