AGENT SKILL

lean-debt

List every `lean:` shortcut comment in the codebase as one debt ledger, so a deliberate shortcut does not quietly become permanent. Use when the user asks "what did lean defer", "list the shortcuts", "lean debt", "what did we mark to do later", or types /lean-debt. A report; it changes nothing.

License 许可
MIT
最近更新
2026-10-10
Stars
★ 0
Forks
0

01 前言 Front Matter

name
lean-debt
description
List every `lean:` shortcut comment in the codebase as one debt ledger, so a deliberate shortcut does not quietly become permanent. Use when the user asks "what did lean defer", "list the shortcuts", "lean debt", "what did we mark to do later", or types /lean-debt. A report; it changes nothing.

03 SKILL.md 正文

lean-debt

Each deliberate lean shortcut carries a lean: comment that names its limit and when to upgrade. This skill collects them into one list.

Scan

Search the repository for the comment marker and skip .git, node_modules and build output:

grep -rnE --exclude-dir=.git --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=build --exclude='*.md' --exclude='*.json*' '(#|//|/[*]|--) ?lean:' .

The comment prefix keeps text that only mentions the convention out of the list. Add other prefixes if the stack uses them.

Output

One row for each marker, grouped by file:

<file>:<line> - <what was simplified>. Limit: <the limit>. Upgrade when: <the trigger>.

A marker that names no trigger gets the tag no-trigger: these are the ones that rot. End with <N> shortcuts, <M> without a trigger. If there are none: No lean: debt.

Write the rows in the user's language, in plain words. If the user asks, write the list to a file such as LEAN-DEBT.md; otherwise change nothing.

04 同仓库更多 Skills

oshnilia
oshnilia/claude-plugins

take

Take a ticket from the project's Obsidian board into work - pick it, turn it into the task brief, set its status. Use when the person asks to take, start or pick up a ticket or task from the Obsidian board, asks what is next on the board ("возьми тикет", "что дальше по доске"), names a card or a note of the bound board, or runs /obsidian-tasks:take.

★ 0
oshnilia
oshnilia/claude-plugins

setup

Bind this project to a task board in an Obsidian vault (a Kanban plugin board or a Bases board), or create one, and choose how Claude reaches the vault - its folder, the Obsidian CLI or an Obsidian MCP server. Use when the person asks to connect an Obsidian board or vault to the project, to change the board, or to check the binding ("подключи доску из Obsidian", "настрой obsidian-tasks"), or runs /obsidian-tasks:setup.

★ 0
oshnilia
oshnilia/claude-plugins

rules

The rules for this project's Obsidian task board - keep the ticket's status, write the closing report, file new tickets for what is out of scope. The start hook prints them when the project is bound to a board; load them when you work with a ticket and they are not in your context.

★ 0
oshnilia
oshnilia/claude-plugins

take

Take a ticket from the project's Notion board into work - pick it, turn it into the task brief, set its status. Use when the person asks to take, start or pick up a ticket or task from Notion, asks what is next on the board ("возьми тикет", "что дальше по доске"), gives a link to a ticket on the bound board, or runs /notion-tasks:take.

★ 0
oshnilia
oshnilia/claude-plugins

setup

Bind this project to a Notion task board, or create a new board, and save the binding in the project. Use when the person asks to connect Notion tasks or a Notion board to the project, to change the board, or to check the binding ("подключи доску Notion", "настрой notion-tasks"), or runs /notion-tasks:setup.

★ 0
oshnilia
oshnilia/claude-plugins

rules

The rules for this project's Notion task board - keep the ticket's status, write the closing report, file new tickets for what is out of scope. The start hook prints them when the project is bound to a board; load them when you work with a ticket and they are not in your context.

★ 0