typescript SKILL.md skillA

typescript from zhaojiannet/canon is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zhaojiannet/canon/typescript@git:20260914.a9571da

Pins git:20260914.a9571da in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zhaojiannet/canon
Path
plugins/lockstep-typescript/skills/typescript/SKILL.md
Versions recorded
5
Latest version
git:20260914.a9571da, committed Sep 14, 2026
First version recorded
Jun 6, 2026
Size
7,735 bytes
Repository stars
4
License
MIT

Enforce TypeScript 7 strict type-checking. Use when editing .ts/.tsx or tsconfig.json, or when the user mentions TypeScript, any, unknown, strict mode, type assertion, generics, enum, namespace, baseUrl, or @ts-ignore. Strict is on by default in 7 and stays on, reaches for unknown plus narrowing where any would go, const objects in place of enum, ES modules in place of namespace, and fixes the type rather than reaching for as any or @ts-ignore.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

> Targets TypeScript 7 · verified 2026-09 (latest 7.0.2, released 2026-07-08).

This skill enforces TypeScript strict type-checking. The rule: trust the type system, no escape hatches.

Apply only when the project uses `typescript ^7.0` or higher. If `package.json` pins 5.x or 6.x, **STOP** and ask the user — the upgrade path runs 5 → 6 → 7, and 7 turns everything 6 deprecated into a hard error.

## tsconfig

TypeScript 7 ships these on by default. Do not write them out, and do not turn them off:

`strict` (which brings `noImplicitAny` / `strictNullChecks` / `strictFunctionTypes` / `strictBindCallApply` / `strictPropertyInitialization` / `noImplicitThis` / `alwaysStrict` / `useUnknownInCatchVariables` / `strictBuiltinIteratorReturn`), `module` at `esnext`, `target` at the current stable ES version, `noUncheckedSideEffectImports`, and `stableTypeOrdering` (which cannot be disabled). `alwaysStrict` is forced true. `libReplacement` now defaults to `false`.

Two defaults that catch people on upgrade:

- **`rootDir` now defaults to `./`**, not an inferred common source directory. A project whose sources live in `src/` must set it explicitly, or `outDir` output lands in the wrong place.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zhaojiannet/canon/typescript@sha256:5497beb86b2b0afe

