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.
npx agentmods add rules/yu-iskw/skill-inspector/typescript-coding-conventiongit clone --depth 1 https://github.com/yu-iskw/skill-inspectorWhat 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 | $0.00000 | $0.03499 |
| Opus 5 | $0.00000 | $0.01750 |
| Sonnet 5 | $0.00000 | $0.00700 |
| Haiku 4.5 | $0.00000 | $0.00350 |
Grade A, and why
typescript-coding-convention 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Style Guide
This guide outlines the default-standard coding conventions for TypeScript, based on the Google TypeScript Style Guide, supplemented with best practices from other widely-used TypeScript style guides.
1. Syntax
1.1. Identifiers
Identifiers must use only ASCII letters, digits, underscores (for constants and structured test method names), and the '$' sign.
| Style | Category |
|---|---|
UpperCamelCase |
class / interface / type / enum / decorator / type / parameters |
lowerCamelCase |
variable / parameter / function / method / property / module alias |
CONSTANT_CASE |
global constant values, including enum values |
- Abbreviations: Treat abbreviations like acronyms as whole words (e.g.,
loadHttpUrl, notloadHTTPURL). - Dollar sign: Avoid using
$in identifiers, except when aligning with third-party framework conventions (e.g.,jquery). - Type parameters: May use a single upper case character (
T) orUpperCamelCase. - Test names: Test method names may be structured with
_separators (e.g.,testX_whenY_doesZ()). _prefix/suffix: Do not use_as a prefix or suffix, or as an identifier by itself.
1.2. Aliases
When aliasing an existing symbol, use the format of the existing identifier. For variables, use const, and for class fields, use readonly.
1.3. Naming Style
Names should not be decorated with information already included in the type.
- Do not use trailing or leading underscores for private properties or methods.
- Do not use the
opt_prefix for optional parameters. - Do not prefix interfaces with
I(e.g.,IUsershould beUser). - Prefix booleans with
isorhasfor clarity (e.g.,isLoggedIn,hasPermission).
1.4. File Encoding
For non-ASCII characters, use the actual Unicode character (e.g., ∞). For non-printable characters, the equivalent hex or Unicode escapes (e.g., \u221e) can be used along with an explanatory comment.
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.
- 2d ago First seen · 281 lines · 3,499 tokens per session scan A 7a3ad22d8a9c
typescript-coding-convention is a cursor rule published in the GitHub repository yu-iskw/skill-inspector (2 stars, last pushed 17d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,499 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.
Other cursor rules, from other repositories
cursorrules
aggregatereports to keep SUMMARY.md and metadata.json synchronized.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
coolify-ai-docs
Master reference to all Coolify AI documentation in .ai/ directory.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.
python_lib
Tips and guidelines specific to the development of the Streamlit Python library, not applicable to scripts and e2e tests.