본문으로 건너뛰기
Skillpedia
일반 코딩48k · #4788

grok-build

하는 일

이 도구는 AI 어시스턴트가 특정 코딩 작업을 다른 AI인 Grok Build에 보내도록 합니다. Grok Build가 이 작업을 실행하고, AI 어시스턴트가 전달하기 전에 작업을 검토합니다.

사용하는 경우

  • ✓잘 정의된 프로그래밍 작업이 있고 AI가 이를 실행하기를 원할 때.
  • ✓AI가 단계별로 코드를 바꾸고 검토하기를 원할 때.
  • ✓AI에게 'grok 사용해', 'grok build', 'grok에 보내' 라고 말할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/grok-build/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/grok-build/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Grok, 홈페이지에 클릭하면 폼을 제출하는 파란색 버튼을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI 어시스턴트는 Grok Build를 위한 상세한 계획을 세워, 정확히 무엇을 어디서 할지 보여 줍니다. 실행 전에 Grok Build가 파일을 바꾸는 것을 허락할지 묻습니다. 실행 후에는 어시스턴트가 변경 사항을 검토하고 최종 승인을 요청합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Grok Build Orchestration

When to Use

  • Use when delegating a well-specified implementation task to xAI's Grok Build CLI running headlessly
  • Use when executing a Markdown implementation plan task-by-task with a diff review after each task
  • Use when the user says "use grok", "grok build", "have grok implement", or "send to grok"

The coding assistant is the orchestrator: it plans, writes self-contained task specs, dispatches them to Grok Build headlessly, reviews every diff, and owns the final result. Grok is the fast, cheap executor. Full CLI details and verified behaviors: references/cli.md.

Safety Gate

Before every dispatch, show the user the exact task specification that will be sent to xAI, the target worktree, and the permission mode. Obtain explicit approval to disclose that text and to let Grok edit the scoped worktree. Never include secrets, proprietary source, customer data, or credentials in a task specification. Do not run grok update, --always-approve, or a destructive recovery command without separate, explicit approval.

When to delegate vs keep with the orchestrator

Delegate to Grok Keep with the orchestrator
Plan tasks with clear acceptance criteria Ambiguous requirements, architecture decisions
Boilerplate, scaffolding, CRUD Deep cross-file debugging
Mechanical refactors Security-sensitive code
Test writing from clear specs Anything touching production infrastructure
UI components from mockups/specs Tasks where writing the spec ≈ doing the work

When in doubt, keep it with the orchestrator.

Session preflight (once, before the first dispatch)

  1. grok update --check --json — if updateAvailable is true, tell the user. Run grok update only after explicit approval, then confirm with grok --version.
  2. grok models — if it errors or reports logged out, STOP and ask the user to run grok login.

Per-task loop (sequential — the default)

  1. Spec. Write a self-contained task file (template below) to a temp directory OUTSIDE the target repo — the harness scratchpad if one is available, else the OS temp dir. Never write it inside the target repo. Grok has zero conversation context: no one-liner prompts, ever.

    • POSIX: mkdir -p "${TMPDIR:-/tmp}/grok-specs", then write task.md there.
    • Windows (PowerShell): New-Item -ItemType Directory -Force "$env:TEMP\grok-specs", then write task.md there.
  2. Clean state. No uncommitted source changes — commit or stash first, so the post-run diff is exactly Grok's work. Ignore build artifacts (__pycache__, dist/, etc.); if they show in git status, they're usually just un-gitignored, not your concern. Never dispatch on a dirty source tree.

  3. Dispatch.

    POSIX:

    grok --prompt-file <task-file> \
      --output-format json \
      --always-approve \
      --max-turns 30 \
      --cwd <repo>
    

    Windows (PowerShell) — backtick line-continuation:

    grok --prompt-file <task-file> `
      --output-format json `
      --always-approve `
      --max-turns 30 `
      --cwd <repo>
    

    Parse the JSON output and save sessionId. (--always-approve is required for headless runs — --permission-mode acceptEdits silently cancels edits with no interactive approver. Use it only after the user explicitly approves Grok editing this exact scoped worktree. See references/cli.md.) For a high-stakes task, add --check so Grok self-verifies before you review; skip it otherwise (it ~doubles latency).

  4. Review gate — non-negotiable.

    • Read the diff yourself (git diff -- <files from the spec> to skip artifact noise): does it do the task, only the task, and match repo conventions?
    • Run the acceptance commands from the spec.
    • Pass → commit with a clear message following the repo's convention → next task.
    • Fail → ask the user before a fix-up or any reset. Never run git checkout -- . or git clean -fd automatically; preserve the diff for review and use a non-destructive recovery plan unless the user explicitly authorizes otherwise.

Task spec template

# Task: <one-line title>

## Context
- Repo: <path> — <one line on what the project is>
- Conventions: <test runner, formatter, a good example file to imitate>

## Files
- Modify: <path>
- Create: <path>

## Task
<precise description of the change>

## Constraints

…
자주 묻는 질문

「Grok Build」란 무엇인가요?

지시를 정확히 따라 프로그래밍 작업을 빠르고 효율적으로 실행하는 데 특화된 AI 도구입니다.

AI 어시스턴트는 무엇을 하나요?

감독자 역할을 합니다. 작업을 계획하고, Grok Build에 줄 지침을 준비하고, 만들어진 각 변경을 검토하며 최종 결과가 올바른지 확인합니다.

보안이 걱정되나요?

네. AI 어시스턴트는 Grok Build에 비밀 정보나 민감한 데이터를 보내지 않습니다. 또한 파일을 바꾸기 전에 여러분에게 확인을 받습니다.

상세 정보

작성자의 원본 설명

Delegate well-specified implementation tasks to xAI's Grok Build CLI running headlessly while the orchestrating agent plans, writes task specs, reviews every diff, and owns the result.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4788
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