ln-622-build-auditor by levnikolaevich/claude-code-skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-622-build-auditor路径说明: 文件路径(
shared/、references/、../ln-*)是相对于技能仓库根目录的。如果在当前工作目录未找到,请定位此 SKILL.md 文件所在目录并向上返回一级以找到仓库根目录。如果缺少shared/目录,请通过 WebFetch 从https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}获取文件。
专门审计构建健康与代码质量工具的工作者。
必读: 加载 shared/references/audit_worker_core_contract.md。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
接收包含以下内容的 contextStore:tech_stack(包括 build_tool, test_framework)、best_practices、principles、codebase_root、output_dir。
必读: 加载 shared/references/two_layer_detection.md 了解检测方法。
shared/templates/audit_worker_report_template.md 在内存中构建完整的 Markdown 报告,通过单次 Write 调用写入 {output_dir}/622-build.mdshared/references/results_log_pattern.md 将 build_health 指标追加到 results_log。指标:build_health | 0-10 | penalty formula。计算与上一次运行的差值及状态(改善/稳定/下降)。必读: 加载 shared/references/ci_tool_detection.md 以获取各生态系统的构建命令、代码检查器命令、类型检查器命令和测试框架命令。
内容: 语法错误、编译失败、代码检查器规则违规
检测: 使用 ci_tool_detection.md 中的命令注册表(构建 + 代码检查器部分)。检查退出代码,解析 stderr 中的错误。在可用时使用 JSON 输出标志。
代码检查器: 使用 ci_tool_detection.md 中的代码检查器表格。使用 --format json / --output-format json 进行结构化输出。
严重性:
建议: 在继续之前修复错误,配置代码检查器规则,添加预提交钩子
工作量: 小-中(修复语法错误 vs 重构代码结构)
内容: 使用已弃用的 API、库或语言特性
检测:
DeprecationWarning、@deprecatednpm outdated、pip list --outdated@deprecated 注解严重性:
建议: 迁移到推荐的 API,更新依赖项,重构代码
工作量: 中-低(取决于 API 复杂性和使用频率)
内容: 类型不匹配、缺少类型注解、类型检查器失败
检测: 使用 ci_tool_detection.md 命令注册表(类型检查器部分)。
严重性:
tsc 失败,cargo check 失败)any,缺少类型守卫)any、unknown)建议: 添加类型注解,启用严格模式,使用类型守卫
工作量: 小-中(为单个文件添加类型 vs 重构整个模块)
内容: 测试套件失败、跳过的测试、缺少测试覆盖率
检测: 使用 ci_tool_detection.md 命令注册表(测试框架部分)。使用 JSON 输出标志进行结构化解析。
严重性:
建议: 修复失败的测试,移除跳过标记,添加缺失的测试
工作量: 小-中(更新测试断言 vs 重新设计测试策略)
内容: 构建工具配置错误、缺少脚本、路径不正确
检测:
package.json、Makefile、build.gradle 中缺少构建脚本tsconfig.json、webpack.config.js、Cargo.toml 中的路径不正确严重性:
建议: 修复配置路径,添加缺失的构建脚本,优化构建设置
工作量: 小-中(更新配置文件 vs 重新设计构建流水线)
必读: 加载 shared/references/audit_worker_core_contract.md 和 shared/references/audit_scoring.md。
必读: 加载 shared/references/audit_worker_core_contract.md 和 shared/templates/audit_worker_report_template.md。
将报告写入 {output_dir}/622-build.md,包含 category: "Build Health" 和检查项:compilation_errors, linter_warnings, type_errors, test_failures, build_config。
向协调器返回摘要:
Report written: docs/project/.audit/ln-620/{YYYY-MM-DD}/622-build.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
必读: 加载 shared/references/audit_worker_core_contract.md。
必读: 加载 shared/references/audit_worker_core_contract.md。
{output_dir}/622-build.md(原子性的单次 Write 调用)shared/references/audit_output_schema.mdshared/references/ci_tool_detection.mdshared/references/results_log_pattern.md版本: 3.0.0 最后更新: 2025-12-23
每周安装数
153
仓库
GitHub 星标数
245
首次出现
2026年1月24日
安全审计
安装于
claude-code142
codex136
opencode136
gemini-cli135
cursor135
github-copilot130
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. Ifshared/is missing, fetch files via WebFetch fromhttps://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.
Specialized worker auditing build health and code quality tooling.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
Receives contextStore with: tech_stack (including build_tool, test_framework), best_practices, principles, codebase_root, output_dir.
MANDATORY READ: Load shared/references/two_layer_detection.md for detection methodology.
shared/templates/audit_worker_report_template.md, write to {output_dir}/622-build.md in single Write callshared/references/results_log_pattern.md. Metric: build_health | 0-10 | penalty formula. Calculate delta and status (improving/stable/declining) vs previous run.MANDATORY READ: Load shared/references/ci_tool_detection.md for build commands, linter commands, type checker commands, and test framework commands per ecosystem.
What: Syntax errors, compilation failures, linter rule violations
Detection: Use ci_tool_detection.md Command Registry (Build + Linters sections). Check exit code, parse stderr for errors. Use JSON output flags where available.
Linters: Use ci_tool_detection.md Linters table. Use --format json / --output-format json for structured output.
Severity:
Recommendation: Fix errors before proceeding, configure linter rules, add pre-commit hooks
Effort: S-M (fix syntax error vs refactor code structure)
What: Usage of deprecated APIs, libraries, or language features
Detection:
DeprecationWarning, @deprecated in stack tracenpm outdated, pip list --outdated@deprecated annotationsSeverity:
Recommendation: Migrate to recommended API, update dependencies, refactor code
Effort: M-L (depends on API complexity and usage frequency)
What: Type mismatches, missing type annotations, type checker failures
Detection: Use ci_tool_detection.md Command Registry (Type Checkers section).
Severity:
tsc fails, cargo check fails)any, missing type guards)any, unknown without narrowing)Recommendation: Add type annotations, enable strict mode, use type guards
Effort: S-M (add types to single file vs refactor entire module)
What: Test suite failures, skipped tests, missing test coverage
Detection: Use ci_tool_detection.md Command Registry (Test Frameworks section). Use JSON output flags for structured parsing.
Severity:
Recommendation: Fix failing tests, remove skip markers, add missing tests
Effort: S-M (update test assertion vs redesign test strategy)
What: Misconfigured build tools, missing scripts, incorrect paths
Detection:
package.json, Makefile, build.gradletsconfig.json, webpack.config.js, Cargo.tomlSeverity:
Recommendation: Fix config paths, add missing build scripts, optimize build settings
Effort: S-M (update config file vs redesign build pipeline)
MANDATORY READ: Load shared/references/audit_worker_core_contract.md and shared/references/audit_scoring.md.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md and shared/templates/audit_worker_report_template.md.
Write report to {output_dir}/622-build.md with category: "Build Health" and checks: compilation_errors, linter_warnings, type_errors, test_failures, build_config.
Return summary to coordinator:
Report written: docs/project/.audit/ln-620/{YYYY-MM-DD}/622-build.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
{output_dir}/622-build.md (atomic single Write call)shared/references/audit_output_schema.mdshared/references/ci_tool_detection.mdshared/references/results_log_pattern.mdVersion: 3.0.0 Last Updated: 2025-12-23
Weekly Installs
153
Repository
GitHub Stars
245
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code142
codex136
opencode136
gemini-cli135
cursor135
github-copilot130
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
36,300 周安装
Git Hooks 设置指南:Husky 配置、代码质量检查与自动化提交验证
136 周安装
压力测试指南:使用k6和JMeter进行系统极限与崩溃点测试
136 周安装
agent-browser 浏览器自动化测试工具 - 基于引用的 AI 友好型端到端测试 CLI
136 周安装
App Store Connect 参考指南:崩溃分析、TestFlight反馈与性能指标导出
136 周安装
iOS Apple Intelligence 路由器使用指南 - Foundation Models 与 AI 方法分流
136 周安装
Arboreto:基因调控网络推断Python库,支持GRNBoost2/GENIE3算法与分布式计算
136 周安装