ln-620-codebase-auditor
Use when auditing the codebase through the evaluation platform with mandatory research, coordinated domain audit workers, and structured summaries.
- License 许可
- MIT
- 最近更新
- 2026-06-15
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- ln-620-codebase-auditor
- license
- MIT
- description
- Use when auditing the codebase through the evaluation platform with mandatory research, coordinated domain audit workers, and structured summaries.
02 资源文件 8
- 参考文档references/audit_final_report_contract.md2.6 KB
- 参考文档references/codebase_audit_worker_boundaries.md2.7 KB
- 参考文档references/epistemic_protocol.md3.4 KB
- 参考文档references/evaluation_coordinator_runtime_contract.md3.6 KB
- 参考文档references/evaluation_research_contract.md2.0 KB
- 参考文档references/evaluation_summary_contract.md1.8 KB
- 参考文档references/meta_analysis_protocol.md1.5 KB
- 参考文档references/research_tool_fallback.md1.2 KB
03 SKILL.md 正文
Paths: File paths (
references/,../ln-*) are relative to this skill directory.
Type: L2 Coordinator Category: 6XX Audit
Codebase Auditor
Mandatory Read
MANDATORY READ: Load references/evaluation_coordinator_runtime_contract.md, references/evaluation_summary_contract.md, references/evaluation_research_contract.md
MANDATORY READ: Load references/audit_final_report_contract.md
MANDATORY READ: Load references/codebase_audit_worker_boundaries.md
MANDATORY READ: Load references/research_tool_fallback.md
Conditional read: load references/epistemic_protocol.md only when source confidence or claim uncertainty affects issue validation.
Purpose
- audit runtime/codebase risks: security, delivery gates, dependency/reuse health, maintainability, dead code, diagnosability, concurrency, lifecycle, and config validation
- coordinate exactly
ln-621throughln-629 - require stack-aware research before scoring
Runtime Contract
Runtime family:
evaluation-runtime
Identifier:
codebase-audit
Phase order:
PHASE_0_CONFIGPHASE_1_DISCOVERYPHASE_2_RESEARCHPHASE_3_DELEGATEPHASE_4_AGGREGATEPHASE_5_REPORTPHASE_6_SELF_CHECK
Worker Set
ln-621-security-boundary-auditorln-622-build-delivery-gate-auditorln-623-duplication-overabstraction-auditorln-624-code-maintainability-hotspot-auditorln-625-dependency-reuse-auditorln-626-dead-code-pruning-auditorln-627-diagnosability-auditorln-628-concurrency-correctness-auditorln-629-runtime-lifecycle-config-auditor
Worker Invocation (MANDATORY)
Host Skill Invocation: Skill(skill: "...", args: "...") is mandatory delegation.
- Claude: call the Skill tool exactly as shown.
- Codex: if no Skill tool exists, locate the named skill in available skills, read its
SKILL.md, treatargsas$ARGUMENTS, execute that skill workflow, then return here with its result/artifact. - Do not inline worker logic or mark the worker complete without executing the target skill.
Use the Skill tool for delegated workers. Do not inline worker logic inside the coordinator.
TodoWrite format (mandatory):
Resolve audit scope and build manifestLoad codebase structure and stackRun best-practice researchDelegate to domain audit workersAggregate worker findingsGenerate final audit report and remediation planVerify cleanup and self-check
Representative invocations:
Skill(skill: "ln-621-security-boundary-auditor", args: "{scope}")
Skill(skill: "ln-622-build-delivery-gate-auditor", args: "{scope}")
Skill(skill: "ln-623-duplication-overabstraction-auditor", args: "{scope}")
Skill(skill: "ln-624-code-maintainability-hotspot-auditor", args: "{scope}")
Skill(skill: "ln-625-dependency-reuse-auditor", args: "{scope}")
Skill(skill: "ln-626-dead-code-pruning-auditor", args: "{scope}")
Skill(skill: "ln-627-diagnosability-auditor", args: "{scope}")
Skill(skill: "ln-628-concurrency-correctness-auditor", args: "{scope}")
Skill(skill: "ln-629-runtime-lifecycle-config-auditor", args: "{scope}")
Workflow
Phase 0: Config
Start evaluation-runtime with required_research=true.
Phase 1: Discovery
Detect project type, stack, and applicability of audit workers.
Phase 2: Research
Mandatory research sources:
- official docs or standards
- MCP Ref
- Context7 when framework docs matter
- current web best-practice research
Phase 3: Delegate
Delegate applicable audit workers. Child workers must use evaluation-worker-runtime and emit evaluation-compatible summaries.
Phase 4: Aggregate
Merge runtime/codebase risk findings using references/codebase_audit_worker_boundaries.md. Read every worker report_path, normalize actions, deduplicate repeated issues, resolve worker conflicts, and validate each actionable problem against the research source order in references/evaluation_research_contract.md.
Phase 5: Report
Write .hex-skills/runtime-artifacts/runs/{run_id}/audit-report/ln-620--final-report.md per references/audit_final_report_contract.md. Include the remediation plan, source-backed validation for each confirmed issue, and cleanup note. Remove temporary worker markdown reports after consolidation. The evaluation-coordinator summary report_path must point to the final report only.
Phase 6: Self-Check
Required checks:
- [ ] research completed
- [ ] all applicable worker summaries recorded
- [ ] worker conflicts resolved with
codebase_audit_worker_boundaries.md - [ ] aggregation completed
- [ ] final remediation report written
- [ ] cleanup verified
- [ ] temporary worker markdown reports removed
- [ ] coordinator summary recorded
Summary Contract
Write summary_kind=evaluation-coordinator.
Definition of Done
- [ ] Evaluation runtime started
- [ ] Applicable workers selected
- [ ] Research completed
- [ ] All applicable worker summaries recorded
- [ ] Worker set remained exactly
ln-621throughln-629 - [ ] Worker conflicts resolved with
codebase_audit_worker_boundaries.md - [ ] Final report and remediation plan written
- [ ] Temporary worker markdown reports removed
- [ ]
evaluation-coordinatorsummary written - [ ] Runtime completed
Meta-Analysis
Optional reference: load references/meta_analysis_protocol.md only when the user asks for post-run meta-analysis or protocol-formatted run reflection.
When requested after the coordinator run, analyze the session per protocol section 7 and include the protocol-formatted output with the final codebase audit result.
References
- Workers:
../ln-621-security-boundary-auditor/SKILL.md,../ln-622-build-delivery-gate-auditor/SKILL.md,../ln-623-duplication-overabstraction-auditor/SKILL.md,../ln-624-code-maintainability-hotspot-auditor/SKILL.md,../ln-625-dependency-reuse-auditor/SKILL.md,../ln-626-dead-code-pruning-auditor/SKILL.md,../ln-627-diagnosability-auditor/SKILL.md,../ln-628-concurrency-correctness-auditor/SKILL.md,../ln-629-runtime-lifecycle-config-auditor/SKILL.md
Version: 5.0.0 Last Updated: 2025-12-23
04 同仓库更多 Skills
solana-dev
Use when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "deploy to devnet", or "explain Solana concepts" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor/Pinocchio programs, Codama client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana/client + @solana/react-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana/kit for client/RPC code, and @solana/web3-compat for legacy boundaries.
generating-trading-signals
Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.). Combines multiple indicators into composite signals with confidence scores. Use when analyzing assets for trading opportunities or checking technical indicators. Trigger with phrases like "get trading signals", "check indicators", "analyze for entry", "scan for opportunities", "generate buy/sell signals", or "technical analysis".
prediction-monitor
Prediction Monitor - Auto-activating skill for ML Deployment. Triggers on: prediction monitor, prediction monitor Part of the ML Deployment skill category.
strategy-advisor
High-level strategic thinking and business decision guidance for planning and direction-setting. Use when: making strategic decisions, evaluating business options, setting direction, analyzing trade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.
app-paywall-pilot
Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans/prices/trials, review RevenueCat/Adapty/Apphud/Superwall setup, calculate LTV/ROAS, or build paywall implementation.
figma
Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.