一键导入
sd-loop
Start an autonomous loop — re-feeds the same prompt until done
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start an autonomous loop — re-feeds the same prompt until done
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deep dive into codebase architecture with text explanations. Use when the user says: "explain the architecture", "how does X work", "refresh my memory", "deep dive into", "explain this system", "I forgot how X works", "walk me through".
Node.js/Hono backend development with native-first approach. Also use when the user mentions 'create an API,' 'add an endpoint,' 'build a REST API,' 'database schema,' 'server-side,' 'middleware,' 'route handler,' or 'backend logic.' Use this even if the user just says 'I need an API for...' or 'add a POST route.'
Reduce code complexity, eliminate dead code, consolidate duplicate logic. Also use when the user mentions 'dead code,' 'unused functions,' 'duplicated logic,' 'too complex,' 'simplify this,' 'consolidate,' 'reduce bundle size,' 'clean up,' or 'refactor for maintainability.' Use this even if the user just says 'this feels bloated' or 'there must be dead code in here.'
Systematic error investigation and troubleshooting for React and Node.js. Also use when the user mentions 'error,' 'bug,' 'broken,' 'not working,' 'crash,' 'stack trace,' 'console error,' 'white screen,' 'infinite loop,' 'network error,' or '500 error.' Use this even if the user just says 'something is wrong' or 'it broke.'
Railway platform deployment with optimal configuration and troubleshooting. Also use when the user mentions 'deploy,' 'railway,' 'push to production,' 'environment variables,' 'deployment failed,' 'build error,' 'railway logs,' 'custom domain,' or 'database provisioning.' Use this even if the user just says 'ship it' or 'get it live.'
Minimalist design systems inspired by Vercel and shadcn/ui. Also use when the user mentions 'design system,' 'logo,' 'landing page design,' 'UI design,' 'visual direction,' 'color palette,' 'typography,' 'component design,' 'dark mode design,' or 'make it look like Vercel.' Use this even if the user just says 'design this' or 'it needs a visual refresh.'
| name | sd-loop |
| description | Start an autonomous loop — re-feeds the same prompt until done |
Parse the user's arguments: /sd-loop ["<prompt>"] [--max-iterations N] [--completion-promise "TEXT"]
Defaults:
Read SPEC.md and implement everything in it. When all items are complete, commit your work, push the branch, and submit a PR with gh pr create. Then output <promise>DONE</promise>.SPEC.md exists in the current project directory. If not, create it with this starter template and tell the user to fill it in before running /sd-loop again — then stop:# Spec
## Requirements
-
.claude/loop.local.md in the current project directory:---
active: true
iteration: 0
max_iterations: <N>
completion_promise: "<TEXT or empty>"
started_at: <ISO timestamp>
---
<THE PROMPT>
Confirm to the user:
<promise>TEXT</promise> to exit early/sd-loop-cancelThen immediately execute the prompt — begin working on it now.