tt-a1i/archify / .agents/skills/simplify-codebase
simplify-codebase
VerifiedSimplification 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.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.1 KB |
| SKILL.md | skill md | 6.8 KB |
| agents/openai.yaml | config | 301 B |
| references/boundaries-and-lifecycle.md | markdown | 3.6 KB |
| references/decision-records.md | markdown | 3.0 KB |
| references/execution-and-recovery.md | markdown | 4.6 KB |
| references/integrating-findings.md | markdown | 1.9 KB |
| references/investigation.md | markdown | 6.2 KB |
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.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 463k | Updated | Claude CodeCodex | Verified | Install |
| 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: 463k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 463k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |