home / skills / andrelandgraf / fullstackrecipes / code-style-setup
This skill configures Prettier and TypeScript with VSCode and EditorConfig for consistent, error-free formatting and typing.
npx playbooks add skill andrelandgraf/fullstackrecipes --skill code-style-setupReview the files below or copy the command above to add this skill to your agents.
---
name: code-style-setup
description: Configure Prettier for code formatting and TypeScript for typechecking. Includes VSCode settings and EditorConfig for consistent code style. Skips ESLint/Biome to avoid config complexity.
---
# Editor and Linting Setup
To set up Editor and Linting Setup, refer to the fullstackrecipes MCP server resource:
**Resource URI:** `recipe://fullstackrecipes.com/code-style-setup`
If the MCP server is not configured, fetch the recipe directly:
```bash
curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/code-style-setup
```
This skill configures Prettier for consistent code formatting and TypeScript for reliable type checking across a TypeScript-based full stack AI app. It provides ready-to-use VSCode settings and an EditorConfig file to enforce editor defaults. The setup intentionally skips ESLint/Biome to keep configuration simple and focused on formatting and types.
The skill adds a Prettier configuration and integrates TypeScript compiler options tailored for production-ready patterns. It drops in a .editorconfig and recommended VSCode settings to align whitespace, line endings, and file encoding across contributors. No linter is installed or enforced, reducing merge friction and avoiding complex lint rules.
Why skip ESLint or Biome?
Skipping linters keeps the initial setup simple and avoids enforcing opinionated rules that can block contributors; linters can be added later if needed.
Will Prettier alone catch type errors?
No. Prettier handles formatting only; TypeScript is included to catch type errors during development and CI.