feat(skills): add sw-audit for periodic codebase health checks#27
Merged
feat(skills): add sw-audit for periodic codebase health checks#27
Conversation
Defines AUDIT.md format, finding ID scheme with dimension+location matching, lifecycle (open/stale/resolved/purged), size caps, and freshness rules. Consumer-agnostic per P4. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Analyzes architecture, complexity, consistency, and debt dimensions. Delegates to architect and reviewer agents, synthesizes findings into persistent AUDIT.md. Adaptive intensity (focused/standard/full). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Load AUDIT.md during research phase to surface known tech debt in the area being designed. Tightened User checkpoints to compensate (P2). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
After landscape update, checks if work unit resolved any open audit findings. Tightened Presentation and Retrospective to compensate (P2). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
[codebase-audit/docs-audit] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolves AC-1.7 (protocol over token budget), AC-4.4 (sw-design +14 words, limit 10), and AC-5.5 (sw-learn +36 words, limit 15). [codebase-audit/verify-fixes] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sw-auditskill for periodic codebase health checks that find systemic tech debt (architecture, complexity, consistency, debt) that per-change quality gates missprotocols/audit.mddefining the AUDIT.md reference document format, finding IDs, matching heuristic, lifecycle, and freshness rulessw-design(surface relevant findings during research) andsw-learn(resolve addressed findings after shipping)Acceptance Criteria
Gate Results
Evidence
security-report.md— 0 findings across 8 changed fileswiring-report.md— All cross-references verified (19 checks), 4 INFO findings (cosmetic)spec-compliance.md— 31/33 PASS, 1 WARN (AC-3.9 marginal word count), 1 N/A (no test framework)🤖 Generated with Claude Code