AI
v2.0.0

LLMs.txt Documentation

How to get tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude to understand @nofinite/locale.

Tip

Looking for unified ecosystem presets or multi-package rules? Visit our central AI Agents Hub.

We support LLMs.txt files for making @nofinite/locale country and localization utilities directly available to large language models.


Directory Overview

The following machine-readable context files are available:


Usage with Cursor & Windsurf

markdown
# Locale Rules for AI Assistants
1. Package Imports: Import country utilities and metadata from `@nofinite/locale` (zero dependencies, framework-agnostic).
2. Flag Stylesheet: Import `@nofinite/locale/style` and use `.nf-flag` and `.nf-flag-{iso}` classes (pure CSS/SVG).
3. Use ISO-3166-1 alpha-2 codes (e.g. `US`, `GB`, `IN`, `DE`) for standardized country lookups and flags.