technical-stack

technical-stack is a cursor rule for Codex, Cursor from KaelSensei/MagicAIBuilder. It costs 845 tokens per session, scanned A, original, MIT.

A set of rules for developing MagicTheOfflining, a React Native app that lets users view Magic: The Gathering decks offline. It defines how to use TypeScript, React Native components, Android builds, and project configuration.

In plain words
What is it for?
Use it when creating screens or components, choosing TypeScript patterns, configuring Android builds, handling release signing, or deciding how much UI complexity to add.
Why use it?
It keeps new and changed code consistent with the app’s planned platform, language, structure, and build settings.

Cursor rule for CodexCursor

Written for Cursor: a Cursor rule (.mdc). Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when creating screens or components, choosing TypeScript patterns, configuring Android builds, handling release signing, or deciding how much UI complexity to add.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/kaelsensei/magicaibuilder/technical-stack
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/KaelSensei/MagicAIBuilder

Made for: Codex, 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 technical-stack

README.md
[![agentmods](https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/technical-stack/github.svg)](https://agentmods.dev/rules/kaelsensei/magicaibuilder/technical-stack)
Your own site
<a href="https://agentmods.dev/rules/kaelsensei/magicaibuilder/technical-stack"><img src="https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/technical-stack/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 technical-stack

Your own site · 80×15
<a href="https://agentmods.dev/rules/kaelsensei/magicaibuilder/technical-stack"><img src="https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/technical-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 845 This file is loaded in full into every session.
When invoked 845 The same file — it is already loaded in full.
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.00845 $0.00845
Opus 5.5 $0.00338 $0.00338
Sonnet 5.5 $0.00169 $0.00169
Haiku 4.5 $0.00085 $0.00085

Measured 17d ago against content hash 67d006c22458, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

technical-stack 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 17d 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.

.agents/rules/technical-stack.mdc · 44 lines

How it starts

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

Technical stack

package.json holds the exact versions. Never upgrade a major version as a side effect of another change; a major upgrade is its own PR.

Area Choice Where
Framework Next.js 15, App Router src/app/, src/middleware.ts
UI React 19, Tailwind CSS 4, Radix UI primitives src/components/ui/, src/styles/
Language TypeScript 5.9, strict tsconfig.json; alias @/* → src/*
Database PostgreSQL 16 through Prisma 6 prisma/schema.prisma; client in src/lib/db/prisma.ts
Validation Zod 4, at the boundary only route handlers, adapters
Client state Zustand 5 for client state, TanStack Query 5 for server state stores and hooks
Auth Auth.js (next-auth 5 beta), JWT sessions, personal API keys src/lib/auth/, src/lib/api/authenticate.ts
i18n next-intl 4; served locales en and fr src/i18n/, src/messages/<locale>/
Logging pino, Sentry src/lib/logger.ts, sentry.*.config.ts
Unit tests Vitest 3, Testing Library, jsdom; tests next to the code (*.test.ts) vitest.config.ts, shared test kit in src/test/
End-to-end Playwright in Docker, run by the pre-push hook (no CI job) e2e/, docker-compose.e2e.yml, scripts/e2e-pre-push.sh
Mutation StrykerJS on src/modules/*/domain/**, nightly and on PRs, advisory stryker.config.mjs, .github/workflows/mutation.yml
Lint and format ESLint 9 flat config (eslint.config.mjs), Prettier 3 .lintstagedrc.cjs runs both on commit
Tooling pnpm 10 (packageManager), Node 22 in CI, Husky hooks .github/workflows/, .husky/

Read the full file on GitHub · 44 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. 17d ago Changed · -87 lines · -414 tokens per session 67d006c22458
  2. 3mo ago First seen · 131 lines · 1,259 tokens per session scan A 00e6c00b62da

Subscribe to this mod's changes

technical-stack is a cursor rule published in the GitHub repository KaelSensei/MagicAIBuilder (2 stars, last pushed today), licensed MIT. It adds 845 tokens to every session, about $0.0034 per session on Opus 5.5. 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.

Related

technical-stack compared with cursor rules from other repositories

technical-stack next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
technical-stackKaelSensei/MagicAIBuilderCursor rule2todayMITA845Codex, Cursor
no-bare-castsprisma/ormCursor rule48ktodayApache-2.0A0Cursor
sql-types-importsprisma/ormCursor rule48ktodayApache-2.0A0Cursor
use-ast-factoriesprisma/ormCursor rule48ktodayApache-2.0A0Cursor
type-extraction-from-contractprisma/ormCursor rule48ktodayApache-2.0A0Cursor
required-key-undefined-fieldsprisma/ormCursor rule48ktodayApache-2.0A0Cursor
use-if-definedprisma/ormCursor rule48ktodayApache-2.0A0Cursor