# prettier

> Use this tool when you need to automatically format code to ensure consistent style across JavaScript, TypeScript, JSON, CSS, or Markdown files. It applies opinionated formatting rules that eliminate style debates and maintain clean, readable code.

Canonical page: https://skillsregistry.net/skills/prettier  
JSON: https://api.skillsregistry.net/v1/skills/prettier

## Description

Opinionated code formatter for JavaScript, TypeScript, JSON, CSS, Markdown. Ensures consistent code style across the team.

## Trust

- **Trust score (0–1):** 0.30
- **Verification tier:** unverified
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 3.0.0
- **Skill type:** atomic
- **Execution layer:** worker
- **Runtime environment:** api
- **Category:** other
- **Tags:** formatting, javascript, typescript, code-quality
- **Updated:** 2026-09-02

## Source

- **Source listing:** MCP Registry

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "prettier"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/prettier` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/prettier/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
