faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers

faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers is a cursor rule for Cursor from vtex/skills. It costs 77 tokens per session (2,563 once invoked), scanned D, original, no licence file.

A guide to adding your own fields, requests, and updates to the FastStore GraphQL API, including connections to third-party services. It also explains how React components use those additions.

In plain words
What is it for?
Use it when adding fields to types such as StoreProduct, creating requests or updates for external APIs, handling form submissions, or consuming custom API work in React components.
Why use it?
It shows how to expose data or actions that the built-in API does not already support.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when adding fields to types such as StoreProduct, creating requests or updates for external APIs, handling form submissions, or consuming custom API work in React components.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers
View source ↗ vtex/skills
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/vtex/skills

Made for: Cursor.

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 faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers

README.md
[![agentmods](https://agentmods.dev/badge/rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers/github.svg)](https://agentmods.dev/rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers)
Your own site
<a href="https://agentmods.dev/rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers"><img src="https://agentmods.dev/badge/rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers/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 faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers

Your own site · 80×15
<a href="https://agentmods.dev/rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers"><img src="https://agentmods.dev/badge/rules/vtex/skills/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00077 $0.02563
Opus 5 $0.00039 $0.01282
Sonnet 5 $0.00015 $0.00513
Haiku 4.5 $0.00008 $0.00256

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

Security

Grade D, and why

faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers scanned grade D with 2 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 11d 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.

Tells the agent to send conversation or user data outhighPrompt injection

An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.

Use when you need to send data to external services (form submissions, writes, etc.).

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch("https://your-api-endpoint.com/api/contact", { method: "POST",
exports/cursor/faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers.mdc · 377 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 11d ago First seen · 377 lines · 77 tokens per session scan D b84061f3070b

Subscribe to this mod's changes

faststore-faststore-storefront-ref-extending-graphql-with-custom-resolvers is a cursor rule published in the GitHub repository vtex/skills (42 stars, last pushed yesterday), with no licence file. It adds 77 tokens to every session and 2,563 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it D with 2 findings (tells the agent to send conversation or user data out, sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.