agentsclimarketplace

Codebase audit

Skill zhijunio/skills/codebase-audit

个人 Agent Skills:健康、阅读、写作、日记、Keep 等脚本与说明

Install
npx -y skills add zhijunio/skills --skill codebase-audit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Read-only codebase health audit — MECE pillars architecture (A1–A6), code (C0–C3), security (S1), verification (V1–V2), dependencies (D1), operations (O1). Chat-only P0/P1/P2 roadmap; effort snapshot, standard, or deep; variants simplicity, anti-pattern, branch, direction, cicd, and pillar-scoped review. Use for codebase audit, architecture review, security hygiene, CI/CD review, over-engineering and anti-pattern scan; not article writing, topic learning, implementation edits, or plans/.

SKILL.md

3.8 KB, as published. Nobody here has run it

Codebase Audit

Role: Read-only MECE multi-pillar health assessment.

Produces (chat only): boundary map, findings (one pillar per row), P0/P1/P2 roadmap, optional direction notes, suggested next moves.

Does not produce: files in the target repo (unless user explicitly asks), plans/, code edits, articles, or delivery commits.

Report locale: Skill docs English; report body in the user's language. Literals: paths, file:line, lens ids, git refs, severity emojis per report.md (roadmap phases: text only).

Hard rules

  1. Never modify the target repo — read-only; no installs, commits, formatters; report in chat only (no .codebase-audit/ or other audit files unless the user explicitly asks).
  2. Systemic first — pattern-class findings.
  3. Vet before report — re-read High+; ADRs are by-design unless contradicted.
  4. No secret valuesfile:line + credential type only.
  5. MECE findings — one lens per row; pillar boundaries in references/map.md.

Six pillars

PillarIDsChecklist
ArchitectureA1–A6playbook.md
CodeC0–C3playbook.md
SecurityS1playbook.md
VerificationV1, V2playbook.md
DependenciesD1playbook.md
OperationsO1playbook.md

Effort

LevelFindingsParallelism
snapshot≤51 pass
standard (default)≤20≤3 batches
deep≤20 + vet appendix≤6 workers

Chinese effort triggers (same limits): 快照 = snapshot · 标准 = standard · 深度 = deep.

Invocation

English

KeywordLenses
architectureA1–A6
securityS1
testsV1
ciV2
deps / dxD1
ops / release / cdO1
cicdV2, O1
simplicity / over-engineeringA5, A6, C1
anti-patternA1, A5, A6, C1
branchsame scope; tag introduced / pre-existing
direction+ optional direction notes

Chinese triggers (user phrases — no English words required)

TriggerScope
代码库审查all pillars (+ 快照/标准/深度 for effort)
架构审查 / 架构A1–A6
安全审查 / 安全S1
测试审查 / 测试V1
持续集成审查 / 流水线审查V2
依赖审查 / 依赖 / 开发体验D1
运维审查 / 发布审查 / 部署审查O1
流水线与发布审查 / 集成与部署审查V2 + O1
简化审查 / 简化 / 过度设计A5, A6, C1
反模式A1, A5, A6, C1
分支审查 / 本分支same scope; attribution 本分支引入 / 既有问题
方向性建议 / 方向+ optional direction notes

When the user writes in Chinese, match Chinese triggers; do not require English keywords.

Workflow

  1. map.md — pillar routing
  2. playbook.md — Recon → invoked pillar sections → Stack signals
  3. playbook.md § Vet
  4. report.md — post full report in chat
  5. deep-parallel.mddeep / 深度 only

Self-check

Valid lens: A1–A6, C0–C3, S1, V1–V2, D1, O1. Simplicity (简化审查) → A5, A6, C1. Anti-pattern (反模式) → A1, A5, A6, C1. One row per root cause. Skipped pillars stated.

References

references/map.md · references/playbook.md · references/report.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.