Skip to content

feat: add codebase-audit and architecture-review skills - #14

Merged
k-rister merged 2 commits into
mainfrom
feat-codebase-audit-skill
Aug 3, 2026
Merged

feat: add codebase-audit and architecture-review skills#14
k-rister merged 2 commits into
mainfrom
feat-codebase-audit-skill

Conversation

@k-rister

@k-rister k-rister commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • codebase-audit: Bottom-up multi-pass audit across all repos in repos.json. Six structured passes: code bugs, convention compliance, structural completeness, schema validation (including schema self-validation for keyword typos), documentation accuracy, and cross-repo consistency. Convention findings aggregated per-repo to keep reports scannable. Offers Jira/GitHub issue creation after report review.
  • architecture-review: Top-down design analysis across seven dimensions: abstraction integrity, coupling analysis, plugin contract completeness, error model, configuration architecture, data flow, and evolution/sustainability. Agents dispatch per-dimension (not per-repo). Produces subsystem-level analysis with trade-off discussion.

Both are instruction-only skills (no backing Python scripts).

Test plan

  • Verify both skill directories are auto-discovered by Claude Code plugin system
  • Run /crucible-tools:codebase-audit --scope bench-sleep on the smallest benchmark to validate methodology
  • Run /crucible-tools:architecture-review --scope contracts --depth survey to validate a single-dimension review

🤖 Generated with Claude Code

k-rister and others added 2 commits August 2, 2026 10:22
Six structured audit passes across all repos in repos.json:
1. Code bugs (typos, logic errors, shell bugs, copy-paste)
2. Convention compliance (modelines, indentation, exit_error, sourcing)
3. Structural completeness (required files per implementation guides)
4. Schema validation (schema self-validation + data-against-schema)
5. Documentation accuracy (CLAUDE.md, README, stale references)
6. Cross-repo consistency (file references, workshop packages, metrics)

Convention findings are aggregated per-repo for scannable output.
Supports --scope, --focus, --severity, --since for targeted re-audits.
Offers Jira/GitHub issue creation after report review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Seven review dimensions evaluated by parallel agents:
1. Abstraction integrity (endpoint/engine/controller/plugin boundaries)
2. Coupling analysis (toolbox surface, dependency graph, implicit coupling)
3. Plugin contract completeness (undocumented assumptions, schema vs reality)
4. Error model (propagation, distributed failure, recovery)
5. Configuration architecture (format inventory, override chains, validation)
6. Data flow (metric pipeline, file transfer, log convergence)
7. Evolution and sustainability (language strategy, schema evolution, tests)

Complements codebase-audit (bottom-up file defects) with top-down
subsystem analysis. Supports --scope, --depth, and --repo arguments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@k-rister k-rister self-assigned this Aug 2, 2026
@k-rister
k-rister requested a review from a team August 2, 2026 18:19
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking Aug 2, 2026

@atheurer atheurer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! I have conducted a thorough structured review of the added codebase-audit and architecture-review skills. The instructions are exceptionally thorough, high-quality, and structurally consistent with the repository's patterns.

@k-rister
k-rister merged commit 0362d13 into main Aug 3, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Crucible Tracking Aug 3, 2026
@k-rister
k-rister deleted the feat-codebase-audit-skill branch August 3, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants