Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
AI-coding pitfalls & best practices, written from the AI's first-person POV — 76 entries across 5 tools (Claude Code, Cursor, Copilot, Codex, Gemini). Fully bilingual 中文/English.
From the repo.
An encyclopedia of AI-coding pitfalls & best practices — written from the AI's own first-person perspective.
用 AI 第一人称视角写的「AI 编码误区与最佳实践」百科
English · 中文 · Live site · Tool matrix
You said "just start," so I did. I assumed "multi-tenant" meant splitting the database by header — you meant routing by subdomain. Eight files later, you noticed I'd misread you.
That's the opening of a real entry. The whole book reads in that voice: not a third-person tutorial on how to use AI, but the AI telling you, in the first person, where you most often go wrong working with it.
📖 Fully bilingual. Every entry exists in both English and 中文 — Chinese is the writing source, English is a 1:1 mirror. Switch languages from the top-right of the site, or read the 中文 README.
Plenty of "best-practice lists" and "config dumps" for AI coding tools already exist. AiWiki fills a gap none of them do:
| Phase | Directory |
|---|---|
| Setup & collaboration | docs/00-setup-collaboration/ |
| Ideation & feasibility | docs/01-ideation-feasibility/ |
| Requirements | docs/02-requirements/ |
| Architecture | docs/03-architecture/ |
| Detailed design | docs/04-detailed-design/ |
| Implementation | docs/05-implementation/ |
| Testing | docs/06-testing/ |
| Acceptance & release | docs/07-acceptance-release/ |
Every entry follows one structure: what I see you doing → why it happens → consequences → best practice → example → version notes → sources.
New here? A few ways in:
Claude Code has the deepest coverage and is the book's default reference. Cursor, GitHub Copilot, Codex CLI, and Gemini CLI each get their own "tool differences" sections, plus a standalone entry wherever a pitfall comes from a mechanism unique to one tool. Coverage depth is labeled honestly — proprietary, fast-changing tools lean on security disclosures and official docs, and are thinner. See the tool matrix.
The whole encyclopedia is available as an MCP server — ask your AI assistant "search AiWiki for why long sessions get dumber" and it pulls the entry, mechanism, and sources:
claude mcp add aiwiki -- npx -y aiwiki-mcp
Works with any MCP client (Cursor, Windsurf, Claude Desktop…). Details in mcp/README.md.
Built on Docusaurus (native versioning, bilingual i18n, full-text search).
npm install
npm run start # Chinese site
npm run start -- --locale en # English site
npm run build # full build (both locales)
An open, long-running project. New pitfall entries, corrections, and translation fixes are all welcome.
Content is shared under CC BY-SA 4.0; sources are cited at the foot of each entry. Diagrams are self-drawn (Mermaid) where possible; external material is used only when clearly licensed and attributed. Spot a problem? Open an issue.
Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.
Tool
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "{MCP_ENDPOINT_URL}"
}
}
}Paste into mcpServers in the config file. Restart Cursor after saving.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.