SKILL

arch-cleanup

Use to carve or tighten ONE architecture boundary in a repo with the living-architecture setup — take a coherent batch of grandfathered `#legacy` arrows (or extract a new node), refactor them away with verified moves (deterministic-refactor), and shrink the legacy-arrow baseline monotonically. Behaviour-preserving by definition; one slice = one branch/PR.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Carve one boundary slice
  • Procedure
  • When is full compliance needed?

Preflight: run la-doctor --plugin --require-config once per session before using any la- or dr- command. If it reports the missing-config finding (the one naming /la:init), run the fast path of the la:init skill, then re-run this preflight; stop and show the user its output on anything it still reports, or on any other failure. A slice moves code until a batch of grandfathered edges dies, with a deterministic gate proving nothing dangles. It is behaviour-preserving: no new behaviour, no new tests, no OpenSpec spec deltas. The legacy-arrow ratchet plus the green suite ARE the spec, so the /la:pr stage flow does not apply — but each slice still gets its own branch and PR, and its own issue when the repo has a tracker. 1. Pick the slice. List the model's #legacy arrows (their count is legacyarrows.baseline in index.yaml); propose a coherent batch — one importer module, one edge family (e.g. python.core -> python.sql.render), or one node extraction. Arrows live inside their language root, so a slice stays within one language. Keep it ≤ 10 edges. Confirm the choice with the user. 2. Read the touched elements' arc42 (and their ancestors') + LikeC4 view. The principles decide the resoluti

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
MotleyAI/living-architecture
Source file
plugin/skills/arch-cleanup/SKILL.md
Fixed revision
d515fa3449c9734b464fc67d231a6e6b051106fc
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: MotleyAI/living-architecture · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T18:02:05.962Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.