mainframe-typescript-backend

mainframe-typescript-backend is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 100 tokens per session (891 once invoked), scanned A, original, MIT.

A guide for building and maintaining server-side TypeScript applications running on Node.js. It covers services such as HTTP APIs, background workers, databases, authentication, and real-time features.

In plain words
What is it for?
Implementing, debugging, reviewing, or planning backend code using tools such as NestJS, Express, Fastify, PostgreSQL, and common TypeScript database libraries.
Why use it?
It helps an agent identify the actual framework and data flow before changing backend behavior, reducing incorrect assumptions and incomplete fixes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-typescript-backend
Any agent
npx skills add CATWILLgh/MAINFRAME --skill mainframe-typescript-backend
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00100 $0.00891
Opus 5 $0.00050 $0.00445
Sonnet 5 $0.00020 $0.00178
Haiku 4.5 $0.00010 $0.00089

Measured 3d ago against content hash 5f75f6816592, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mainframe-typescript-backend 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/recon.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

adapters/codex/skills/mainframe-typescript-backend/SKILL.md · 72 lines

How it starts

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

TypeScript backend engineering

Discover the active package and installed stack before choosing an approach. Never infer the framework, router, runtime, ORM, or test path from a repository name or dependency list alone.

Work sequence

  1. Run node scripts/recon.js <package-root> from this skill, or follow recon.md manually.
  2. Trace the affected behavior through its entrypoint, business rules, data or external boundary, callers, and observable output.
  3. Read only the references matching the active path and changed risk.
  4. Verify installed versions and version-sensitive behavior through current primary documentation or Context7.
  5. Use the project's native commands and the smallest faithful red-to-green test. Read testing.md when selecting a test level, changing existing tests, or separating local and CI checks.

Several frameworks, ORMs, validators, auth libraries, or test runners are observations, not automatic blockers. Resolve the active owner from imports, configuration, runtime wiring, and affected files. Escalate only an unresolved choice that changes product behavior, infrastructure, permissions, or the assigned result.

Complete the assigned behavior. Do not substitute TODOs, placeholders, skipped or weakened tests, suppressions, or deferred in-scope work for implementation.

Preserve or introduce deliberately

  • In an established system, preserve its supported runtime, framework, module format, ORM, auth, validation, contracts, and conventions. Make the smallest coherent change; do not add a competing library or incidental migration.
  • In a new isolated component, prefer a supported Node.js LTS line, strict TypeScript, explicit boundaries, maintained libraries, focused tests, and PostgreSQL when relational semantics are required. Select libraries from the real requirements rather than a universal preferred stack.

Reference routing

Changed concern Read
Node.js, TypeScript, modules, packages, runtimes runtime.md
NestJS, Express, Fastify frameworks.md
Next.js server code nextjs-server.md
HTTP, validation, OpenAPI, webhooks contracts.md
Sessions, JWT, OAuth/OIDC, service auth auth.md
Prisma, TypeORM, Drizzle, raw PostgreSQL data-access.md
Schema and data rollout migrations.md
Queues, schedulers, WebSockets background-and-realtime.md
Files, caches, outbound calls, resilience files-and-resilience.md
Logging, health, shutdown, telemetry observability-and-lifecycle.md
Test scope, cost, and local/CI split testing.md

Read the full file on GitHub · 72 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. 3d ago First seen · 72 lines · 100 tokens per session scan A 5f75f6816592

Subscribe to this mod's changes

mainframe-typescript-backend is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 12d ago), licensed MIT. It adds 100 tokens to every session and 891 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

adk

Use this skill when you've got questions about the Botpress Agent Development Kit (ADK) - like when you're building a feature that involves tables, actions, tools, workflows, conversations, files, knowledge bases, triggers, or Zai.

majiayu000/claude-skill-registry · 34 tokens

antfu

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.

antfu/skills · 52 tokens

setup-ts-deep-modules

将 dependency-cruiser 接入 TypeScript 仓库,使每个 package 都是一个深度模块:实现隐藏在子文件夹中,只能通过入口点文件访问。由用户调用。.

devcxl/mattpocock-skills-zh · 49 tokens

effect

Opinionated guide for building production TypeScript applications with Effect v4. Use when implementing Effect workflows, services, layers, schemas, configuration, schedules, caches, streams, HTTP clients, or tests.

kitlangton/skills · 42 tokens

nodejs-backend

Node.js backend patterns: layered architecture, TypeScript, validation, error handling, security, observability, logging, metrics, deployment. Use when building REST APIs, REST endpoints, middleware, Express/Fastify/Hono/NestJS/Koa servers, tRPC procedures, Bun servers, or server-side TypeScript.

iliaal/ai-skills · 69 tokens

database-orm-expert

Expert guide for database schema design, ORM tools (Prisma 6, Drizzle ORM, TypeORM), migrations, query optimization, and type-safe SQL patterns in TypeScript / Panduan ahli untuk desain skema database, ORM tools (Prisma 6, Drizzle ORM, TypeORM), migrasi, optimasi query, dan pola SQL type-safe di TypeScript.

roedyrustam/vibes-plug · 82 tokens