Universal guardrails loaded by every agent. Defines Verify Before Reporting (VBR), Write-Ahead Log (WAL), and the security baseline. Always-on, role-independent.
中文简介正在准备中。当前显示原文说明。
Use when: analysing a project's debug and reliability health — inline markers, logging hygiene, and error handling.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Evaluates how much latent technical debt and reliability risk exists in the production codebase. Assigns a score from 0.0 to 1.0 across five dimensions.
TODO/FIXME density — How much acknowledged but unresolved debt exists?
Console log hygiene — Is logging disciplined?
Error handling hygiene — Are errors surfaced rather than silently swallowed?
catch {} with no logging, catch (e) {} that swallows the error, .catch(() => {}) no-opsType-safety escapes — Are type bypasses minimised?
as any, // @ts-ignore, // @ts-nocheck, // eslint-disableObservable failure modes — Can operators see failures from outside the module?
dbg_score = (todo_score + log_score + error_score + typesafe_score + observable_score) / 5
Score interpretation:
| Finding | Priority |
|---|---|
| TODO/FIXME markers with FIXME/BUG type | high |
| TODO/FIXME markers (TODO/HACK only) | medium |
| > 5 console.log calls in production code | medium |
| Silent error swallows in catch blocks | high |
| Type-safety escape hatches (as any, @ts-ignore) | medium |
| No observable failure output in module | medium |
When performing a manual DBG analysis:
catch {} with no logging, .catch(() => {}) no-ops)as any, // @ts-ignore, // @ts-nocheck, or // eslint-disable — each one is a type-safety escape hatch hiding a potential bug# Structured logging — look for a logger library in use
grep -r "winston\|pino\|bunyan\|logger\." src/ --include="*.ts" --include="*.js" -l
# Error event emission — look for error events being emitted
grep -r "emit.*['\"]error['\"]" src/ --include="*.ts" --include="*.js" -l
# Health-check endpoints — look for health or ping routes
grep -r "['\"]\/health\|['\"]\/healthz\|['\"]\/ping\|healthCheck\|health_check" src/ --include="*.ts" --include="*.js" -l
Output: ranked list of debug findings — FIXME/BUG first, then TODO density by module, then silent swallows, then logging and type-safety escapes, then observability gaps.
When debugging failures are found, apply the Root Before Repair (RBR) protocol from skills/agent-foundations/SKILL.md — confirm root cause with evidence before proposing a fix.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Universal guardrails loaded by every agent. Defines Verify Before Reporting (VBR), Write-Ahead Log (WAL), and the security baseline. Always-on, role-independent.
中文简介正在准备中。当前显示原文说明。
Use when: architecture mode, architect this, ADR, C4, PlantUML, system boundary, design decision, PRD gap, high ambiguity, multiple technical approaches, security architecture, data architecture, integration risk, implementability gap, story ticket, or epic ticket.
中文简介正在准备中。当前显示原文说明。
Use when: assumptions audit, audit assumptions, check for hidden assumptions, plan/ticket has ambiguous scope edges, pre-flight before finalizing a ticket, unstated assumptions, or 'what am I assuming'. Surfaces unstated assumptions, ambiguous scope edges, and untested preconditions in a finished plan/ticket/ADR before it is handed to Builder. Optional pass — Architect judges when to apply it; not a mandatory gate on every ticket.
中文简介正在准备中。当前显示原文说明。
Use when: Tester needs UI state evidence for VBR, or Builder needs to verify an integration wire is observable end-to-end. Powered by agent-browser MCP — token-efficient browser automation (200–400 tokens/page).
中文简介正在准备中。当前显示原文说明。
Use when drafting a bug or defect ticket, reviewing one someone else wrote, or deciding whether a reported problem is ready to file. Keeps what the reporter actually saw separate from what the agent later found out, so a reader can tell which lines are testimony and which are collected proof. Trigger phrases: 'file a bug', 'write up this defect', 'triage this report', 'is this ticket ready to file', 'what did the reporter actually see'.
中文简介正在准备中。当前显示原文说明。
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
中文简介正在准备中。当前显示原文说明。