begin-coding-worker
Start an adaptive coding loop that dynamically adjusts interval based on activity — short intervals when busy, longer when idle.
소스 정보
- 저장소
- okou-ai/team-skills
- 최근 소스 활동
- 2026년 4월 4일 13:09
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- begin-coding-worker
- description
- Start an adaptive coding loop that dynamically adjusts interval based on activity — short intervals when busy, longer when idle.
1. Determine the worker label and run the coding worker script, capturing stdout:
```bash
PROJECT_ROOT=$(git rev-parse --show-toplevel)
_LABEL="${ARGUMENTS:-$("$PROJECT_ROOT/scripts/cn.sh")}"
${CLAUDE_PLUGIN_ROOT}/scripts/coding-worker.sh "$_LABEL"
```
2. Parse the first line `INTERVAL:N` and save N.
3. Use CronList to check if a recurring cron job for `/begin-coding-worker` already exists.
- If a matching job exists **and** its interval differs from N minutes, delete it with CronDelete and create a new recurring cron with `*/N * * * *` and prompt `/begin-coding-worker $ARGUMENTS`.
- If a matching job exists **and** its interval already matches N minutes, do nothing (keep it as-is).
- If no matching job exists, create a new recurring cron with `*/N * * * *` and prompt `/begin-coding-worker $ARGUMENTS`.
4. If the remaining output (after the first line) is "idle", stop here — the recurring cron will trigger the next check.
5. If the remaining output is NOT "idle", launch a **general-purpose Agent** (subagent) with that output as the prompt. Do NOT execute the instructions yourself — always delegate to a subagent. **Wait for the subagent to complete** before returning.
GitHub에서 보기