Skip to content
Agent Memory
Command

/do

Lightweight command for small tasks (< 1 hour). No plan file, no review dispatch. Prevents context drift across multi-turn interactions.

BOOST
From plugin
oh-my-kiro
10715 skills2 agents15 commands2 hooks
Install
$ npx -y skills add kaimingwan/oh-my-kiro --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/do

Context preview

What this command does when you run it.

Lightweight command for small tasks (< 1 hour). No plan file, no review dispatch. Prevents context drift across multi-turn interactions.

Command definition

do.md

Lightweight command for small tasks (< 1 hour). No plan file, no review dispatch. Prevents context drift across multi-turn interactions.

Stage 1: Scratchpad (MANDATORY, even if task seems trivial)

Before ANY code change, write a scratchpad to `/tmp/task-scratch.md`:

## Task: <one-line description>
- Files: <list files to read/modify, discovered via LSP>
- Constraint: <key constraints or gotchas>
- Verify: <how to verify success>

Discovery steps (silent, no user output): 1. `search_symbols` / `find_references` / `get_diagnostics` to identify all affected files 2. Read each affected file's relevant sections (NOT entire files — use line offsets) 3. Update scratchpad with actual file list and key findings

Stage 2: Execute

Make changes following `skills/omk-coding/SKILL.md` Phase 1-4.

**Context anchor rule**: After EVERY code modification, append a one-line status to the scratchpad:

- [done] modified hooks/feedback/context-enrichment.sh L37-41: expanded CN keywords
- [done] created symlink commands/auto.md → oh-my-kiro
- [blocked] test fails: grep pattern doesn't match "超时"

Stage 3: Verify

1. Run the verify method from scratchpad 2. Re-read scratchpad to confirm all items addressed 3. Report result to user

Multi-turn recovery

If the conversation has gone ≥ 3 turns on this task: 1. STOP and re-read `/tmp/task-scratch.md` 2. Compare current state vs scratchpad — identify drift 3. If drifted, state what drifted and correct course

--- User's task: (The user's next message is the task. If this is the first message after @do was invoked and no task appears above, wait for the user's next message — it will contain the task. Do NOT ask "what do you want to do?" — the user already knows they need to provide input after @do.)

Read more
Ships withoh-my-kiro

Your AI agent forgets everything. Mine doesn't. oh-my-kiro is a framework that gives your AI coding agent persistent memory, deterministic workflows, and self-evolving intelligence. Like oh-my-zsh for Zsh — but for AI agents. Day 1: generic agent.

Get the whole plugin

Other commands on oh-my-kiro.