tsq-coding

tsq-coding is a skill for Claude Code from sonature-lab/timsquad. It costs 67 tokens per session (593 once invoked), scanned A, original, MIT.

A set of coding rules for naming, structuring, and writing TypeScript code. It covers function design, error handling, type checking, and patterns to avoid.

In plain words
What is it for?
Use it while writing or refactoring TypeScript to check conventions, run type and lint checks, and avoid patterns such as any, magic values, and console.log.
Why use it?
It reduces inconsistent code, hidden errors, and maintenance problems caused by unclear names, oversized functions, or ignored errors.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it while writing or refactoring TypeScript to check conventions, run type and lint checks, and avoid patterns such as any, magic values, and console.log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sonature-lab/timsquad/tsq-coding
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.

Any agent
npx skills add sonature-lab/timsquad --skill tsq-coding
Clone the repo
git clone --depth 1 https://github.com/sonature-lab/timsquad

Made for: Claude Code.

Wrote 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.

agentmods badge for tsq-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-coding/github.svg)](https://agentmods.dev/skills/sonature-lab/timsquad/tsq-coding)
Your own site
<a href="https://agentmods.dev/skills/sonature-lab/timsquad/tsq-coding"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-coding/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.

agentmods 80×15 button for tsq-coding

Your own site · 80×15
<a href="https://agentmods.dev/skills/sonature-lab/timsquad/tsq-coding"><img src="https://agentmods.dev/badge/skills/sonature-lab/timsquad/tsq-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00067 $0.00593
Opus 5.5 $0.00027 $0.00237
Sonnet 5.5 $0.00013 $0.00119
Haiku 4.5 $0.00007 $0.00059

Measured 1mo ago against content hash f127abe95059, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tsq-coding 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 1mo 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.

templates/base/skills/tsq-coding/SKILL.md · 66 lines

What it actually says

Coding Guidelines

코드 작성 시 일관된 컨벤션과 패턴을 적용한다.

Philosophy

  • 단일 책임: 함수는 한 가지 일만 수행
  • 명확한 이름: 코드만 읽고도 동작을 파악 가능
  • 명시적 에러 처리: 에러를 삼키지 않는다

Contract

  • Trigger: 코드 작성/수정 태스크
  • Input: 구현 요구사항 + 기존 코드 컨텍스트
  • Output: 컨벤션 준수 코드
  • Error: 컨벤션 위반 시 수정 안내
  • Dependencies: 없음

Protocol

  1. 컨벤션 확인: 네이밍, 파일 구조 규칙 확인
  2. 구현: 단일 책임 원칙 준수하며 코드 작성
  3. 린트: tsc --noEmit + 린트 검증
  4. 리뷰: 금지 패턴(any, 매직넘버, console.log) 제거 확인

Verification

Check Command Pass Criteria
타입 검사 tsc --noEmit exit code 0
any 타입 grep -r "any" --include="*.ts" 0건 (신규 코드)
console.log grep -r "console.log" --include="*.ts" 0건 (신규 코드)
함수 크기 수동 검증 20줄 이내 권장

Resources

Priority Type Resource Description
HIGH rule patterns Error Handling, Repository, DTO, Anti-Patterns

Quick Rules

네이밍

대상 규칙 예시
클래스 PascalCase UserService
함수/변수 camelCase getUserById
상수 UPPER_SNAKE MAX_RETRY_COUNT
파일 kebab-case user-service.ts

금지

  • any 타입 사용
  • 매직 넘버/문자열 사용
  • console.log 사용 (logger 사용)
Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 66 lines · 67 tokens per session scan A f127abe95059

Subscribe to this mod's changes

tsq-coding is a skill published in the GitHub repository sonature-lab/timsquad (12 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 593 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

node-modern

Use this skill when writing, reviewing, or refactoring Node.js code — modules, async flow, cancellation, file and process I/O, HTTP — on a current Node.js release. Triggers: user mentions "Node", "Node.js", "ESM", "CommonJS", "require", "import", "fetch", "AbortSignal", "AbortController", "stream", "childprocess"…

WrongStack/WrongStack · 93 tokens

typescript-strict

Use this skill when writing, reviewing, or fixing TypeScript where type safety matters — type errors, narrowing, unsafe casts, or tightening compiler strictness. Triggers: user mentions "TypeScript", "type error", "tsc", "strict", "type safety", "narrowing", "any", "unknown", "discriminated union", "branded type"…

WrongStack/WrongStack · 92 tokens

fastify-best-practices

A reference guide for building Fastify, a Node.js framework for web servers and REST APIs, with JavaScript or TypeScript. It covers routes, plugins, validation, errors, testing, logging, security, databases, and deployment.

sutchan/Agent-Skills-Hub · 111 tokens

bun

A JavaScript and TypeScript runtime and package manager that can replace Node.js, npm, pnpm, and some build tools. It also provides built-in APIs for servers, databases, files, shell commands, WebSockets, and tests.

sutchan/Agent-Skills-Hub · 32 tokens

java-conventions

Java coding conventions for enterprise applications. Covers package naming, class naming suffixes, method ordering, null handling, and immutability patterns.

pan94u/forge · 32 tokens

nextjs-react-typescript

A coding guide for TypeScript applications built with React and Next.js, using common interface and styling tools.

sutchan/Agent-Skills-Hub · 45 tokens