[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E3J46R2ERDM2MGHAB97DQC":3,"skill-same:01M7E3J46R2ERDM2MGHAB97DQC":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":14,"repositoryHtmlUrl":44,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M7E3J46R2ERDM2MGHAB97DQC","grok-build",null,"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.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fagent-orchestration\u002Fgrok-build\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: grok-build\ndescription: \"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.\"\ncategory: agent-orchestration\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002Fsanjay3290\u002Fai-skills\u002Ftree\u002Fmain\u002Fskills\u002Fgrok-build\nsource_repo: sanjay3290\u002Fai-skills\nsource_type: community\ndate_added: \"2026-07-09\"\nauthor: sanjay3290\ntags: [grok, delegation, code-generation, xai]\ntools: [claude, cursor, gemini]\nlicense: \"Apache-2.0\"\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fsanjay3290\u002Fai-skills\u002Fblob\u002Fmain\u002FLICENSE\"\n---\n\n# Grok Build Orchestration\n\n## When to Use\n\n- Use when delegating a well-specified implementation task to xAI's Grok Build CLI running headlessly\n- Use when executing a Markdown implementation plan task-by-task with a diff review after each task\n- Use when the user says \"use grok\", \"grok build\", \"have grok implement\", or \"send to grok\"\n\nThe coding assistant is the orchestrator: it plans, writes self-contained task specs,\ndispatches them to Grok Build headlessly, reviews every diff, and owns the final result.\nGrok is the fast, cheap executor. Full CLI details and verified behaviors: `references\u002Fcli.md`.\n\n## Safety Gate\n\nBefore every dispatch, show the user the exact task specification that will be sent to xAI,\nthe target worktree, and the permission mode. Obtain explicit approval to disclose that text\nand to let Grok edit the scoped worktree. Never include secrets, proprietary source, customer\ndata, or credentials in a task specification. Do not run `grok update`, `--always-approve`,\nor a destructive recovery command without separate, explicit approval.\n\n## When to delegate vs keep with the orchestrator\n\n| Delegate to Grok | Keep with the orchestrator |\n|---|---|\n| Plan tasks with clear acceptance criteria | Ambiguous requirements, architecture decisions |\n| Boilerplate, scaffolding, CRUD | Deep cross-file debugging |\n| Mechanical refactors | Security-sensitive code |\n| Test writing from clear specs | Anything touching production infrastructure |\n| UI components from mockups\u002Fspecs | Tasks where writing the spec ≈ doing the work |\n\nWhen in doubt, keep it with the orchestrator.\n\n## Session preflight (once, before the first dispatch)\n\n1. `grok update --check --json` — if `updateAvailable` is true, tell the user. Run\n   `grok update` only after explicit approval, then confirm with `grok --version`.\n2. `grok models` — if it errors or reports logged out, STOP and ask the user to run\n   `grok login`.\n\n## Per-task loop (sequential — the default)\n\n1. **Spec.** Write a self-contained task file (template below) to a temp directory\n   OUTSIDE the target repo — the harness scratchpad if one is available, else the OS\n   temp dir. Never write it inside the target repo. Grok has zero conversation context:\n   no one-liner prompts, ever.\n   - POSIX: `mkdir -p \"${TMPDIR:-\u002Ftmp}\u002Fgrok-specs\"`, then write `task.md` there.\n   - Windows (PowerShell): `New-Item -ItemType Directory -Force \"$env:TEMP\\grok-specs\"`,\n     then write `task.md` there.\n2. **Clean state.** No uncommitted *source* changes — commit or stash first, so the\n   post-run diff is exactly Grok's work. Ignore build artifacts (`__pycache__`, `dist\u002F`,\n   etc.); if they show in `git status`, they're usually just un-gitignored, not your\n   concern. Never dispatch on a dirty source tree.\n3. **Dispatch.**\n\n   POSIX:\n\n   ```bash\n   grok --prompt-file \u003Ctask-file> \\\n     --output-format json \\\n     --always-approve \\\n     --max-turns 30 \\\n     --cwd \u003Crepo>\n   ```\n\n   Windows (PowerShell) — backtick line-continuation:\n\n   ```powershell\n   grok --prompt-file \u003Ctask-file> `\n     --output-format json `\n     --always-approve `\n     --max-turns 30 `\n     --cwd \u003Crepo>\n   ```\n\n   Parse the JSON output and save `sessionId`. (`--always-approve` is required for\n   headless runs — `--permission-mode acceptEdits` silently cancels edits with no\n   interactive approver. Use it only after the user explicitly approves Grok editing this\n   exact scoped worktree. See `references\u002Fcli.md`.) For a high-stakes task, add `--check`\n   so Grok self-verifies before you review; skip it otherwise (it ~doubles latency).\n4. **Review gate — non-negotiable.**\n   - Read the diff yourself (`git diff -- \u003Cfiles from the spec>` to skip artifact noise):\n     does it do the task, only the task, and match repo conventions?\n   - Run the acceptance commands from the spec.\n   - **Pass** → commit with a clear message following the repo's convention → next task.\n   - **Fail** → ask the user before a fix-up or any reset. Never run `git checkout -- .` or\n     `git clean -fd` automatically; preserve the diff for review and use a non-destructive\n     recovery plan unless the user explicitly authorizes otherwise.\n\n## Task spec template\n\n```markdown\n# Task: \u003Cone-line title>\n\n## Context\n- Repo: \u003Cpath> — \u003Cone line on what the project is>\n- Conventions: \u003Ctest runner, formatter, a good example file to imitate>\n\n## Files\n- Modify: \u003Cpath>\n- Create: \u003Cpath>\n\n## Task\n\u003Cprecise description of the change>\n\n## Constraints\n- Do not modify any files other than those listed above.\n- \u003Cother constraints>\n\n## Acceptance criteria\n- `\u003Cexact command>` \u003Cexpected result>\n```\n\n## Executing a Markdown implementation plan\n\n- One plan task per dispatch, in order.\n- Check off the plan's task checkboxes (`- [ ]` → `- [x]`) as each task lands and passes\n  the review gate.\n- If the plan explicitly marks tasks as independent, see Parallel dispatch below;\n  otherwise stay sequential.\n\n## Parallel dispatch (opt-in exception, not the default)\n\nOnly when a plan explicitly marks tasks independent: dispatch each with\n`--worktree=\u003Ctask-slug>`, run concurrently, then review and merge one worktree at a\ntime through the same review gate. Merge conflicts usually eat the savings — prefer\nsequential.\n\n## Failure handling\n\n| Failure | Action |\n|---|---|\n| `stopReason: \"Cancelled\"`, empty text, no diff | Missing `--always-approve` — retry with it |\n| CLI error \u002F timeout | Retry once; then do the task yourself and note the fallback |\n| Auth expired | Stop; ask the user to run `grok login` |\n| 2 fix-up rounds exhausted | Preserve the diff, ask the user for a recovery decision, then finish the task manually if authorized |\n| Dirty tree at dispatch | Refuse; commit\u002Fstash first |\n\n## Limitations\n\n- Grok receives the approved task specification; it is a third-party service and should not\n  receive secrets, proprietary material, personal data, or customer data.\n- `--always-approve` allows edits without an interactive approval prompt. It must be limited to\n  a clean, explicitly approved worktree and never substitutes for the orchestrator's review.\n- Model output can be incorrect, insecure, incomplete, or out of scope. Review the diff and\n  run the acceptance checks before accepting any change.\n- This skill does not authorize installations, updates, commits, pushes, deployments, or\n  destructive cleanup.\n\n## Models\n\nDefault `grok-4.5`. Add `-m grok-composer-2.5-fast` only for trivial mechanical tasks.\n","# Grok Build Orchestration\n\n## When to Use\n\n- Use when delegating a well-specified implementation task to xAI's Grok Build CLI running headlessly\n- Use when executing a Markdown implementation plan task-by-task with a diff review after each task\n- Use when the user says \"use grok\", \"grok build\", \"have grok implement\", or \"send to grok\"\n\nThe coding assistant is the orchestrator: it plans, writes self-contained task specs,\ndispatches them to Grok Build headlessly, reviews every diff, and owns the final result.\nGrok is the fast, cheap executor. Full CLI details and verified behaviors: `references\u002Fcli.md`.\n\n## Safety Gate\n\nBefore every dispatch, show the user the exact task specification that will be sent to xAI,\nthe target worktree, and the permission mode. Obtain explicit approval to disclose that text\nand to let Grok edit the scoped worktree. Never include secrets, proprietary source, customer\ndata, or credentials in a task specification. Do not run `grok update`, `--always-approve`,\nor a destructive recovery command without separate, explicit approval.\n\n## When to delegate vs keep with the orchestrator\n\n| Delegate to Grok | Keep with the orchestrator |\n|---|---|\n| Plan tasks with clear acceptance criteria | Ambiguous requirements, architecture decisions |\n| Boilerplate, scaffolding, CRUD | Deep cross-file debugging |\n| Mechanical refactors | Security-sensitive code |\n| Test writing from clear specs | Anything touching production infrastructure |\n| UI components from mockups\u002Fspecs | Tasks where writing the spec ≈ doing the work |\n\nWhen in doubt, keep it with the orchestrator.\n\n## Session preflight (once, before the first dispatch)\n\n1. `grok update --check --json` — if `updateAvailable` is true, tell the user. Run\n   `grok update` only after explicit approval, then confirm with `grok --version`.\n2. `grok models` — if it errors or reports logged out, STOP and ask the user to run\n   `grok login`.\n\n## Per-task loop (sequential — the default)\n\n1. **Spec.** Write a self-contained task file (template below) to a temp directory\n   OUTSIDE the target repo — the harness scratchpad if one is available, else the OS\n   temp dir. Never write it inside the target repo. Grok has zero conversation context:\n   no one-liner prompts, ever.\n   - POSIX: `mkdir -p \"${TMPDIR:-\u002Ftmp}\u002Fgrok-specs\"`, then write `task.md` there.\n   - Windows (PowerShell): `New-Item -ItemType Directory -Force \"$env:TEMP\\grok-specs\"`,\n     then write `task.md` there.\n2. **Clean state.** No uncommitted *source* changes — commit or stash first, so the\n   post-run diff is exactly Grok's work. Ignore build artifacts (`__pycache__`, `dist\u002F`,\n   etc.); if they show in `git status`, they're usually just un-gitignored, not your\n   concern. Never dispatch on a dirty source tree.\n3. **Dispatch.**\n\n   POSIX:\n\n   ```bash\n   grok --prompt-file \u003Ctask-file> \\\n     --output-format json \\\n     --always-approve \\\n     --max-turns 30 \\\n     --cwd \u003Crepo>\n   ```\n\n   Windows (PowerShell) — backtick line-continuation:\n\n   ```powershell\n   grok --prompt-file \u003Ctask-file> `\n     --output-format json `\n     --always-approve `\n     --max-turns 30 `\n     --cwd \u003Crepo>\n   ```\n\n   Parse the JSON output and save `sessionId`. (`--always-approve` is required for\n   headless runs — `--permission-mode acceptEdits` silently cancels edits with no\n   interactive approver. Use it only after the user explicitly approves Grok editing this\n   exact scoped worktree. See `references\u002Fcli.md`.) For a high-stakes task, add `--check`\n   so Grok self-verifies before you review; skip it otherwise (it ~doubles latency).\n4. **Review gate — non-negotiable.**\n   - Read the diff yourself (`git diff -- \u003Cfiles from the spec>` to skip artifact noise):\n     does it do the task, only the task, and match repo conventions?\n   - Run the acceptance commands from the spec.\n   - **Pass** → commit with a clear message following the repo's convention → next task.\n   - **Fail** → ask the user before a fix-up or any reset. Never run `git checkout -- .` or\n     `git clean -fd` automatically; preserve the diff for review and use a non-destructive\n     recovery plan unless the user explicitly authorizes otherwise.\n\n## Task spec template\n\n```markdown\n# Task: \u003Cone-line title>\n\n## Context\n- Repo: \u003Cpath> — \u003Cone line on what the project is>\n- Conventions: \u003Ctest runner, formatter, a good example file to imitate>\n\n## Files\n- Modify: \u003Cpath>\n- Create: \u003Cpath>\n\n## Task\n\u003Cprecise description of the change>\n\n## Constraints\n- Do not modify any files other than those listed above.\n- \u003Cother constraints>\n\n## Acceptance criteria\n- `\u003Cexact command>` \u003Cexpected result>\n```\n\n## Executing a Markdown implementation plan\n\n- One plan task per dispatch, in order.\n- Check off the plan's task checkboxes (`- [ ]` → `- [x]`) as each task lands and passes\n  the review gate.\n- If the plan explicitly marks tasks as independent, see Parallel dispatch below;\n  otherwise stay sequential.\n\n## Parallel dispatch (opt-in exception, not the default)\n\nOnly when a plan explicitly marks tasks independent: dispatch each with\n`--worktree=\u003Ctask-slug>`, run concurrently, then review and merge one worktree at a\ntime through the same review gate. Merge conflicts usually eat the savings — prefer\nsequential.\n\n## Failure handling\n\n| Failure | Action |\n|---|---|\n| `stopReason: \"Cancelled\"`, empty text, no diff | Missing `--always-approve` — retry with it |\n| CLI error \u002F timeout | Retry once; then do the task yourself and note the fallback |\n| Auth expired | Stop; ask the user to run `grok login` |\n| 2 fix-up rounds exhausted | Preserve the diff, ask the user for a recovery decision, then finish the task manually if authorized |\n| Dirty tree at dispatch | Refuse; commit\u002Fstash first |\n\n## Limitations\n\n- Grok receives the approved task specification; it is a third-party service and should not\n  receive secrets, proprietary material, personal data, or customer data.\n- `--always-approve` allows edits without an interactive approval prompt. It must be limited to\n  a clean, explicitly approved worktree and never substitutes for the orchestrator's review.\n- Model output can be incorrect, insecure, incomplete, or out of scope. Review the diff and\n  run the acceptance checks before accepting any change.\n- This skill does not authorize installations, updates, commits, pushes, deployments, or\n  destructive cleanup.\n\n## Models\n\nDefault `grok-4.5`. Add `-m grok-composer-2.5-fast` only for trivial mechanical tasks.\n",{"name":5,"risk":24,"tags":25,"tools":30,"author":34,"source":35,"license":15,"category":36,"date_added":37,"description":7,"source_repo":38,"source_type":39,"license_source":40},"critical",[26,27,28,29],"grok","delegation","code-generation","xai",[31,32,33],"claude","cursor","gemini","sanjay3290","https:\u002F\u002Fgithub.com\u002Fsanjay3290\u002Fai-skills\u002Ftree\u002Fmain\u002Fskills\u002Fgrok-build","agent-orchestration","2026-07-09","sanjay3290\u002Fai-skills","community","https:\u002F\u002Fgithub.com\u002Fsanjay3290\u002Fai-skills\u002Fblob\u002Fmain\u002FLICENSE","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fagent-orchestration\u002Fgrok-build","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill grok-build",{"tool":53,"command":54},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill grok-build",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill grok-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fagent-orchestration\u002Fgrok-build\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fcli.md","REFERENCE","参考文档",4229,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fagent-orchestration\u002Fgrok-build\u002Freferences\u002Fcli.md",[68,77,84,91,98,105],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":76},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":76},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":76},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]