用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/maslennikov-ig/BuhBot --skill work命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | work |
| description | Work with tasks: view ready, pick, execute with Context7 docs, close. Full lifecycle with MCP documentation lookup. |
| version | 1.0.0 |
Skill для работы с задачами: просмотр, выбор, выполнение с обязательным использованием Context7 для актуальной документации.
Invoke via: /work or "покажи задачи" or "что делать"
Optional arguments:
/work — показать готовые задачи (default: 20)/work -n 50 — показать больше задач/work -l frontend — только frontend задачи/work pick — автовыбор задачи по приоритету/work defer buh-xxx +3m — отложить задачу на 3 месяца/work deferred — показать отложенные задачиBefore implementing ANY task, query Context7 for up-to-date documentation on involved libraries.
Skip only for trivial changes that don't touch library APIs (typos, comments, config values).
1. mcp__context7__resolve-library-id — resolve library name to ID
2. mcp__context7__query-docs — query docs by resolved ID + topic
When delegating to subagents — fetch docs first, include in delegation context.
Показать готовые задачи:
# Get arguments
LIMIT="${1:--n 20}"
# Show ready tasks
bd ready $LIMIT 2>/dev/null | head -30
# Count
echo ""
echo "---"
TOTAL=$(bd ready -n 100 2>/dev/null | wc -l)
echo "Total ready: $TOTAL tasks"
If no tasks:
No ready tasks found.
Options:
1. /process-issues — import from GitHub Issues
2. bd create --title='Task title' --type=task --priority=2 — create manually
User says: "возьми buh-xxx" or provides task ID
# Show task details
bd show buh-xxx
# Claim task
bd update buh-xxx --status in_progress
User says: /work pick or "выбери задачу"
# Get highest priority task (P0 > P1 > P2 > P3 > P4)
TASK=$(bd ready -n 1 --sort priority 2>/dev/null | head -1 | grep -oP 'buh-[a-z0-9]+')
if [ -n "$TASK" ]; then
echo "Selected: $TASK"
bd show $TASK
bd update $TASK --status in_progress
else
echo "No tasks available"
fi
1. bd show buh-xxx — read full description
2. Context7: resolve + query — get docs for involved libraries (MANDATORY)
3. Gather context — read files, search codebase
4. Implement — delegate or execute directly
5. Verify — npm run type-check && npm run build
6. bd close buh-xxx — mark complete
7. git commit && git push — commit changes
When delegating to subagents, ALWAYS include Context7 docs:
Task: Fix/implement <description>
Issue: <title>
Context7 Documentation:
<paste relevant docs fetched from Context7 here>
Files to modify:
- <path1>: <what to change>
- <path2>: <what to change>
Validation: Run `npm run type-check` after changes
| Domain | Subagent | When |
|---|---|---|
| DB/migrations | database-architect | Schema changes, RLS |
| UI components | nextjs-ui-designer | New pages, components |
| Backend services | fullstack-nextjs-specialist | APIs, workers, services |
| Telegram bot | telegraf-bot-middleware-specialist | Bot handlers, middleware |
| SLA/monitoring | sla-backend-specialist | SLA timers, alerts |
| TypeScript types | typescript-types-specialist | Complex types, generics |
| Bug investigation | problem-investigator | Complex root cause |
| Security | vulnerability-fixer | Auth, XSS, injection |
| Performance | performance-optimizer | Slow queries, rendering |
# Close with reason
bd close buh-xxx --reason="Fixed: description of what was done"
# If task has GitHub reference, also close GitHub issue
# Check external-ref in task description
GITHUB_REF=$(bd show buh-xxx 2>/dev/null | grep -oP 'external-ref.*gh-\K[0-9]+' | head -1)
if [[ -n "$GITHUB_REF" ]]; then
gh issue close $GITHUB_REF --comment "Fixed in Beads task buh-xxx"
fi
When no local tasks → suggest importing from GitHub:
User: /work
Claude: No ready tasks.
Options:
1. /process-issues — Check GitHub for new issues
2. bd create --title="..." --type=task --priority=2 — Create task manually
User: /process-issues
Claude: [Processes GitHub issues, creates Beads tasks with external-ref]
User: /work
Claude: Found 3 ready tasks:
1. [P1] buh-abc: Fix auth bug (gh-45)
2. [P2] buh-def: Add feature X (gh-52)
...
| Source | How to Create | External Ref |
|---|---|---|
| GitHub Issue | /process-issues | gh-123 |
| Manual | bd create --title="Title" --type=task --priority=2 | none |
| Emergent (found at work) | bd create --title="Found bug" --type=bug --deps discovered-from:buh-x | none |
Отложенные задачи скрыты из bd ready до указанной даты.
# Отложить на время
bd update buh-xxx --defer "+1w" # на неделю
bd update buh-xxx --defer "+2w" # на 2 недели
bd update buh-xxx --defer "+3m" # на 3 месяца
# Отложить до даты
bd update buh-xxx --defer "2026-03-01"
bd update buh-xxx --defer "next monday"
# Снять defer (вернуть в работу)
bd update buh-xxx --defer ""
# Отложить группу связанных задач
for id in buh-aaa buh-bbb buh-ccc; do
bd update $id --defer "+3m"
done
bd ready --include-deferred
# View tasks
bd ready -n 20 # Ready tasks
bd list --status=in_progress # Currently working on
bd show buh-xxx # Task details
# Work lifecycle
bd update buh-xxx --status in_progress # Start
bd close buh-xxx --reason="..." # Finish
# Create tasks
bd create --title="Title" --type=task --priority=2 # Manual
bd create --title="Bug" --type=bug --priority=1 --external-ref="gh-99" # From GitHub
# Labels
bd ready -l frontend # Only frontend
bd ready -l backend # Only backend
# Defer (откладывание)
bd update buh-xxx --defer "+3m" # Отложить на 3 месяца
bd update buh-xxx --defer "" # Снять defer
bd ready --include-deferred # Показать отложенные
# Context7 (MANDATORY before implementation)
# Step 1: mcp__context7__resolve-library-id
# Step 2: mcp__context7__query-docs
Before closing any task:
npm run type-check passesnpm run build passes