grok-build
यह क्या करती है
यह tool एक AI assistant को किसी खास coding task को Grok Build नाम के दूसरे AI के पास भेजने देता है। Grok Build वह task करता है, और AI assistant आपको देने से पहले उस काम की समीक्षा करता है।
कब इस्तेमाल करें
- ✓जब आपके पास कोई साफ़ तरह से परिभाषित programming task हो और आप चाहते हों कि कोई AI उसे करे।
- ✓जब आप चाहते हों कि code में बदलाव एक-एक कदम करके AI द्वारा किया और जाँचा जाए।
- ✓जब आप AI से कहें 'use grok', 'grok build', या 'send to grok'।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/grok-build/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Grok, होमपेज पर एक नीला button बनाओ जो क्लिक करने पर form submit कर दे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI assistant Grok Build के लिए एक विस्तृत plan बनाता है, जिसमें साफ़ लिखा होता है कि क्या करना है और कहाँ करना है। चलाने से पहले वह आपसे अनुमति माँगता है कि Grok Build files बदल सके। काम पूरा होने के बाद assistant बदलावों की समीक्षा करता है और आपकी आखिरी मंज़ूरी माँगता है।
तकनीकी सामग्री (मूल 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)
grok update --check --json— ifupdateAvailableis true, tell the user. Rungrok updateonly after explicit approval, then confirm withgrok --version.grok models— if it errors or reports logged out, STOP and ask the user to rungrok login.
Per-task loop (sequential — the default)
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 writetask.mdthere. - Windows (PowerShell):
New-Item -ItemType Directory -Force "$env:TEMP\grok-specs", then writetask.mdthere.
- POSIX:
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 ingit status, they're usually just un-gitignored, not your concern. Never dispatch on a dirty source tree.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-approveis required for headless runs —--permission-mode acceptEditssilently cancels edits with no interactive approver. Use it only after the user explicitly approves Grok editing this exact scoped worktree. Seereferences/cli.md.) For a high-stakes task, add--checkso Grok self-verifies before you review; skip it otherwise (it ~doubles latency).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 -- .orgit clean -fdautomatically; preserve the diff for review and use a non-destructive recovery plan unless the user explicitly authorizes otherwise.
- Read the diff yourself (
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 tool है जो निर्देशों का सटीक पालन करते हुए programming के काम तेज़ी और कुशलता से करने में माहिर है।
AI assistant क्या करता है?
यह एक supervisor की तरह काम करता है: काम की योजना बनाता है, Grok Build के लिए निर्देश तैयार करता है, हर बदलाव की समीक्षा करता है और सुनिश्चित करता है कि आखिरी नतीजा सही हो।
क्या मुझे सुरक्षा की चिंता करनी चाहिए?
हाँ, लेकिन AI assistant कभी भी गुप्त जानकारी या संवेदनशील डेटा Grok Build को नहीं भेजता। किसी भी file में बदलाव से पहले आपसे सलाह भी ली जाएगी।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4788
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।