resolve-debt
This skill should be used when triaging or closing open entries in the technical-debt ledger. Lists open debt, walks the operator through closing one with a…
от jikig-ai★ 21 звезда на GitHub
Установить resolve-debt в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.
Resolve Tech-Debt Ledger Entries
Operator-facing surface for the knowledge-base/project/learnings/technical-debt/ ledger. The ledger is populated reactively by soleur:compound; this skill is the read + close half of the loop.
Complement: soleur:harvest-debt surfaces inline SOLEUR-DEBT: markers in source code (the deferrals that have not yet been promoted into this ledger). harvest surfaces; compound promotes; this skill closes.
Four modes:
--list— print a deterministic markdown table of open entries (severity desc, then date asc). Stdout only, no prompts. Pair with--jsonfor agent //loopcomposition.--close N --status S [--linked-issue N]— non-interactive close. Bypasses prompts. Reuses the same validation surface as interactive mode (status enum, linked-issue range, fixture-path refusal,gh issue view, atomic mutation, body MD5 check). IndexNfollows the--listordering.- interactive (default) — list, prompt for entry selection, prompt for new status +
linked_issue, mutate the entry's frontmatter atomically, print the diff. Does NOT auto-commit; the operator commits on whatever branch they are on. --no-verify— modifier on interactive /--close: skip thegh issue view <N>round-trip. Use offline or whenghis unavailable.
The skill never calls git commit or git push. Recovery from a wrong close is git checkout -- <file> (pre-commit) or git revert (post-commit).
Commands
list
python3 plugins/soleur/skills/resolve-debt/scripts/resolve-debt.py --list
Walks knowledge-base/project/learnings/technical-debt/ (skips archive/). For each .md file, parses frontmatter via the parse_frontmatter helper from the repo-root scripts/ directory (file: frontmatter_lib.py). Files with parse failures emit a stderr warning naming the file and are skipped — --list does not crash on malformed frontmatter.
Filters to status == open. Sorts by severity desc (high > medium > low > unset), then date asc (oldest first).
Output columns: idx | file | date | severity | component-or-category | title.
Empty state: No open debt entries. exit 0.
close (interactive default)
python3 plugins/soleur/skills/resolve-debt/scripts/resolve-debt.py
- Display the same table as
--list. - Prompt:
Select entry (1..N) or q to quit:. Out-of-range or non-numeric → re-prompt up to 3 attempts, then exit 2. - Prompt:
Status (resolved | wont-fix):. Enum reject → re-prompt. - If
resolved: promptlinked_issue (integer, e.g., 2723):. Validated byint()parse (rejects strings, floats, shell metachars by construction) + range-check1 <= n <= 9_999_999. The bounds reject shell-metachar injection; the digit-count cap is incidental, not load-bearing. - Unless
--no-verify:gh issue view <N> --json state,titlewith 5-second timeout. Non-zero exit printsgh issue view failed (<reason>). Re-invoke with --no-verify to skip validation.to stderr and exits 1. There is no closed-state warning branch — if the operator typed the number, they meant it. - Mutate atomically: serialize the new frontmatter to a tempfile in the same directory, then
os.replace. SIGINT beforeos.replaceleaves the original file untouched. - Print
git diff -- <file>to stdout. PrintDiff above. Review and commit when ready. To undo: git checkout -- <file>. No auto-commit by design.to stderr. Exit 0.
help
python3 plugins/soleur/skills/resolve-debt/scripts/resolve-debt.py --help
Prints a usage block enumerating the three modes; exit 0.
Frontmatter Contract
status: required, enumopen | resolved | wont-fix. Defaultopenfor new entries (set bysoleur:compound'sresolution-template.md).linked_issue: required whenstatus: resolved; optional whenstatus: wont-fix; forbidden whenstatus: open. Stored as a YAML integer, no#prefix.
Why status instead of "absence-of-linked_issue": wont-fix is the load-bearing discriminator of record. Without status, there is no way to express "we know about this debt and have decided not to fix it." Future schema simplification must preserve status for this reason.
See [knowledge-base/project/learnings/
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/resolve-debt.py
FAQ
Что делает скилл resolve-debt?
This skill should be used when triaging or closing open entries in the technical-debt ledger. Lists open debt, walks the operator through closing one with a linked GitHub issue.
Как установить скилл resolve-debt?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл resolve-debt запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…