se-architecture-improvement

Identify architectural frictions and propose refactors behind stable interfaces.

Updated May 7, 2026
One-click install
npx skills add https://github.com/simonwjackson/pi-software-engineering --skill se-architecture-improvement
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: se-architecture-improvement
Source: https://github.com/simonwjackson/pi-software-engineering/tree/main/skills/se-architecture-improvement
Command: npx skills add https://github.com/simonwjackson/pi-software-engineering --skill se-architecture-improvement

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Surface architectural friction and propose deepening opportunities: refactors that put meaningful behavior behind small, stable interfaces to improve locality, leverage, and testability.

Core Features & Use Cases

  • Identify shallow modules and surface where a deepening refactor would improve public contracts.
  • Propose concrete, testable restructuring that tightens seams and consolidates modules.
  • Guide decision documentation and domain-language alignment to support durable changes.

Quick Start

Review the repository to surface one concrete deepening opportunity and outline the required changes.

Frequently Asked Questions about se-architecture-improvement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify architectural friction in a large or aging codebase?▼

Architectural friction in a large codebase is identified by surfacing deepening opportunities where shallow modules and tightly coupled boundaries obscure public contracts. This highlights specific areas requiring refactoring to improve code locality and testability behind stable interfaces.

What is a deepening refactor for module boundaries?▼

A deepening refactor for module boundaries puts meaningful behavior behind small, stable interfaces to improve locality, leverage, and testability. It consolidates tightly coupled seams and tightens public contracts to guide durable architecture improvements in complex software projects.

How do I refactor tightly coupled modules to improve testability?▼

Refactor tightly coupled modules to improve testability by proposing concrete restructuring behind stable public-contract interfaces. This tightens seams and consolidates shallow modules, guiding architecture improvements that make meaningful behavior easier to isolate and test.

What do I need to ground architecture refactoring recommendations for my project?▼

To ground architecture refactoring recommendations, you need project-domain language terms, a public-contract test posture, and documented decisions. These inputs ensure proposed refactors align with your specific codebase context and support durable, testable changes.

Does this approach to code refactoring work for large or aging codebases?▼

Yes, this architecture improvement approach is specifically applicable to large or aging codebases where module boundaries are unclear or tightly coupled. It surfaces deepening opportunities to guide refactoring and testability enhancements tailored for complex, mature software systems.

When should I not use a deepening refactor approach for architecture improvements?▼

You should avoid a deepening refactor approach if your codebase lacks documented decisions, project-domain language terms, or a public-contract test posture. Without these prerequisites, proposed refactors cannot be reliably grounded or verified against stable interfaces.