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.
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starterWrote 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.
[](https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/page-loading-golden-path)<a href="https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/page-loading-golden-path"><img src="https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/page-loading-golden-path/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.
<a href="https://agentmods.dev/rules/yudefine/nuxt-supabase-starter/page-loading-golden-path"><img src="https://agentmods.dev/badge/rules/yudefine/nuxt-supabase-starter/page-loading-golden-path.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03724 |
| Opus 5 | $0.00000 | $0.01862 |
| Sonnet 5 | $0.00000 | $0.00745 |
| Haiku 4.5 | $0.00000 | $0.00372 |
Grade A, and why
page-loading-golden-path 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nuxt 導航 Loading Golden Path(實作階段強制)
核心命題:頁面切換時的 loading 回饋是 cross-cutting concern,不集中規範就會每個 consumer 各自漏。最常見的兩個破洞:(1) app.vue 沒掛 <NuxtLoadingIndicator> → 路由切換時零回饋;(2) 頁面用頂層 blocking await useFetch 抓主資料 → Nuxt 卡住 route setup()、等 request 回來才 render 整頁 → 初次導航時頁面還沒掛載、頁面自己的 skeleton 沒機會顯示 → 使用者盯空白等,體感像「卡死」。
Reference impl = (app/app.vue + app/plugins/page-loading.client.ts + app/composables/usePageLoading.ts + app/stores/ui.ts)。本 rule 從 萃取架構,但修掉其 warts(自刻 bar 跟 NuxtLoadingIndicator 重複、skeleton 用硬編碼 bg-gray-* 違反 color-mode rule)。
Cookbook 範本:
vendor/snippets/nuxt-page-loading/(絕對路徑:~/offline/clade/vendor/snippets/nuxt-page-loading/,不 bulk-propagate)。Audit signal:
scripts/audit-nuxt-page-loading.ts(diagnostic-only)。
此 rule 與 [[nuxt-ui-mcp]](API 正確性)、[[nuxt-ui-conventions]](慣例一致性)、[[development]] § Nuxt UI Color Mode(語意色)並列同 spirit,範圍不重疊。
三層架構(Tier 1/2 是 MUST,Tier 3 OPTIONAL)
Tier 1(MUST,普世、零成本)— <NuxtLoadingIndicator />
app.vue 的 <UApp> 內、<NuxtLayout> 前掛一行 <NuxtLoadingIndicator />。Nuxt 內建路由級頂部進度條,hook page:start / page:finish 自動開關,零 per-page code,自帶 a11y。單這條就解掉多數「導航空白感」。
Tier 2(MUST,資料抓取慣例)— 非阻塞 fetch + in-content loading
頁面主資料 MUST 用非阻塞 fetch,讓導航即刻完成、頁面框架立刻 render、資料區用自己的 skeleton 補位:
useLazyFetch(url, opts)(=useFetch(url, { ...opts, lazy: true }),但不要頂層await)useAsyncData(key, fn, { lazy: true })- Pinia Colada
useQuery(...)(內建state/asyncStatusloading 狀態)
In-content skeleton MUST 用 <USkeleton>(theme-aware)或語意色 token(bg-elevated / bg-muted),NEVER 硬編碼 bg-gray-* + dark: prefix(違反 [[development]] § Nuxt UI Color Mode)。skeleton 容器標 aria-hidden="true",配一個 sr-only role="status" 告知「載入中」即可(per modern-web-guidance accessibility:別對每個 interstitial 過度播報)。
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.
- yesterday Changed · +1 lines 8d371c3ba656
- 5d ago First seen · 153 lines · 0 tokens per session scan A d6c41b7b2418
page-loading-golden-path is a cursor rule published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,724 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-09-03.
Other cursor rules, from other repositories
integration-issue-conventions
When creating or editing SuperPlane integration issue content (base or component issues), or when working in tmp/integrationspm or integration PM workflow.
trigger.realtime
How to use realtime in your Trigger.dev tasks and your frontend.
package-management
Package Management Standards.
tailwind-shadcn
Tailwind CSS 4 + shadcn-style UI — global.css, components.json, cn(), Astro + React.
jsdoc-comments
add jsdoc comments to components and methods.
performance-optimization-rules
Rules for optimizing extension performance, minimizing resource usage, and improving responsiveness.