subsystem-removal-checklist

Guide safe subsystem removal with public surface mapping and validation gates.

21|1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/z3z1ma/agent-loom --skill subsystem-removal-checklist
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: subsystem-removal-checklist
Source: https://github.com/z3z1ma/agent-loom/tree/main/.opencode/skills/subsystem-removal-checklist
Command: npx skills add https://github.com/z3z1ma/agent-loom --skill subsystem-removal-checklist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The checklist guides teams through safely decommissioning a subsystem to prevent broken imports, stale docs, or drifting API contracts, while preserving essential interfaces and governance.

Core Features & Use Cases

  • Identifies the public surface and entrypoints for a subsystem (CLI commands, exports, docs) to prevent orphaned references.
  • Guides code removal, import rehoming, and re-exports to maintain a coherent surface.
  • Updates documentation, API contracts, and tests to reflect the new system state, and validates changes with gates.

Quick Start

Follow this checklist at the start of removing a major subsystem to ensure imports, docs, tests, and contracts remain consistent.

Frequently Asked Questions about subsystem-removal-checklist

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

FAQPage Schema
How do I safely remove a subsystem from a large codebase without breaking imports?▼

To safely remove a subsystem, you must first map its public surface and entrypoints, then prune code and rehome imports to prevent broken references across multi-package ecosystems.

What steps are needed to decommission a subsystem while preserving API contracts?▼

Decommissioning a subsystem requires adjusting API contracts, updating documentation and tests to reflect the new state, and running validation gates to ensure stability and prevent drifting contracts.

When should I use a subsystem removal checklist during refactoring?▼

Use a removal checklist during decommissioning, refactoring, or modularization across repositories with public surfaces to prevent broken imports, stale docs, and drifting API contracts.

How do I prevent stale documentation when decommissioning major codebases?▼

Prevent stale documentation by updating docs to reflect the new system state immediately after code removal, ensuring all references to the decommissioned subsystem's entrypoints are pruned.

Can I remove subsystems across multiple repositories without breaking builds?▼

Yes, removing subsystems across multi-package ecosystems requires identifying public surfaces, managing re-exports, and enforcing validation gates to preserve stability and prevent broken builds.

What is the best way to map a public surface before removing a subsystem?▼

Mapping a public surface involves identifying all entrypoints, CLI commands, exports, and documentation references to prevent orphaned references during subsystem removal and maintain a coherent surface.