architecture-refactor

Coordinate incremental architecture refactoring across platforms with AGENTS.md and rules.

9|2|Updated May 18, 2026
One-click install
npx skills add https://github.com/SourceLin/sourcelin-cloud-blog --skill architecture-refactor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-refactor
Source: https://github.com/SourceLin/sourcelin-cloud-blog/tree/main/skills/architecture-refactor
Command: npx skills add https://github.com/SourceLin/sourcelin-cloud-blog --skill architecture-refactor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

用于执行 Sourcelin 跨端架构重构、目录整理、页面拆分、模块边界治理、规则和文档同步。

Core Features & Use Cases

  • 按规则执行渐进式重构。
  • 拆分大页面、大组件或大 composable。
  • 整理后端模块边界、公共能力、规则体系和文档。
  • 对齐 rules/skills/AGENTS.md

Quick Start

读取 AGENTS.md、rules/README.md 和相关领域规则,按边界逐步执行小步改动并验证结果。

Frequently Asked Questions about architecture-refactor

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

FAQPage Schema
How do I split large pages and components during an architecture refactor?

Architecture refactoring splits large pages, components, or composables by applying boundary-aware module separation to ensure incremental and verifiable changes. You progressively execute small modifications according to domain rules.

What is the best way to modularize backend architecture while keeping documentation synchronized?

Backend modularization is achieved by organizing module boundaries and public capabilities while synchronizing rules and documentation. It aligns rules, skills, and AGENTS.md files to maintain consistency across the architecture.

How does incremental architecture refactoring work with boundary-aware module separation?

Incremental architecture refactoring works by reading AGENTS.md and rules/README.md, then executing small boundary-aware module separation steps. Each modification is verified incrementally to ensure changes remain stable and aligned.

Do I need AGENTS.md and rules/README.md files to perform cross-platform architecture refactoring?

Yes, cross-platform architecture refactoring relies on AGENTS.md and rules/README.md files. These documents define the domain rules and module boundaries required to guide verifiable, incremental changes across platforms.

When should I avoid incremental refactoring for large component splits?

Incremental refactoring for large component splits should be avoided when domain rules or boundary definitions in rules/README.md are incomplete. Without these prerequisites, verifiable small-step changes cannot be properly executed or aligned.