CtrlK
BlogDocsLog inGet started
Tessl Logo

code-formatter

Invalid
This skill can't be scored yet
Validation errors are blocking scoring. Review and fix them to unlock Quality, Impact and Security scores. See what needs fixing →
SKILL.md
Quality
Evals
Security

Code Formatter Skill

When to use this skill

Use this skill whenever a user asks to format, lint, or clean up source code files.

Steps

  1. Identify the language of the code files provided.
  2. Apply the project's formatting rules (from .editorconfig or .prettierrc if present).
  3. Run the formatter with --write to apply changes in-place.
  4. Report which files were changed and how many lines were modified.

Important notes

  • Always preserve semantic meaning — never alter logic while formatting.
  • For TypeScript and JavaScript, use Prettier. For Python, use black. For Go, use gofmt.
  • If no config file is present, use 2-space indentation for JS/TS, 4-space for Python.
  • Do not format generated files (e.g., files in dist/, build/, or __generated__/).
Repository
tesslio/product-plugins
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.