用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill add-manual-debt命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
正在显示 SKILL.md
| name | add-manual-debt |
| description | Manually add a technical debt item to MASTER_DEBT.jsonl |
Purpose: Add ad-hoc technical debt items discovered outside formal audits.
When to Use: When you discover tech debt during development that should be tracked but wasn't found by automated tools.
This skill guides you through adding a single technical debt item to the canonical tracker with proper validation and ID assignment.
Output Location: docs/technical-debt/MASTER_DEBT.jsonl
Collect the following from the user (or context):
| Field | Required | Description | Example |
|---|---|---|---|
file | Yes | File path (relative to repo root) | components/auth/login.tsx |
line | Yes | Line number | 145 |
title | Yes | Short description (< 80 chars) | Missing error boundary |
severity | Yes | S0 (Critical), S1 (High), S2 (Medium), S3 (Low) | S2 |
category | Yes | security, performance, code-quality, docs, etc. | code-quality |
effort | No | E0 (<30m), E1 (<2h), E2 (<8h), E3 (>8h) | E1 |
description | No | Detailed description | Component lacks error... |
# Verify the file exists
ls -la {file}
If file doesn't exist, ask user to correct the path.
# Check if line number is valid
wc -l {file}
If line exceeds file length, warn user.
Show user what will be added:
📋 Technical Debt Item Preview
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ID: DEBT-XXXX (auto-assigned)
Source: manual
File: components/auth/login.tsx:145
Severity: S2 (Medium)
Category: code-quality
Effort: E1 (<2h)
Title: Missing error boundary
Description: Component lacks error boundary, crashes propagate to parent
Confirm? [Y/n]
node scripts/debt/intake-manual.js \
--file "components/auth/login.tsx" \
--line 145 \
--title "Missing error boundary" \
--severity S2 \
--category code-quality \
--effort E1 \
--description "Component lacks error boundary, crashes propagate to parent"
Script behavior:
node scripts/debt/generate-views.js
✅ Technical Debt Item Added
ID: DEBT-0891
File: components/auth/login.tsx:145
Severity: S2
Status: NEW (pending verification)
📄 Updated files:
- docs/technical-debt/MASTER_DEBT.jsonl
- docs/technical-debt/views/verification-queue.md
💡 Next steps:
- Item is in verification queue (status: NEW)
- Run 'verify-technical-debt' to verify this item
- Or manually update status to VERIFIED after confirming issue exists
If a similar item already exists:
⚠️ Potential Duplicate Detected
Existing item:
ID: DEBT-0234
File: components/auth/login.tsx:142
Title: Missing error handling in login
Your item:
File: components/auth/login.tsx:145
Title: Missing error boundary
Options:
[A] Add anyway (different issue)
[M] Merge with existing (update DEBT-0234)
[C] Cancel
| Severity | Criteria |
|---|---|
| S0 | Security vulnerability, data loss risk, crash |
| S1 | Major functionality broken, significant perf hit |
| S2 | Code smell, minor bug, moderate tech debt |
| S3 | Style issue, documentation, nice-to-have cleanup |
security - Auth, input validation, OWASPperformance - Load times, queries, cachingcode-quality - Types, patterns, hygienedocumentation - README, API docs, commentsrefactoring - Tech debt, complexity, DRYprocess - CI/CD, testing, workflowssync-sonarcloud-debt - Import from SonarCloudadd-deferred-debt - Add from PR reviewsverify-technical-debt - Verify items in queue