Plan Python architecture, refactor class hierarchies, and design multi-file code changes.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "python-architecture" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/apm/main/.apm/skills/python-architecture/SKILL.md 2. Save it as ~/.claude/skills/python-architecture/SKILL.md 3. Reload skills and tell me it's ready
I am adding a plugin system to a Python CLI project. Design the module boundaries, folder structure, core interfaces, and dependencies, and explain how to avoid circular imports.
A clear module breakdown, interface design suggestions, example structure, and architectural cautions.
Several command classes duplicate validation, logging, and error handling. Refactor the class hierarchy, propose base classes, composition, or design patterns, and assess the impact of the changes.
A refactoring plan, recommended patterns, responsibility split, and potential risk notes.
I plan to modify five Python files to introduce the repository pattern. Review the approach for architectural consistency, testability, dependency injection, and migration steps, and suggest improvements.
Architecture-focused review feedback, improvement suggestions, and a step-by-step implementation plan.
Python architect persona
src/apm_cli/Audit an entire docs corpus against code and propose precise fixes.
Guide APM positioning, release communication, and breaking-change strategy decisions.
Identify and assist with token, credential, and remote host authentication flows.
Write complete, evidence-backed PR descriptions for microsoft/apm pull requests.
Improve CLI output, logs, errors, and terminal diagnostic user experience.
Assess release bump, clean changelog, update versions, and open a release PR.
Understand the Pyre/Pysa architecture and locate key implementations quickly.
Generate, detect, validate, and refactor Python design patterns in codebases.
Helps teams handle APM positioning, release communication, and breaking-change decisions.
Query live architecture models, fetch target patterns, and check files for compliance.
Plan doc TOC changes and outline stubs when PRs require structural updates.
Add architectural guardrails for AI-written code with analysis and CI checks.