Skip to content
Back to skills

Lint

ASecurity

Auto-fix all formatting issues in the docs-builder repo — runs `mise run fmt` for C# and `mise run site:fmt` for TypeScript/JS. Use when the user asks to fix formatting, lint the code, or when a pre-commit hook fails due to formatting.

  • 26 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
developmenttypescriptc#bashfrontend

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add elastic/docs-builder --skill lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint?

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

Security grade badge for Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/elastic-lint/badge)](https://www.skillsdirectory.com/skills/elastic-lint)

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: lint
description: Auto-fix all formatting issues in the docs-builder repo — runs `mise run fmt` for C# and `mise run site:fmt` for TypeScript/JS. Use when the user asks to fix formatting, lint the code, or when a pre-commit hook fails due to formatting.
---

# Lint Skill

Fixes all formatting issues across C# and TypeScript in the docs-builder repo.

## Steps

### 1. Fix C# formatting

```bash
mise run fmt
```

This applies the project's editorconfig and code style rules to all C# files.

### 2. Fix TypeScript/JS formatting

```bash
mise run site:fmt
```

This runs Prettier on all frontend source files.

### 3. Report results

After both commands complete:
- If files were changed: list which files were reformatted
- If nothing changed: confirm "No formatting issues found"

## Notes

- This skill fixes files in place but does **not** commit
- Run this before `/commit` if you see formatting errors in build output or pre-commit hook failures
- Formatting rules are enforced by Husky.Net pre-commit hooks (prettier + eslint for TS, dotnet-lint on pre-push for C#)
- `mise run lint` is the read-only check (curb) that CI and the hooks run

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 development →

Comments

Loading comments…

Newsletter

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