harvest-debt
This skill should be used when harvesting inline SOLEUR-DEBT: markers from the codebase into a ledger grouped by file, flagging markers with no upgrade trigger.
от jikig-ai★ 21 звезда на GitHub
Установить harvest-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.
Harvest Inline Deferral Markers
Read-only harvester for inline SOLEUR-DEBT: deferral markers. It makes the
deliberate shortcuts left in code grep-discoverable so a deferral cannot quietly
become permanent. It complements — never duplicates — the reactive
technical-debt ledger:
- harvest-debt (this skill) — SURFACE inline markers where they live, in code.
- soleur:compound — PROMOTE a worth-tracking marker into a ledger entry.
- soleur:resolve-debt — CLOSE a ledger entry with a linked GitHub issue.
It writes nothing and closes nothing; promotion and closure stay deliberate acts.
The marker convention
A deliberate shortcut is annotated inline, in a code comment, with the ceiling it tops out at and the observable trigger that says "do the real thing now":
// SOLEUR-DEBT: <ceiling>; <upgrade trigger>
- Use the all-caps
SOLEUR-DEBT:marker — never a baresoleur:prefix, which collides with skill references likesoleur:gothroughout the docs. - The text before the first
;is the ceiling (the shortcut / current limit); the text after is the upgrade trigger. - Example:
// SOLEUR-DEBT: global lock; switch to per-account locks if throughput matters. - A marker with no
;-delimited trigger is the rot-prone case — the harvest flags itno-trigger.
This marker is the canonical, grep-discoverable form of the in-place deferral that
the wg-when-deferring-a-capability-create-a gate prefers over filing speculative backlog
issues. Document a deferral here, in code, and harvest makes it visible without
converting every shortcut into phantom backlog.
Run
bash "${CLAUDE_PLUGIN_ROOT}/skills/harvest-debt/scripts/harvest-debt.sh"
Run from the repo root. The harvester (harvest-debt.sh):
- Greps tracked source for
SOLEUR-DEBT:markers. - Groups hits by file and splits each on the first
;into ceiling + trigger. - Flags any marker with no trigger as
no-trigger. - Prints a markdown report ending with
<N> markers, <M> with no trigger., orNo SOLEUR-DEBT markers found.when the tree is clean.
--help prints usage. The script is idempotent and read-only.
After harvesting
For each surfaced marker, decide:
- Worth tracking → run soleur:compound to promote it
into a
technical-debt/ledger entry, then soleur:resolve-debt to close it with a linked issue once the upgrade trigger fires. no-trigger→ add the missing upgrade trigger to the comment, or delete the marker if the shortcut is now permanent and accepted.
Scope (and its one limitation)
The harvest scans CODE comments only. Prose (*.md — the convention doc, plans,
specs, SKILL bodies), node_modules, and build output (_site, dist, *.min.*)
are excluded so the marker DEFINITION never self-reports as debt. This is a path
denylist, not a semantic check: a SOLEUR-DEBT: literal placed in a non-.md
source file purely as documentation would still be reported. Keep marker examples
in markdown.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/harvest-debt.sh
FAQ
Что делает скилл harvest-debt?
This skill should be used when harvesting inline SOLEUR-DEBT: markers from the codebase into a ledger grouped by file, flagging markers with no upgrade trigger.
Как установить скилл harvest-debt?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл harvest-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…