Skip to content
skillxone

tt-a1i/archify / .agents/skills/simplify-codebase

simplify-codebase

Verified

Simplification audit or authorized codebase simplification whose stated objective is to remove accidental complexity. Use for evidence-backed deletion or consolidation of dead code, duplicate state, redundant APIs or layers, ownerless abstractions, obsolete compatibility or design records, and over-engineering in any language; also use for 代码简化 or 熵回收. Do not use for general code review, onboarding, style-only refactoring, or performance tuning.

references/integrating-findings.md

View on GitHub
# Integrating Findings

Purpose: map every imported finding to retained, consolidated, rejected, superseded, or unresolved against the destination's current contracts.

## Establish independent contribution

Compare each source with its own merge base or authoritative default branch, not only with the current working branch. Identify which code changes, proof records, design records, annotations, and validation results belong uniquely to that source. Treat stale findings as hypotheses against the current tree.

For every imported candidate:

- re-check symbols, consumers, dynamic entrypoints, history, and compatibility in the destination state;
- retain non-overlapping evidence that meets the current confidence bar;
- merge overlapping rationale into the record that owns the contract;
- discard duplicates, weaker restatements, and findings invalidated by newer code;
- preserve the strongest counterargument, tradeoff, verification boundary, and unresolved uncertainty;
- distinguish a ported proposal from a change already implemented and validated.

The integrated result is complete when every source finding is mapped to retained, consolidated, rejected, superseded, or unresolved, with a reason. Raw candidate count is not a preservation requirement.

## Integrate changes safely

Apply only the code or documentation the user authorized. Resolve overlaps according to current ownership and behavior rather than source order. Re-run residue searches and validation on the combined state; results from an isolated branch do not prove the integrated tree.

When updating a pull request, report the true retained scope, sources surveyed, consolidations and rejections, intentional exclusions, current-head validation, and remaining review gaps. Keep work draft or otherwise marked incomplete while the candidate set or verification is still changing. Close, supersede, comment on, or otherwise mutate external reviews only with the user's authority.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 463kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 463kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 463kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 192kUpdated Claude CodeCodexVerifiedInstall