# Fmt

> Format TypeScript sources using Deno formatter

- Skill: `majiayu000/fmt` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/fmt`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/fmt/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/fmt

---


## What I do

- Run `deno fmt` to format all tracked TypeScript files in the repository
- Can also format a single file using `deno fmt <filename>`
- Ensures consistent code formatting before committing or submitting a pull
  request
- Automatically follows the formatter rules configured in `deno.jsonc`

## When to use me

Use this when you want to ensure code is properly formatted:

- Before committing changes
- Before creating a pull request
- After modifying any TypeScript files in the codebase

## Notes

- The formatter is configured by Deno and applies to the entire codebase
- This is part of the standard pre-commit workflow defined in
  `scripts/pre-commit.sh`

