skmtc-lang-typescript SKILL.md skillA

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

Install it, pinned
mdr add skmtc/skmtc/skmtc-lang-typescript@v0.2.3

Pins v0.2.3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
skmtc/skmtc
Path
deno/docs/skills/skmtc-lang-typescript/SKILL.md
Versions recorded
14
Latest version
v0.2.3, committed Oct 31, 2026
First version recorded
Aug 29, 2026
Size
8,879 bytes
Repository stars
19
License
Apache-2.0

The TypeScript target-language layer for Skmtc generators (@skmtc/lang-typescript): projection base factories, TsSnippet, the three register shapes, identifier kinds and the type-only import machinery, composition helpers, sanitization, TsFile render rules. Use ALONGSIDE skmtc-generator whenever a generator emits TypeScript. Headings are the template for other skmtc-lang-* skills.

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

# The TypeScript layer (@skmtc/lang-typescript)

Read `skmtc-generator` first; you will normally have copied the
`skmtc-model` skeleton (model generators — load that skill) or
cloned `@skmtc/gen-tanstack-query-fetch-zod` (operation) — **those are
the worked examples**. This skill carries the rules that aren't visible
from imitation alone.

## 1. Declaring the language

The declaration is the import graph — no `lang` config field exists.
`src/base.ts` imports a factory; the returned class extends `TsSnippet`,
which carries the `static lang` Drivers read pre-construction.

```ts fragment
import { toTsModelProjectionBase } from '@skmtc/lang-typescript'

export const MyBase = toTsModelProjectionBase<EnrichmentSchema>({
  id: denoJson.name,
  toIdentifierName({ refName }) { return decapitalize(camelCase(refName)) },
  toIdentifierType: () => ({ type: 'variable' }),
  toExportPath({ refName, enrichments, variant }) {
    const name = this.toIdentifierName({ refName, enrichments, variant })
    return `@/types/${name}.generated.ts`   // '@/' is basePath; always forward slashes
  },
  toEnrichmentSchema
})
```

Factories: `toTsModelProjectionBase`, `toTsOasOperationProjectionBase`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add skmtc/skmtc/skmtc-lang-typescript@sha256:b973726b735a336a

The line at the top of this page pins the label v0.2.3, 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_iap6i3mdyqo56q6t.svg)](https://markdownregistry.com/a/art_iap6i3mdyqo56q6t)

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

Versions

The registry has recorded 14 versions of this file, between Aug 29, 2026 and Oct 31, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
v0.2.3 latest2026-10-31 41f950f 8,879 BA view · diff
v0.2.32026-10-31 4063773 8,879 BA view · diff
v0.2.32026-10-31 6e5f510 8,879 BA view · diff
v0.2.32026-10-31 f7b80c9 8,879 BA view · diff
v0.2.32026-10-31 2580fda 8,879 BA view · diff
v0.2.32026-10-19 0486e80 8,879 BA view · diff
v0.2.32026-10-03 1de318c 8,879 BA view · diff
v0.2.32026-09-18 aaca6e9 8,612 BA view · diff
v0.2.32026-09-18 ee79b12 8,449 BA view · diff
v0.2.32026-09-15 eb3fd57 8,243 BA view · diff
v0.2.32026-09-15 387a8e5 8,004 BA view · diff
v0.2.22026-08-30 92c23d4 6,965 BA view · diff
v0.2.22026-08-29 3e608d9 6,736 BA view · diff
v0.2.22026-08-29 39ac295 6,736 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 (8879 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

skmtc/skmtc · 19 stars · license Apache-2.0 · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iap6i3mdyqo56q6t
GET https://markdownregistry.com/api/v1/resolve?ref=skmtc/skmtc/skmtc-lang-typescript
GET https://markdownregistry.com/api/v1/blob/b973726b735a336a8e844bbc13e861b6bee0a34b59fb9e1f8f96c462d0a56b23

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 skmtc/skmtc

deno Cursor rule
skmtc/skmtc · deno/.cursor/rules/deno.mdc
git:20250517.d2abf41 · audit A · 19 stars
CLAUDE.md@deno CLAUDE.md file
skmtc/skmtc · deno/CLAUDE.md
git:20261031.49144b3 · audit A · 19 stars
CLAUDE.md@deno/cli CLAUDE.md file
skmtc/skmtc · deno/cli/CLAUDE.md
git:20261031.4bd7081 · audit A · 19 stars
CLAUDE.md@deno/cli/commands CLAUDE.md file
skmtc/skmtc · deno/cli/commands/CLAUDE.md
git:20260512.cf674af · audit A · 19 stars
CLAUDE.md@deno/cli/components CLAUDE.md file
skmtc/skmtc · deno/cli/components/CLAUDE.md
git:20260512.cf674af · audit A · 19 stars
CLAUDE.md@deno/cli/lib CLAUDE.md file
skmtc/skmtc · deno/cli/lib/CLAUDE.md
git:20260512.0b472d9 · audit A · 19 stars
CLAUDE.md@deno/cli/tasks CLAUDE.md file
skmtc/skmtc · deno/cli/tasks/CLAUDE.md
git:20260511.35b7f70 · audit A · 19 stars
CLAUDE.md@deno/convert CLAUDE.md file
skmtc/skmtc · deno/convert/CLAUDE.md
git:20260511.6b256f7 · audit A · 19 stars
CLAUDE.md@deno/core CLAUDE.md file
skmtc/skmtc · deno/core/CLAUDE.md
git:20260706.c4263c5 · audit A · 19 stars
CLAUDE.md@deno/core/bench CLAUDE.md file
skmtc/skmtc · deno/core/bench/CLAUDE.md
git:20260506.4b0cc2d · audit A · 19 stars
CLAUDE.md@deno/core/context CLAUDE.md file
skmtc/skmtc · deno/core/context/CLAUDE.md
git:20260527.c1e80b1 · audit A · 19 stars
CLAUDE.md@deno/core/dsl CLAUDE.md file
skmtc/skmtc · deno/core/dsl/CLAUDE.md
git:20260610.0d544f3 · audit A · 19 stars

Every file in skmtc/skmtc

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