review-bfs

review-bfs is a command for Claude Code from mentilead/shopify-app-skill. It costs 0 tokens per session (1,175 once invoked), scanned A, original, MIT.

A codebase audit for Built for Shopify, Shopify's certification requirements for apps. It checks areas such as Polaris interface components, security, performance, and other certification categories, then reports violations with file paths and fixes.

In plain words
What is it for?
Use it to review the whole app or focus on an area such as Polaris, security, or performance.
Why use it?
It helps locate certification problems before submitting or reviewing a Shopify app.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Part of the shopify-app-skill plugin — 1 skill, 10 commands shipped together

Good fit Use it to review the whole app or focus on an area such as Polaris, security, or performance.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mentilead/shopify-app-skill/review-bfs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mentilead/shopify-app-skill

Made for: Claude Code.

Or install shopify-app-skill, the plugin that ships this one along with the rest of its 1 skill, 10 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-bfs

README.md
[![agentmods](https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/review-bfs/github.svg)](https://agentmods.dev/commands/mentilead/shopify-app-skill/review-bfs)
Your own site
<a href="https://agentmods.dev/commands/mentilead/shopify-app-skill/review-bfs"><img src="https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/review-bfs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-bfs

Your own site · 80×15
<a href="https://agentmods.dev/commands/mentilead/shopify-app-skill/review-bfs"><img src="https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/review-bfs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01175
Opus 5 $0.00000 $0.00588
Sonnet 5 $0.00000 $0.00235
Haiku 4.5 $0.00000 $0.00118

Measured 9d ago against content hash 98587d3efc25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

review-bfs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/review-bfs.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review Built for Shopify

Audit a Shopify app codebase against Built for Shopify (BfS) certification requirements.

Arguments

$ARGUMENTS = optional focus area (e.g., "polaris only", "security and performance"). If empty, run all categories.

Instructions

  1. Read the project's CLAUDE.md to discover file paths, conventions, app structure, and any project-specific overrides. Use what you learn to locate admin routes, server files, TOML configs, and billing-related code.

  2. Parse $ARGUMENTS. If a specific category is mentioned, run only that category. Otherwise run all 6 categories below.

  3. Run all applicable category checks in parallel using Grep and Glob tools (not shell commands). For each violation found, record the file path, line number, what's wrong, and how to fix it.

  4. Output the structured report described in the Output Format section.


Category 1: Polaris Compliance

Scan admin route files (typically app/routes/app.*.tsx) for:

  • Raw HTML elements that should be Polaris components: <button, <input, <table, <select, <textarea, <form (case-insensitive). Ignore test files.
  • Inline styles on layout elements: style= attributes or style={{ JSX expressions in admin routes. CSS-in-JS or Tailwind in admin UI violates Polaris guidelines.
  • Missing HydrateFallback — every admin route with a loader should export a HydrateFallback component for Remix streaming. Grep for files that export a loader but do not export HydrateFallback.

Category 2: Performance

Scan server-side files (*.server.ts, *.server.tsx, route loaders/actions) for:

  • Sequential awaits that could be parallelized: two or more await statements on independent calls in the same function that could use Promise.all() or Promise.allSettled().
  • Unretried GraphQL mutationsadmin.graphql() mutation calls not wrapped in a retry utility (e.g., withGraphQLRetry). Shopify recommends retry logic for rate-limited mutations.
  • Sequential array processingfor...of or for loops containing await that could use Promise.all() with .map().

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 108 lines · 0 tokens per session scan A 98587d3efc25

Subscribe to this mod's changes

review-bfs is a command published in the GitHub repository mentilead/shopify-app-skill (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,175 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.