iterating
БесплатноБез исполняемых скриптовНе проверенMulti-conversation methodology for iterative stateful work with context accumulation. Use when users request work that spans multiple sessions (research…
Об этом скилле
Iterating
Maintain context across multiple sessions by persisting state in Work Logs.
Environment Detection
Detect environment and load appropriate reference:
if [ "$CLAUDE_CODE_REMOTE" = "true" ]; then
# Claude Code on the Web (CCotw) - writes to GitHub
# Read: references/ccotw-environment.md
elif [ -n "$CLAUDE_CODE_REMOTE" ]; then
# Claude Code CLI - writes to local filesystem
# Read: references/codecli-environment.md
elif [ -x "$(command -v osascript)" ] && [ -d "/Applications/Claude.app" ]; then
# Claude Desktop - may write to disk OR output for download
# Read: references/desktop-environment.md
else
# Claude.ai (web/chat/native app) - outputs for download
# Read: references/chat-environment.md
fi
See environment-specific reference for persistence and retrieval details.
Checkpoint Pattern
The iterating skill enforces a checkpoint-and-save pattern to prevent work loss:
- Create/Update WorkLog → Output for user → STOP
- User saves WorkLog to project knowledge (survives conversation limits)
- User says "continue" (same or new conversation)
- Make incremental progress on ONE item → Update WorkLog → STOP
- Repeat
This matters because separate conversations don't share context automatically: skipping the STOP step ("full waterfall") produces work the user hasn't seen or been able to redirect, and risks losing everything mid-task if the conversation ends before a checkpoint lands.
WorkLog Format
---
version: v1
status: in_progress
---
# [Project Name] Work Log
## v1 | YYYY-MM-DD HH:MM | Title
**Prev:** [previous context OR "Starting new work"]
**Now:** [current goal]
**Progress:** [X% complete OR milestone status]
**Files:**
- `path/to/file.ext` (Why this file matters)
- L45-67: [What to examine/change here]
- L123-145: [Another area, specific issue]
**Work:**
+: [additions with file:line]
~: [changes with file:line]
!: [fixes with file:line]
**Decisions:**
- [what]: [why] (vs [alternatives])
**Works:** [effective approaches]
**Fails:** [ineffective approaches, why]
**Blockers:** [None OR specific blocker with owner/ETA]
**Next:**
- [HIGH] [Critical action item]
- [MED] [Important but not urgent]
- [LOW] [Nice to have]
**Open:** [questions needing answers]
Core Workflow
Starting new work:
- Detect environment
- Create WorkLog v1 with task objective, decisions, file references, next steps
- Persist using environment-specific method
- STOP - Present WorkLog to user
- Explain what's planned
- Tell user to save WorkLog to project knowledge
- Wait for user to say "continue" before starting work
Continuing work:
- Detect environment
- Retrieve WorkLog using environment-specific method OR recognize pasted WorkLog
- Parse latest version and status
- Acknowledge: "From WorkLog vN, status: [status]. Progress: [X%]. Working on: [specific HIGH item]"
- Execute ONE HIGH priority item.
- Update WorkLog, increment version
- Persist using environment-specific method
- STOP - Present updated WorkLog to user
- Summarize what was completed
- Tell user to save updated WorkLog
- Wait for user to say "continue" before next item
Recognizing pasted WorkLog: If user pastes content with WorkLog frontmatter at conversation start:
- Parse version and status from YAML
- Acknowledge: "From WorkLog vN, status: [status]. Task: [objective]. Next: [HIGH item]"
- Continue workflow from step 5 above
Version Management
- Simple incremental: v1 → v2 → v3
- Frontmatter:
version: vN(required) - Filename:
WorkLog vN.md(optional) - Multiple files: Use highest version number
Status States
- in_progress: Active work continuing
- blocked: Waiting on external dependency/decision
- needs_review: Ready for human inspection
- completed: Task finished
Priority System
Next steps must be prioritized:
- [HIGH]: Critical items blocking other work
- [MED]: Important but not urgent
- [LOW]: Nice-to-have improvements
Claude works on one HIGH priority item per iteration (see Core Workflow above) unless told otherwise — this keeps each checkpoint reviewable instead of bundling several changes into one WorkLog update.
File References
Use relative paths from project root with line ranges:
**Files:**
- `src/auth/oauth.ts` (OAuth implementation needs refactoring)
- L45-67: Current token validation logic
- L123-145: Refresh token handling (race condition on L134)
Critical: Use relative paths, NOT absolute /home/claude/ paths (fresh compute each session).
Progress Tracking
Always include progress indicators (token/quota constraints may prevent completing full plan):
**Progress:** 60% complete
Or for longer projects:
**Progress:** Phase 2/3 | Auth ✅ | Payments 50% 🔄 | UI ⏳
What to Document
Include:
- Key decisions with rationale and alternatives
- Effective and ineffective
Установить iterating в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл iterating?
Multi-conversation methodology for iterative stateful work with context accumulation. Use when users request work that spans multiple sessions (research, debugging, refactoring, feature development), need to build on past progress, explicitly mention iterative work, work logs, project knowledge, or cross-conversation learning.
Как установить скилл iterating?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл iterating запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub