sachitv avatar

fmt

Format TypeScript sources using Deno formatter

提供方 sachitv|开源

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
fmt - 适用于 Claude Code 与 Cursor 的 AI 智能体 Skill | Agent Skills