appstore-precheck 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,35 @@
3
3
  All notable changes to this project are documented here. Versioning follows
4
4
  [SemVer](https://semver.org/). Released as git tags.
5
5
 
6
+ ## [1.16.0] - 2026-08-07
7
+
8
+ ### Added
9
+ - **Grok Build support**: native [`.grok-plugin/`](.grok-plugin/) marketplace + plugin manifests so
10
+ users can install with `grok plugin marketplace add berkayturk/appstore-precheck` and
11
+ `grok plugin install appstore-precheck --trust` (or a direct path/GitHub install). The same
12
+ `SKILL.md` and upload-guard hook work; Grok sets `GROK_PLUGIN_ROOT` and the `CLAUDE_PLUGIN_ROOT`
13
+ alias used by `hooks/hooks.json`. The marketplace entry uses a URL source (Grok rejects a
14
+ self-referential local source), so that flow installs GitHub `main`; install a path directly to
15
+ test a local clone.
16
+ - **`install.sh grok`**: vendors the skill into `.grok/skills/` (project or user scope). The
17
+ default `all` target now also populates `.grok/skills/` alongside `.claude/skills/` and
18
+ `.agents/skills/`.
19
+ - Docs, badge, AGENTS.md, version lockstep (`check-versions`), and install tests updated for the
20
+ fifth host.
21
+
22
+ ### Fixed
23
+ - **Upload guard no longer fails open on Grok Build (or Cursor)**: `hooks/fastlane-guard.sh` read
24
+ only Claude Code's snake_case `.tool_input.command`, while Grok sends the same event camelCased
25
+ as `.toolInput.command` and Cursor's shell event carries `.command` at the top level. The command
26
+ came back empty and every `fastlane deliver/pilot/release` was allowed. Every plugin manifest
27
+ wires this hook, so the guard now reads all three envelopes, and `tests/test-guard.sh` covers
28
+ each.
29
+ - **Block reason reaches the model on every host**: the guard now also writes the deny as stdout
30
+ JSON (`decision: "deny"` plus Claude Code's `hookSpecificOutput.permissionDecision`) alongside
31
+ the stderr message. Grok honours a stdout deny for `PreToolUse` and documents stderr feedback
32
+ only for `Stop`/`SubagentStop`, so Pierre's reason could previously be dropped there. Exit 2 is
33
+ still the authority.
34
+
6
35
  ## [1.15.0] - 2026-08-04
7
36
 
8
37
  ### Added
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License: MIT"></a>
8
8
  <img src="https://img.shields.io/badge/platform-iOS-lightgrey.svg" alt="Platform: iOS">
9
9
  <img src="https://img.shields.io/badge/Agent%20Skill-open%20standard-1F6FEB.svg" alt="Agent Skill">
10
- <img src="https://img.shields.io/badge/works%20with-Claude%20Code%20·%20Codex%20·%20Cursor%20·%20Gemini-2563EB.svg" alt="Works with Claude Code, Codex, Cursor, Gemini">
10
+ <img src="https://img.shields.io/badge/works%20with-Claude%20Code%20·%20Codex%20·%20Cursor%20·%20Gemini%20·%20Grok%20Build-2563EB.svg" alt="Works with Claude Code, Codex, Cursor, Gemini, Grok Build">
11
11
  </p>
12
12
 
13
13
  <p align="center"><strong>Catch App Store rejections before a reviewer does.</strong></p>
@@ -28,8 +28,8 @@ incentivized review, push/HomeKit abuse, rating manipulation).
28
28
  It hands you a single **GREEN / YELLOW / RED** verdict. It never edits your code.
29
29
 
30
30
  It ships as a portable [Agent Skill](https://agentskills.io): the same `SKILL.md` runs natively in
31
- Claude Code, OpenAI Codex, Cursor, and Gemini CLI. The scanner is plain Bash, so you can also run it
32
- by hand or wire it into CI.
31
+ Claude Code, OpenAI Codex, Cursor, Gemini CLI, and Grok Build. The scanner is plain Bash, so you can
32
+ also run it by hand or wire it into CI.
33
33
 
34
34
  ## Meet Pierre
35
35
 
@@ -170,9 +170,10 @@ how the app is built:
170
170
 
171
171
  ## Quick start
172
172
 
173
- One `SKILL.md`, every host. **Claude Code, Cursor, and Codex** install as native **plugins** from
174
- this GitHub repo. **Gemini CLI** installs the same skill with `gemini skills install` (no plugin
175
- marketplace yet). [`install.sh`](install.sh) remains the fallback for vendoring into a project.
173
+ One `SKILL.md`, every host. **Claude Code, Cursor, Codex, and Grok Build** install as native
174
+ **plugins** from this GitHub repo. **Gemini CLI** installs the same skill with
175
+ `gemini skills install` (no plugin marketplace yet). [`install.sh`](install.sh) remains the fallback
176
+ for vendoring into a project.
176
177
 
177
178
  ### Install the full skill (Pierre + all phases)
178
179
 
@@ -181,6 +182,7 @@ marketplace yet). [`install.sh`](install.sh) remains the fallback for vendoring
181
182
  | **Claude Code** | Plugin (recommended) |
182
183
  | **Cursor** | Plugin (recommended) |
183
184
  | **OpenAI Codex** | Plugin (recommended) |
185
+ | **Grok Build** | Plugin (recommended) |
184
186
  | **Gemini CLI** | `gemini skills install` one-liner |
185
187
 
186
188
  **Claude Code:**
@@ -220,6 +222,25 @@ Refresh after repo updates:
220
222
  codex plugin marketplace upgrade appstore-precheck
221
223
  ```
222
224
 
225
+ **Grok Build:**
226
+
227
+ ```bash
228
+ grok plugin marketplace add berkayturk/appstore-precheck
229
+ grok plugin install appstore-precheck --trust
230
+ ```
231
+
232
+ The marketplace entry points at this repo by URL, so that flow always installs GitHub `main`. To
233
+ install a local clone or an unmerged branch, install the path directly:
234
+
235
+ ```bash
236
+ grok plugin install /path/to/appstore-precheck --trust
237
+ # or: grok plugin install berkayturk/appstore-precheck --trust
238
+ ```
239
+
240
+ After install, enable the plugin if needed (`grok plugin enable appstore-precheck` or press `Space`
241
+ in the Plugins tab). Skills appear as `/appstore-precheck`. Verify with `grok inspect` or
242
+ `grok plugin details appstore-precheck`.
243
+
223
244
  **Gemini CLI** (native skill install — no plugin marketplace):
224
245
 
225
246
  ```bash
@@ -229,15 +250,17 @@ gemini skills install https://github.com/berkayturk/appstore-precheck.git \
229
250
 
230
251
  Use `--scope user` for a global install. Verify with `gemini skills list`.
231
252
 
232
- **Fallback — `install.sh`** (vendors the skill into `.claude/skills/` and/or `.agents/skills/`):
253
+ **Fallback — `install.sh`** (vendors the skill into `.claude/skills/`, `.agents/skills/`, and/or
254
+ `.grok/skills/`):
233
255
 
234
256
  ```bash
235
257
  git clone https://github.com/berkayturk/appstore-precheck.git
236
258
  cd your-ios-app
237
- /path/to/appstore-precheck/install.sh # all hosts → .claude/skills + .agents/skills
259
+ /path/to/appstore-precheck/install.sh # all hosts → .claude + .agents + .grok skills
238
260
  /path/to/appstore-precheck/install.sh cursor # Cursor only
239
261
  /path/to/appstore-precheck/install.sh codex # Codex only
240
262
  /path/to/appstore-precheck/install.sh gemini # Gemini only
263
+ /path/to/appstore-precheck/install.sh grok # Grok Build only → ./.grok/skills
241
264
  /path/to/appstore-precheck/install.sh claude user # Claude Code user-wide → ~/.claude/skills
242
265
  ```
243
266
 
@@ -504,12 +527,13 @@ Hosts differ only in the directory they scan:
504
527
  | OpenAI Codex | `.agents/skills/` · `~/.agents/skills/` |
505
528
  | Cursor | `.agents/skills/`, `.cursor/skills/`, also `.claude/skills/` |
506
529
  | Gemini CLI | `.agents/skills/`, `.gemini/skills/` |
530
+ | Grok Build | `.grok/skills/` · `~/.grok/skills/`, also `.agents/skills/` and `.claude/skills/` |
507
531
 
508
532
  A root [`AGENTS.md`](AGENTS.md) covers hosts that read always-on context instead of on-demand skills.
509
533
  [`docs/cross-tool-verification.md`](docs/cross-tool-verification.md) records real per-host runs
510
- (all four hosts verified end-to-end: Claude Code, Codex, Gemini, and Cursor), and
511
- [`docs/field-tests.md`](docs/field-tests.md) records dogfooding the scanner against real
512
- App Store apps (DuckDuckGo, Pocket Casts, Wikipedia).
534
+ (Claude Code, Codex, Gemini, and Cursor verified end-to-end; Grok Build plugin install + validate
535
+ verified), and [`docs/field-tests.md`](docs/field-tests.md) records dogfooding the scanner against
536
+ real App Store apps (DuckDuckGo, Pocket Casts, Wikipedia).
513
537
 
514
538
  ## Requirements
515
539
 
@@ -552,9 +576,11 @@ Everything else works without one.
552
576
  /plugin uninstall appstore-precheck@appstore-precheck # Claude Code plugin
553
577
  # Codex: run `codex`, open `/plugins`, uninstall appstore-precheck (CLI 0.125.x has no `plugin remove`)
554
578
  # Cursor: Customize → Plugins → appstore-precheck → Uninstall
579
+ grok plugin uninstall appstore-precheck --confirm # Grok Build plugin
555
580
  gemini skills uninstall appstore-precheck # Gemini (if installed via gemini skills)
556
581
  rm -rf .claude/skills/appstore-precheck # install.sh (Claude Code / Cursor)
557
582
  rm -rf .agents/skills/appstore-precheck # install.sh (Codex / Cursor / Gemini)
583
+ rm -rf .grok/skills/appstore-precheck # install.sh (Grok Build)
558
584
  rm -rf .cursor/skills/appstore-precheck # if you mirrored there manually
559
585
  rm -rf .gemini/skills/appstore-precheck # if installed to workspace scope manually
560
586
  rm -f .precheck-pass # runtime token
@@ -567,6 +593,7 @@ npm run lint # bash -n on every script
567
593
  npm run check-versions # plugin manifests / package.json / SKILL.md in lockstep
568
594
  npm test # run scan.sh against fixture projects and assert
569
595
  claude plugin validate .
596
+ grok plugin validate .
570
597
  ```
571
598
 
572
599
  CI runs ShellCheck, JSON validation, the version-consistency guard, and the fixture tests on every push.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "appstore-precheck",
3
- "version": "1.15.0",
4
- "description": "Read-only iOS App Store pre-submission check, packaged as a portable Agent Skill with native Claude Code, Cursor, and Codex plugins, plus an npx CLI.",
3
+ "version": "1.16.0",
4
+ "description": "Read-only iOS App Store pre-submission check, packaged as a portable Agent Skill with native Claude Code, Cursor, Codex, and Grok Build plugins, plus an npx CLI.",
5
5
  "license": "MIT",
6
6
  "author": "Berkay Turk (https://github.com/berkayturk)",
7
7
  "homepage": "https://github.com/berkayturk/appstore-precheck",
@@ -33,6 +33,7 @@
33
33
  "fastlane",
34
34
  "agent-skill",
35
35
  "claude-code",
36
+ "grok-build",
36
37
  "precheck"
37
38
  ]
38
39
  }
@@ -4,7 +4,7 @@ description: Read-only pre-submission check for an iOS app before App Store revi
4
4
  license: MIT
5
5
  metadata:
6
6
  author: Berkay Turk
7
- version: 1.15.0
7
+ version: 1.16.0
8
8
  allowed-tools: Bash Read Grep Glob WebFetch mcp__maestro__list_devices mcp__maestro__run mcp__maestro__inspect_screen mcp__maestro__take_screenshot mcp__maestro__cheat_sheet
9
9
  ---
10
10
 
@@ -114,7 +114,7 @@ check(s). It is non-blocking and never runs in the offline user scan; the finger
114
114
 
115
115
  Run the bundled scanner from the app repo root. `scripts/` here is relative to THIS skill's own
116
116
  directory (wherever the skill is installed — a plugin dir, `.claude/skills/`, `.agents/skills/`,
117
- or a clone of the source repo):
117
+ `.grok/skills/`, or a clone of the source repo):
118
118
 
119
119
  ```bash
120
120
  bash <skill-dir>/scripts/scan.sh
@@ -378,7 +378,11 @@ Follow [`references/simulator-dynamic-review.md`](references/simulator-dynamic-r
378
378
  ## Optional: upload guard hook
379
379
 
380
380
  `hooks/fastlane-guard.sh` blocks `fastlane deliver/pilot/release` unless a fresh `.precheck-pass`
381
- token exists. In Claude Code it auto-wires via `hooks/hooks.json` **when installed as a plugin**
382
- (the hook path uses `${CLAUDE_PLUGIN_ROOT}`; an `install.sh`-vendored copy gets no automatic
383
- hook). In other environments, wire it
384
- as a pre-command check yourself, or treat the token as a manual go/no-go signal.
381
+ token exists. In Claude Code and Grok Build it auto-wires via `hooks/hooks.json` **when installed
382
+ as a plugin** (the hook path uses `${CLAUDE_PLUGIN_ROOT}`; Grok also sets that alias alongside
383
+ `${GROK_PLUGIN_ROOT}`, and maps a `Bash` matcher onto `run_terminal_command`). The guard reads
384
+ the snake_case (`.tool_input`), camelCase (`.toolInput`), and top-level (`.command`, Cursor)
385
+ tool-use envelopes, and reports a block on both stderr and stdout, so it blocks on every host that
386
+ wires it. An `install.sh`-vendored copy gets no automatic hook. In other
387
+ environments, wire it as a pre-command check yourself, or treat the token as a manual go/no-go
388
+ signal.