mcpField
T
typescript-coding-standards

typescript-coding-standards

github.com/berachainDevelopment1189 installsUpdated 3w ago
Repository

About typescript-coding-standards

A TypeScript coding skill for applying and reviewing repository-aware conventions across frontend, backend, worker, and shared-library changes. It prioritizes local instructions and relevant guides without requiring adoption of new tooling.

Key features

  1. 01Repository-specific instruction checks
  2. 02Guides for common coding tasks
  3. 03Frontend and backend conventions
  4. 04Scope-conscious change guidance

Use cases

  1. 01Writing or reviewing TypeScript
  2. 02Refactoring functions and types
  3. 03Changing dependencies or modules
  4. 04Verifying code and tests

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/berachain/skills --skill typescript-coding-standards

After installing, type/typescript-coding-standardsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/
comments.md
dependencies.md
file-naming-and-size.md
modules.md
react.md
runtime.md
testing.md
tooling.md
typescript.md

Details

From the project README

TypeScript Coding Standards

Apply these conventions when writing, reviewing, or refactoring TypeScript in frontend apps, backend services, workers, and shared libraries.

Read the target repository's AGENTS.md, package scripts, and lint/test configuration first. Explicit local requirements take precedence over these shared defaults. Keep changes within the requested scope; existing violations do not justify an unrelated repository-wide migration.

Guides

Read the guides relevant to the change before editing.

GuideRead when
TypeScript contractsWriting or reviewing functions, arguments, types, or constants.
File naming and sizeCreating, renaming, or splitting files.
Comments and JSDocDocumenting functions, types, or non-obvious logic.
Modules and organizationChoosing exports, import boundaries, or where code belongs.
Dependencies and catalogsAdding or updating dependencies, package manifests, catalogs, or lockfiles.
Runtime behaviorHandling errors, external data, service dependencies, or backend import boundaries.
React and Next.jsChanging components, callbacks, or hooks; read the Next.js section only in Next.js apps.
TestingDeciding whether a test is useful, adding coverage, or reviewing assertions.
Tooling and verificationSelecting tools or validating a code change.

For backend-only work, skip the React guide. Use the consumer's existing tooling and runtime conventions; the skill does not require adopting another repo's framework, formatter, or dependencies.

Comments

Markdown supported