add-to-todos — команда для Claude Code: что делает и как установить
Команда add-to-todos сохраняет задачи в TO-DOS.md прямо из диалога, фиксируя пути к файлам, номера строк и описание проблемы без потери текущего контекста.
MIT ★ 1 988 обновлён 2026-04-01
/plugin marketplace add glittercowboy/taches-cc-resources
/plugin install taches-cc-resources@taches-cc-resourcesЧто делает add-to-todos
Команда создаёт или обновляет файл TO-DOS.md в рабочей директории проекта. Если вызвать её с аргументом, переданный текст станет названием задачи. Без аргументов агент сам проанализирует недавнюю переписку: выделит суть проблемы, пути к файлам и точные номера строк.
Перед добавлением команда сверяет новую задачу с уже существующими записями. Если найдено смысловое совпадение, Claude спросит, пропустить ли запись, заменить старую версию или создать отдельный пункт. Каждая запись содержит дату, краткое описание и обязательные поля Problem и Files. Чекбоксы здесь не используются: задача просто удаляется из списка, когда начинается работа над ней.
Для работы команде требуются разрешения на инструменты Read, Edit и Write. Сразу после сохранения файла агент подтверждает запись и предлагает вернуться к делу, которым вы занимались до вызова команды.
Какие задачи решает
- сохранить найденный баг в
TO-DOS.mdс номерами строк и контекстом - сформировать задачу из недавней переписки без ручного копирования
- проверить список задач на повторы перед созданием новой записи
- вернуться к текущему коду сразу после быстрой фиксации идеи
Примеры запросов агенту
- /add-to-todos вынести проверку сессий в отдельный middleware
- /add-to-todos
Как установить add-to-todos
1Через маркетплейс плагинов
/plugin marketplace add glittercowboy/taches-cc-resources/plugin install taches-cc-resources@taches-cc-resources2Вручную: положить файлы
.claude/commands/add-to-todos.mdВызов — /add-to-todos. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/add-to-todos.mdВызов — /prompts:add-to-todos. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/add-to-todos.prompt.mdВручную: положить файлы
.gemini/commands/add-to-todos.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы об add-to-todos
Как установить add-to-todos в Claude Code?
Выполните последовательно две команды: /plugin marketplace add glittercowboy/taches-cc-resources и /plugin install taches-cc-resources@taches-cc-resources. Также файл команды можно сохранить вручную по пути .claude/commands/add-to-todos.md.
Что делает команда add-to-todos?
Она сохраняет задачу в файл TO-DOS.md, подтягивая из текущего диалога суть неполадки, затронутые пути к файлам, номера строк и возможное решение.
Что происходит при обнаружении дубликата задачи?
Команда находит схожие формулировки и предлагает на выбор три варианта: пропустить добавление, заменить старую задачу новой версией или добавить её отдельным пунктом.
Исходный текст
add-to-todos.md · MIT
---
description: Add todo item to TO-DOS.md with context from conversation
argument-hint: <todo-description> (optional - infers from conversation if omitted)
allowed-tools:
- Read
- Edit
- Write
---
# Add Todo Item
## Context
- Current timestamp: !`date "+%Y-%m-%d %H:%M"`
## Instructions
1. Read TO-DOS.md in the working directory (create with Write tool if it doesn't exist)
2. Check for duplicates:
- Extract key concept/action from the new todo
- Search existing todos for similar titles or overlapping scope
- If found, ask user: "A similar todo already exists: [title]. Would you like to:\n\n1. Skip adding (keep existing)\n2. Replace existing with new version\n3. Add anyway as separate item\n\nReply with the number of your choice."
- Wait for user response before proceeding
3. Extract todo content:
- **With $ARGUMENTS**: Use as the focus/title for the todo and context heading
- **Without $ARGUMENTS**: Analyze recent conversation to extract:
- Specific problem or task discussed
- Relevant file paths that need attention
- Technical details (line numbers, error messages, conflicting specifications)
- Root cause if identified
4. Append new section to bottom of file:
- **Heading**: `## Brief Context Title - YYYY-MM-DD HH:MM` (3-8 word title, current timestamp)
- **Todo format**: `- **[Action verb] [Component]** - [Brief description]. **Problem:** [What's wrong/why needed]. **Files:** [Comma-separated paths with line numbers]. **Solution:** [Approach hints or constraints, if applicable].`
- **Required fields**: Problem and Files (with line numbers like `path/to/file.ts:123-145`)
- **Optional field**: Solution
- Make each section self-contained for future Claude to understand weeks later
- Use simple list items (not checkboxes) - todos are removed when work begins
5. Confirm and offer to continue with original work:
- Identify what the user was working on before `/add-to-todos` was called
- Confirm the todo was saved: "✓ Saved to todos."
- Ask if they want to continue with the original work: "Would you like to continue with [original task]?"
- Wait for user response
## Format Example
```markdown
## Add Todo Command Improvements - 2025-11-15 14:23
- **Add structured format to add-to-todos** - Standardize todo entries with Problem/Files/Solution pattern. **Problem:** Current todos lack consistent structure, making it hard for Claude to have enough context when revisiting tasks later. **Files:** `commands/add-to-todos.md:22-29`. **Solution:** Use inline bold labels with required Problem and Files fields, optional Solution field.
- **Create check-todos command** - Build companion command to list and select todos. **Problem:** Need workflow to review outstanding todos and load context for selected item. **Files:** `commands/check-todos.md` (new), `TO-DOS.md` (reads from). **Solution:** Parse markdown list, display numbered list, accept selection to load full context and remove item.
```
© Lex Christopherson · MIT · glittercowboy/taches-cc-resources