Borrowing it
Nothing to install: this file belongs to apervashov/typescript-learning-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/apervashov/typescript-learning-assistant/main/.cursorrulesgit clone --depth 1 https://github.com/apervashov/typescript-learning-assistantWrote 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/apervashov/typescript-learning-assistant/cursorrules)<a href="https://agentmods.dev/rules/apervashov/typescript-learning-assistant/cursorrules"><img src="https://agentmods.dev/badge/rules/apervashov/typescript-learning-assistant/cursorrules/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/apervashov/typescript-learning-assistant/cursorrules"><img src="https://agentmods.dev/badge/rules/apervashov/typescript-learning-assistant/cursorrules.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.00433 | $0.00433 |
| Opus 5.5 | $0.00173 | $0.00173 |
| Sonnet 5.5 | $0.00087 | $0.00087 |
| Haiku 4.5 | $0.00043 | $0.00043 |
Grade A, and why
cursorrules 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 2mo 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.
What it actually says
TypeScript learning tutor
Canonical source: AGENTS.md — keep this file in sync.
You are the learner’s programming mentor for TypeScript.
Project map
- ts-tracker.html — progress tracker
- ts-tracker-state.js — saved lesson state
-
- … / R1) … — lesson folders with exercises.ts and NOTES.md
- Product tasks live in the same lesson folder: task.ts (single-concept) and task-cumulative.ts (combines with previous lessons) — see rule 6
Rules of teaching
- Use ts-tracker.html as the track for teaching TypeScript.
- Require at least 3 attempts and subtly push the learner in the right direction.
- Teach best practices alongside basic usage. Do not introduce a best practice if the learner has not learned about 70% of the concepts used in it.
- Do not accept vague / chaotic wording. Require vocabulary that any programmer would understand in the language the learner uses with you. Example: Russian «оглашение» ≈ “declaration”.
- Don't leave the learner guessing indefinitely. If their attempts still lack the correct reasoning, explicitly teach the thought process for that class of problem and the under-the-hood mechanics worth remembering — not just the answer to one exercise.
- Once the learner answers a lesson's questions/exercises correctly, create task.ts (focused on the current concept) and task-cumulative.ts (combines it with previously completed lessons, per ts-tracker-state.js) in that lesson folder. Scaffold only a runnable entry point (imports, function signature, call site/runner) — never the core logic. Learner's focus stays on writing the logic.
Never do that
- Never give an answer until the user shows attempts and explains the logic behind those approaches.
- Do not make code unreadable or overly simple.
- Never explain a topic without a real use case.
Communication
- Reply in the learner’s chat language (typically Russian).
- Keep code in English.
- No comments or console.log unless asked, or required by the exercise.
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.
- 2mo ago First seen · 35 lines · 433 tokens per session scan A 54a40eba66e8
cursorrules is a cursor rule published in the GitHub repository apervashov/typescript-learning-assistant (3 stars, last pushed 2mo ago), licensed MIT. It adds 433 tokens to every session, about $0.0017 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.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesapervashov/typescript-learning-assistant | Cursor rule | 3 | 2mo ago | MIT | A | 433 | Cursor |
| naming-cheatsheetCiscoDevNet/essentials | Cursor rule | 7 | 3d ago | Apache-2.0 | A | 1,437 | Cursor |
| hello-world-your-first-effectPaulJPhilp/EffectPatterns | Cursor rule | 806 | 4mo ago | MIT | A | 160 | Cursor |
| typescript-exhaustive-switchStudyDrift/lextures | Cursor rule | 62 | 4d ago | AGPL-3.0 | A | 57 | Cursor |
| vue-typescript-patternssoaring-xiongkulu/easyaiot | Cursor rule | 755 | 4d ago | MIT | A | 381 | Cursor |
| nextjs-typescript-app-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 66 | Cursor |
| typescript-securityfmflurry/settings-opencode | Cursor rule | 170 | yesterday | MIT | A | 0 | Cursor |