Skip to content
Back to skills

Format Code

ASecurity

Formats Python and TypeScript files in the current project with ruff and prettier. Use after editing code.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 16, 2026
ai-agentstypescriptpythonbashgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add Katta041/asitis-agent-tools --skill format-code --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Format Code?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Format Code
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/katta041-format-code/badge)](https://www.skillsdirectory.com/skills/katta041-format-code)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: format-code
description: Formats Python and TypeScript files in the current project with ruff and prettier. Use after editing code.
allowed-tools: Bash(ruff format *) Bash(npx prettier --write *) Read
---

# Format code

Current changes: !`git status --short`

Run `scripts/format.sh` from the project root. It formats only files git knows about.

Never use `--dangerously-skip-permissions` to get past the prompts; approve the two commands instead.

Files in this skill

  • README.md337 B
  • SKILL.md460 B
  • scripts/format.sh447 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.