Configs2026年4月6日·1 分钟阅读

lnai — Unified AI Config for Claude, Cursor, Copilot & More

Define AI tool configs once in a .ai/ directory and auto-sync to Claude Code, Cursor, GitHub Copilot, Gemini CLI, Codex, and Windsurf native formats.

介绍

lnai is a CLI tool that lets you define AI coding tool configs in a single .ai/ directory and sync them to 7+ tools' native formats: Claude Code, Cursor, GitHub Copilot, Gemini CLI, Codex, OpenCode, and Windsurf. With 238 GitHub stars, it eliminates the pain of maintaining separate config files per AI tool.


lnai — One Config, All AI Tools

The Problem

Every AI coding tool has its own config format, and maintaining separate configs per tool is tedious and error-prone.

The Solution

lnai creates a .ai/ directory as the single source of truth, then lnai sync generates native config files for all supported tools.

Supported Tools

Tool Config directory
Claude Code .claude/
Cursor .cursor/
GitHub Copilot .github/copilot-instructions.md
Gemini CLI .gemini/
Windsurf .windsurf/

🙏

来源与感谢

Created by Krystian Jonca. Licensed under MIT.

lnai — ⭐ 238

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产