The line at the top of this page pins the label git:20260914.a9571da, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_aj6ba4xrls3q7gwa.svg)](https://markdownregistry.com/a/art_aj6ba4xrls3q7gwa)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 6, 2026 and Sep 14, 2026, about one every 25 days.

versioncommittedcommitsizeaudit
git:20260914.a9571da latest2026-09-14 a9571da 7,735 BA view · diff
git:20260914.b97b26c2026-09-14 b97b26c 7,768 BA view · diff
git:20260914.cde6e172026-09-14 cde6e17 7,728 BA view · diff
git:20260727.497dd662026-07-27 497dd66 7,349 BA view · diff
git:20260606.8fe8fe12026-06-06 8fe8fe1 5,354 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7735 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

zhaojiannet/canon · 4 stars · license MIT · pushed 2026-10-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_aj6ba4xrls3q7gwa
GET https://markdownregistry.com/api/v1/resolve?ref=zhaojiannet/canon/typescript
GET https://markdownregistry.com/api/v1/blob/5497beb86b2b0afe688ba1040017ebd052d71e9690aebd312b899012316db99e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from zhaojiannet/canon

cm SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/cm/SKILL.md · 按规范提交当前改动:先确认代码审过,每个 commit 前查密钥、调 vet 核对 message
git:20261004.e8cf316 · audit A · 4 stars
e2e SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/e2e/SKILL.md · 用现有账号和环境给当前项目做全量端到端测试。摸清项目 → 出计划 → 人审 → 生成 spec → 横切面检查 → 跑并修 → 出报告,被测项目只加 e2e/ 目录和一行 .gitignore
git:20260926.2fd6ef0 · audit A · 4 stars
go SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/go/SKILL.md · 工作纪律:先查证再动手,找到真正的原因再修,收尾前审查代码,如实汇报
git:20260926.2fd6ef0 · audit A · 4 stars
msg SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/msg/SKILL.md · 写或审 commit message 时的格式与禁忌。写 commit、起草 message、改 message、检查 message 时都先读这里。
git:20261004.e8cf316 · audit A · 4 stars
oss SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/oss/SKILL.md · 调研、选型、对比开源项目时的筛选标准和安全核对。用户要调研、选型、对比、推荐库、框架、工具、GitHub 项目,或提到 star 数、替代方案时,先读这里再找候选。
git:20261004.e8cf316 · audit B · 4 stars
pin SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/pin/SKILL.md · 用 Playwright 脚本把肉眼难确认的界面 bug(时序、偶发、多步交互)钉住:先复现、按复现率反复验证,再修应用代码,spec 留作回归
git:20260926.2fd6ef0 · audit A · 4 stars
vet SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/vet/SKILL.md · 提交前把关。在看不到对话的子代理里,拿 diff 逐句核对 commit message 草稿和新增注释,标出指不到 diff 的句子、仓库里找不到的编号、讲开发经过的句子、只复述代码的注释、非中文。cm 在 commit…
git:20260926.2fd6ef0 · audit A · 4 stars
astro SKILL.md skill
zhaojiannet/canon · plugins/lockstep-astro/skills/astro/SKILL.md · Enforce Astro 7 static-first conventions. Use when editing .astro files or when the user mentions Astro, islands…
git:20260914.a9571da · audit A · 4 stars
echo SKILL.md skill
zhaojiannet/canon · plugins/lockstep-echo/skills/echo/SKILL.md · Enforce Echo v5 handler conventions for Go, focused on error handling. Use when editing .go handler/route/middleware…
git:20260914.a9571da · audit A · 4 stars
fastify SKILL.md skill
zhaojiannet/canon · plugins/lockstep-fastify/skills/fastify/SKILL.md · Enforce Fastify v5 plugin/route conventions for Node/TypeScript. Use when editing .ts/.js/.mjs that import fastify or…
git:20260914.a9571da · audit A · 4 stars
nuxt-ui SKILL.md skill
zhaojiannet/canon · plugins/lockstep-nuxt-ui/skills/nuxt-ui/SKILL.md · Enforce Nuxt UI v4 component-first conventions. Use when editing .vue files or when the user mentions Nuxt UI, a…
git:20260914.a9571da · audit A · 4 stars
postgres SKILL.md skill
zhaojiannet/canon · plugins/lockstep-postgres/skills/postgres/SKILL.md · Enforce PostgreSQL schema design and safe migrations. Use when editing **/migrations/*.sql, **/schema/*.sql…
git:20260914.a9571da · audit A · 4 stars

Every file in zhaojiannet/canon

Other files named typescript

typescript SKILL.md skill
gaia-react/gaia · apps/web/.claude/skills/typescript/SKILL.md · Applies GAIA's patterns and conventions for all TypeScript code. Use this skill whenever writing or reviewing…
git:20261102.65f04fe · audit A · 26 stars
typescript SKILL.md skill
gaia-harness/gaia · apps/web/.claude/skills/typescript/SKILL.md · Applies GAIA's patterns and conventions for all TypeScript code. Use this skill whenever writing or reviewing…
git:20261102.65f04fe · audit A · 26 stars
typescript SKILL.md skill
xobotyi/cc-foundry · plugins/javascript/skills/typescript/SKILL.md · Write and review TypeScript: the type system, strictness configuration, narrowing, generics, type-level patterns…
git:20261029.e458a11 · audit A · 23 stars
typescript Cursor rule
jnpiyush/agentx · .cursor/rules/typescript.mdc · TypeScript / Node backend standards (Frontier)
git:20261010.87e53aa · audit A · 19 stars
typescript SKILL.md skill
alexander-danilenko/cortex-ai-skills · plugins/engineering/cortex-web/skills/typescript/SKILL.md · Apply these opinionated TypeScript conventions whenever writing or reviewing TypeScript: branded types for domain…
git:20261013.ecfffa1 · audit A · 18 stars
typescript SKILL.md skill
alexander-danilenko/cortex-claude-code-plugins · plugins/engineering/cortex-web/skills/typescript/SKILL.md · Apply these opinionated TypeScript conventions whenever writing or reviewing TypeScript: branded types for domain…
git:20261013.ecfffa1 · audit A · 18 stars
typescript SKILL.md skill
dhaupin/vant · models/public/vant/skills/vant-skill-typescript/SKILL.md · Typed JavaScript.
v1.0 · audit A · 15 stars
typescript SKILL.md skill
kriscard/skills · skills/dev/typescript/SKILL.md · Language-wide TypeScript guidance for full-stack frameworks, backend services, libraries, scripts, and frontend code…
git:20261028.3779762 · audit A · 15 stars

Browse by kind, by grade A, or by owner.