Skip to content
Back to skills

Format Zig

ASecurity

Run `zig fmt` on every Zig file after creating or editing it.

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 7, 2026
toolsbash

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add shannonshell/shannon --skill format-zig --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Format Zig?

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

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

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-zig
description:
  "Format Zig files with zig fmt. Use after creating or editing any Zig file
  (.zig)."
---

# Format Zig

Run `zig fmt` on every Zig file after creating or editing it.

## When This Skill Applies

After every Write or Edit to any `.zig` file in the project. This includes:

- GUI source files (`gui/src/**/*.zig`)
- Build files (`gui/build.zig`)
- Any other Zig file in the project

## Process

After your edits to a Zig file are complete, run:

```bash
zig fmt <file_path>
```

That's it. No other steps needed.

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.

Comments

Loading comments…