ln-629-lifecycle-auditor by levnikolaevich/claude-code-skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-629-lifecycle-auditor路径说明: 文件路径(
shared/、references/、../ln-*)是相对于技能仓库根目录的。如果在当前工作目录中未找到,请定位此 SKILL.md 文件所在的目录并向上返回一级以找到仓库根目录。如果缺少shared/目录,请通过 WebFetch 从https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}获取文件。
专门用于审计应用程序生命周期和入口点的 Worker。
必读: 加载 shared/references/audit_worker_core_contract.md。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
接收包含技术栈、部署类型、代码库根目录、output_dir 的 contextStore。
必读: 加载 shared/references/two_layer_detection.md 以了解检测方法。
shared/templates/audit_worker_report_template.md 在内存中构建完整的 Markdown 报告,通过一次 Write 调用写入 {output_dir}/629-lifecycle.md检测方法:
严重性:
建议: 按正确顺序初始化:配置 → 数据库 → 路由 → 服务器
工作量: 中(重构启动代码)
检测方法:
SIGTERM、SIGINT 处理程序process.on('SIGTERM')(Node.js)signal.Notify(Go)严重性:
建议: 添加 SIGTERM 处理程序,优雅地关闭连接
工作量: 中(添加关闭逻辑)
检测方法:
严重性:
建议: 在关闭处理程序中关闭所有资源
工作量: 小-中(添加清理调用)
检测方法:
严重性:
建议: 处理所有标准信号
工作量: 小(添加信号处理程序)
检测方法(针对容器化应用):
/live、/ready 端点严重性:
建议: 添加 /live(正在运行)和 /ready(准备接收流量)端点
工作量: 小(添加端点)
必读: 加载 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}/629-lifecycle.md,包含 category: "Lifecycle" 以及检查项:bootstrap_order、graceful_shutdown、resource_cleanup、signal_handling、probes。
向协调器返回摘要:
Report written: docs/project/.audit/ln-620/{YYYY-MM-DD}/629-lifecycle.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
shared/references/audit_output_schema.md必读: 加载 shared/references/audit_worker_core_contract.md。
必读: 加载 shared/references/audit_worker_core_contract.md。
shared/references/audit_scoring.md 计算分数{output_dir}/629-lifecycle.md(原子性单次 Write 调用)版本: 3.0.0 最后更新: 2025-12-23
每周安装次数
152
仓库
GitHub 星标数
245
首次出现
2026年1月24日
安全审计
安装于
claude-code141
codex136
cursor136
opencode136
gemini-cli135
github-copilot131
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 application lifecycle and entry points.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
Receives contextStore with tech stack, deployment type, 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}/629-lifecycle.md in single Write callDetection:
Severity:
Recommendation: Initialize in correct order: config → DB → routes → server
Effort: M (refactor startup)
Detection:
SIGTERM, SIGINT handlersprocess.on('SIGTERM') (Node.js)signal.Notify (Go)Severity:
Recommendation: Add SIGTERM handler, close connections gracefully
Effort: M (add shutdown logic)
Detection:
Severity:
Recommendation: Close all resources in shutdown handler
Effort: S-M (add cleanup calls)
Detection:
Severity:
Recommendation: Handle all standard signals
Effort: S (add signal handlers)
Detection (for containerized apps):
/live, /ready endpointsSeverity:
Recommendation: Add /live (is running) and /ready (ready for traffic)
Effort: S (add endpoints)
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}/629-lifecycle.md with category: "Lifecycle" and checks: bootstrap_order, graceful_shutdown, resource_cleanup, signal_handling, probes.
Return summary to coordinator:
Report written: docs/project/.audit/ln-620/{YYYY-MM-DD}/629-lifecycle.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
shared/references/audit_output_schema.mdMANDATORY READ: Load shared/references/audit_worker_core_contract.md.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
shared/references/audit_scoring.md{output_dir}/629-lifecycle.md (atomic single Write call)Version: 3.0.0 Last Updated: 2025-12-23
Weekly Installs
152
Repository
GitHub Stars
245
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code141
codex136
cursor136
opencode136
gemini-cli135
github-copilot131