소스 정보
- 저장소
- arbazkhan971/godmode
- 최근 소스 활동
- 2026년 4월 14일 09:46
- 감지된 SKILL.md 언어
- 영어
- 스타
- 25
- 포크
- 7
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/arbazkhan971/godmode --skill build명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | build |
| description | Implementation engine. Parallel agents in worktrees from plan. |
/godmode:build, "build", "implement", "create"Before planning: read .godmode/lessons.md for known build pitfalls.
After session: append lessons about task decomposition or merge strategies that worked/failed.
Read .godmode/plan.yaml. Missing → /godmode:plan first. Skip plan only for changes touching ≤2 files.
On start: check .godmode/session-state.json. If resuming (stop_reason is null), load completed tasks and pending tasks from saved state. Skip completed tasks, continue from next pending.
After each round: atomically save state (completed task IDs, pending task IDs, current round, agent results) to .godmode/session-state.json.
On completion: set stop_reason in the state file.
tasks = load_plan()
WHILE tasks remain:
round = pick_tasks_with_no_unmet_deps(tasks, completed)[:5]
FOR each task: Agent("Implement: {task.title}\nFiles: {task.files}\nDone when: {task.done_when}\nStack: {stack}", isolation: "worktree")
FOR each completed agent:
merge worktree → conflict: `git merge --abort`, discard, retry narrower scope → test fail: `/godmode:fix` (max 2) or `git revert HEAD`
VERIFY: build_cmd && lint_cmd && test_cmd → fail: /godmode:fix (max 3). All 3 must pass.
Append `.godmode/build-log.tsv`: round, task_id, agent_time_ms, status(merged/reverted/conflict). Print `Round {N}: {done}/{total}`
Print: Build: {completed}/{total} tasks in {rounds} rounds. Merged: {merged}. Reverted: {reverted}. Conflicts: {conflicts}.
Agents complete in parallel but MERGE in dispatch order (not completion order). This ensures deterministic state for test runs.
Merge conflict → discard agent's work immediately (don't resolve). Re-queue task in NEXT round with note: "Conflict with {agent}:{file}. Narrow scope." Log: round, task_id, agent_id, status=conflict, conflicted_file.
After merge+test failure: max 2 re-attempts.
IF tests fail after merge: revert agent's work. IF agent needs file outside scope: report NEEDS_CONTEXT.
Agent discovers it needs file X not in task.files: → STOP, report NEEDS_CONTEXT to orchestrator. → Orchestrator amends scope or discards task. → Agent does NOT touch files outside scope.
After EACH agent merge:
KEEP if: build_cmd && lint_cmd && test_cmd all pass after merge
DISCARD if: any check fails OR merge conflict
On discard: git reset --hard HEAD~1. Re-queue task in next round with narrower scope.
Never keep a merge that breaks any guard check.
After task DISCARD: check build-failures.tsv for patterns.
If >3 merge_conflict: reduce to 2 agents per round.
If >3 test_regression: add pre-merge test run per agent before merge.
Every change must help a CLASS of tasks, not one specific task. "If this test file was deleted, would this code change still be correct?" If NO → rethink.
On 3+ task failures in a round:
Diagnose: read failed diffs and test output.
Write: "Tasks are failing because {shared pattern}.
The plan needs {specific adjustment}."
Apply diagnosis before next round.
STOP when FIRST of:
- target_reached: all tasks in plan completed and guards pass
- budget_exhausted: max rounds reached (tasks * 2)
- diminishing_returns: 3 consecutive rounds with 0 tasks merged
- stuck: >5 consecutive discards across rounds
SKILL.md §14. Principles prelude (Think/Simplicity/Surgical/Goal-driven), pre-commit audit (agents/builder.md step 10a), terse/stdio/tokens, DispatchContext validation, Progressive Disclosure routing, discard cost hierarchy, and coordination patterns all fire by default. Do NOT require explicit flags.build_cmd && lint_cmd && test_cmd. Any non-zero exit = stop round, fix before next merge..godmode/plan.yaml — missing plan means run /godmode:plan first.build_cmd && lint_cmd && test_cmd after every merge — pass to keep, fail to revert.# Run build and measure output
npm run build 2>&1
npx bundlesize --config bundlesize.config.json
feat({module}): {task.title}. One commit per task.build_cmd && lint_cmd && test_cmd. Any non-zero exit = stop round, fix before next merge.// placeholder.For ambiguous implementation decisions: dispatch 2 agents with different approaches. Merge the one that passes all tests with fewer lines. Discard the other.
If your platform lacks Agent() or worktree isolation:
git checkout -b godmode-build-{task_id}, implement, commit, then git checkout main && git merge godmode-build-{task_id}.build_cmd && lint_cmd && test_cmd. Fail → git merge --abort or git reset --hard HEAD~1.git branch -d godmode-build-{task_id}.adapters/shared/sequential-dispatch.md for full protocol.| Failure | Action |
|---|---|
| Merge conflict between agents | Discard conflicting agent's work. Re-queue task in next round with narrower file scope. Never manually resolve conflicts. |
| Test failure after merge | Run /godmode:fix with specific test failure. Max 2 retries, then git revert HEAD and re-queue with broader context. |
| Agent touches files outside scope | Discard agent output entirely. Log scope violation. Re-dispatch with explicit file list. |
| Build command fails post-merge | Check for missing imports or circular dependencies introduced by merge. Revert and re-queue. |
build_cmd && lint_cmd && test_cmd all pass on final state.Append to .godmode/build-log.tsv:
round task_id agent_time_ms status conflicted_file notes
One row per agent per round. Status: merged, reverted, conflict, timeout.
On task DISCARD: classify failure and append to .godmode/build-failures.tsv.
Build-specific failure classes: merge_conflict, test_regression, scope_violation, timeout, dependency_error.
Before each round, read build-failures.tsv. If >3 merge_conflict entries: reduce agent parallelism.