add-neon-docs

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Add Neon Knowledge References to Project

为项目添加Neon知识参考链接

This skill adds reference links to Neon documentation and best practices in your project's AI documentation file, enabling AI assistants to quickly access Neon-specific patterns and guidelines without cluttering your project with large documentation files.
此Skill会将Neon文档和最佳实践的参考链接添加到项目的AI文档文件中,让AI助手能够快速获取Neon特定的模式和指南,同时不会让项目被大量文档文件占用。

How It Works

工作原理

This skill follows a simple workflow:
  1. Load metadata - Read skill information from
    skill-knowledge-map.json
  2. Detect documentation file - Find
    CLAUDE.md
    ,
    AGENTS.md
    , or Cursor rules files
  3. Ask permission - Show what will be added and where
  4. Add references - Insert URLs in a "Resources & References" section
  5. Report completion - Confirm successful installation
For detailed workflow steps, see
install-knowledge.md
.
此Skill遵循以下简单流程:
  1. 加载元数据 - 从
    skill-knowledge-map.json
    中读取Skill信息
  2. 检测文档文件 - 查找
    CLAUDE.md
    AGENTS.md
    或Cursor规则文件
  3. 请求权限 - 展示将要添加的内容和位置
  4. 添加参考链接 - 在“Resources & References”部分插入URL
  5. 完成报告 - 确认安装成功
如需详细的流程步骤,请查看
install-knowledge.md

Parameters

参数

SKILL_NAME Parameter

SKILL_NAME参数

Optional. Specifies which skill documentation to install (e.g.,
"neon-drizzle"
). If not provided, you'll be prompted to choose from available skills defined in
skill-knowledge-map.json
.
可选。指定要安装的Skill文档(例如
"neon-drizzle"
)。如果未提供,系统会提示您从
skill-knowledge-map.json
中定义的可用Skill中进行选择。

Usage Examples

使用示例

Called from another skill:
markdown
Execute the add-neon-docs skill with SKILL_NAME="neon-drizzle"
Called directly by user:
  • "Add neon drizzle knowledge to my project"
  • "Install neon serverless documentation"
  • "Set up Neon best practices for my AI assistant"
从其他Skill调用:
markdown
Execute the add-neon-docs skill with SKILL_NAME="neon-drizzle"
由用户直接调用:
  • "为我的项目添加Neon Drizzle知识"
  • "安装Neon无服务器文档"
  • "为我的AI助手设置Neon最佳实践"

What Gets Added

会添加的内容

References are added to a "Resources & References" section in your AI documentation file:
markdown
undefined
参考链接会被添加到AI文档文件的“Resources & References”部分:
markdown
undefined

Resources & References

Resources & References

Target Files (in priority order):

目标文件(优先级顺序):

  • CLAUDE.md
    - Most common for Claude Code projects
  • AGENTS.md
    - Custom AI documentation files
  • .cursor/README.md
    or
    .cursor/rules.md
    - Cursor IDE projects
  • Creates
    CLAUDE.md
    if none exist
  • CLAUDE.md
    - Claude Code项目最常用的文件
  • AGENTS.md
    - 自定义AI文档文件
  • .cursor/README.md
    .cursor/rules.md
    - Cursor IDE项目文件
  • 如果不存在上述文件,则创建
    CLAUDE.md

Behavior:

行为说明:

  • Existing "Resources & References" sections: New links are appended
  • No existing section: Section is created at end of file
  • No documentation file:
    CLAUDE.md
    is created with references
  • 若已存在“Resources & References”部分:新链接会被追加到该部分
  • 若不存在该部分:会在文件末尾创建该部分
  • 若没有文档文件:会创建包含参考链接的
    CLAUDE.md

Related Skills

相关Skill

  • neon-drizzle - Sets up Drizzle ORM, then offers this skill
  • neon-serverless - Sets up connections, then offers this skill
  • neon-toolkit - Sets up ephemeral databases, then offers this skill
  • neon-drizzle - 配置Drizzle ORM后,会提供此Skill
  • neon-serverless - 配置连接后,会提供此Skill
  • neon-toolkit - 配置临时数据库后,会提供此Skill

Workflow Reference

流程参考

For complete implementation details:
  • Workflow:
    install-knowledge.md
    - Step-by-step agent workflow with error handling
  • Metadata:
    skill-knowledge-map.json
    - Skill definitions and reference URLs

如需完整的实现细节:
  • 流程文档
    install-knowledge.md
    - 包含错误处理的分步Agent流程
  • 元数据
    skill-knowledge-map.json
    - Skill定义和参考URL

Workflow Implementation

流程执行

Now I'll execute the installation workflow for you.
Parameter received: SKILL_NAME = ${SKILL_NAME || "not provided - will ask user"}
Execute
install-knowledge.md
with the specified SKILL_NAME.
现在我将为您执行安装流程。
收到的参数:SKILL_NAME = ${SKILL_NAME || "not provided - will ask user"}
使用指定的SKILL_NAME执行
install-knowledge.md