一键导入
plan
Create a devloop workflow plan with autonomous exploration and task breakdown
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a devloop workflow plan with autonomous exploration and task breakdown
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create or update the project security baseline, profile, suppressions file, and gitignore entries for security scans
Fix or guide remediation for a specific security finding from the latest scan report
Run a security assessment using deterministic static analysis tools with LLM-powered triage
Inspect and optionally install security scanning tools for the security plugin
Query ctx memory and inject results into context
Show ctx memory status (node counts, types, tiers, tokens)
| name | plan |
| description | Create a devloop workflow plan with autonomous exploration and task breakdown |
| argument-hint | <topic> [--deep|--quick|--from-issue N] |
| when_to_use | Initial project setup, starting new features, designing bug fixes, architectural spikes |
| allowed-tools | ["Read","Write","Edit","Grep","Glob","Bash","Bash(${CLAUDE_PLUGIN_ROOT}/scripts/*.sh:*)","LSP","Agent","AskUserQuestion","WebSearch","WebFetch","TaskCreate","TaskUpdate","TaskList"] |
Create actionable plan from topic. Do the work directly.
Bash hygiene: prefer quiet flags to minimize output (npm install --silent, git status -sb, pipe long output through | tail -n 20).
Extract topic from $ARGUMENTS. If missing, show usage: /devloop:plan <topic> [--deep|--quick|--from-issue N].
If --from-issue N: Fetch with gh issue view $N --json number,title,body,url. Use title as topic, body as context.
If .devloop/plan.md exists:
done=$(grep -cE "^\s*- \[x\]" .devloop/plan.md 2>/dev/null || echo 0)
total=$(grep -cE "^\s*- \[[ x~!-]\]" .devloop/plan.md 2>/dev/null || echo 0)
done == total and total > 0: auto-archive silently:
"${CLAUDE_PLUGIN_ROOT}/scripts/archive-plan.sh" .devloop/plan.md --force
done < total): prompt to archive (force) or cancel.total == 0: continue to Step 3.--quick: Fast PathUse for bug fixes with known cause or small additions.
--quick.--deep: Comprehensive ExplorationUse for unclear requirements or architectural changes.
.devloop/spikes/{topic}.md.Run ${CLAUDE_PLUGIN_ROOT}/scripts/check-devloop-state.sh. Detect tech stack and patterns from CLAUDE.md.
LSP.workspaceSymbol for precise results -- fall back to Grep if LSP errors or is unavailable.LSP.documentSymbol to map their structure -- fall back to Read + Grep if LSP unavailable.Token efficiency: Read only what is needed for planning. After exploration, filter your findings to the most relevant 3-5 facts (affected files, key dependencies, main risk). Do NOT carry raw file contents into the plan generation step -- summarize findings instead. This keeps the planning context lean and improves prompt caching on subsequent runs.
Create .devloop/plan.md with: Overview, Approach, Considerations, and Phased Tasks.
Tasks: Phased, specific, actionable, testable. (XS: 2-3 tasks, XL: 8-12 tasks).
Annotate each task with a model hint based on complexity:
[model:haiku] — Simple/mechanical: writing tests from existing patterns, documentation, formatting, linting, config changes, file renames[model:sonnet] — Complex reasoning: architecture, debugging, multi-file refactoring, security, performance optimizationIdentify tasks that can execute concurrently and assign [parallel:X] groups:
[depends:N.M] for tasks that require prior task outputDisplay Summary: Complexity, Task/Phase count, Key files, and Approach. AskUserQuestion:
/devloop:run.Now: Parse input and begin.