cloudinary-docs

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Cloudinary Documentation

Cloudinary 文档

Helps developers integrate Cloudinary into their applications by providing documentation and code examples retrieved directly from the optimized markdown files in the Cloudinary documentation.
帮助开发者通过直接从Cloudinary文档的优化markdown文件中获取的文档和代码示例,将Cloudinary集成到他们的应用中。

When to Use

适用场景

  • When a user asks questions or requests code implementation relating to image or video upload, management, optimization, or transformations (resizing, applying effects, visual improvements, adding overlays, generative AI, etc.)
  • User asks about Cloudinary SDKs, upload APIs, or integration guides
  • General Cloudinary documentation lookup (account settings, webhooks, DAM features)
  • Looking up specific Cloudinary API endpoints or SDK methods
  • Use this skill in conjunction with more specialized Cloudinary skills when relevant.
  • 当用户询问或请求与图片/视频上传、管理、优化或转换(调整大小、添加效果、视觉优化、叠加图层、生成式AI等)相关的代码实现时
  • 用户询问Cloudinary SDK、上传API或集成指南相关内容时
  • 通用Cloudinary文档查询(账户设置、webhooks、DAM功能)
  • 查询特定的Cloudinary API端点或SDK方法
  • 相关场景下可将本技能与更专业的Cloudinary技能结合使用

Instructions

使用说明

When answering image and video upload, management, optimization, or transformation questions or when implementing Cloudinary code:
  1. First, get the documentation index using llms.txt with the llms.txt URL - https://cloudinary.com/documentation/llms.txt
  2. Analyze the llms.txt content to understand what documentation pages are available
  3. Reflect on the user's question and identify which specific documentation URLs would be most relevant
  4. Navigate to the specific relevant documentation URLs from the llms.txt index (you can make multiple calls)
  5. Use the fetched documentation to provide a comprehensive, accurate answer or code implementation. When relevant, use in conjunction with more specialized Cloudinary skills like cloudinary-transformations. The best practices defined in the specialized skills should guide which doc instructions to use.
Example workflows:
Example 1: Upload question
  • User asks: "How do I upload images to Cloudinary?"
  • You retrieve the llms.txt index: https://cloudinary.com/documentation/llms.txt
  • You analyze the llms.txt content to understand what documentation pages are available
  • You identify relevant pages like "image_upload.md" or "upload_api.md"
  • You retrieve those specific pages from the llms.txt index
  • You provide an answer with code examples and citations
Example 2: Transformation question
  • User asks: "How do I resize and crop images?"
  • You retrieve the llms.txt index
  • You identify relevant pages like "image_transformations.md" or "transformation_reference.md"
  • You fetch the specific documentation
  • You provide transformation syntax and examples
Example 3: SDK question
  • User asks: "What's the Node.js SDK for Cloudinary?"
  • You retrieve the llms.txt index
  • You identify SDK-related pages
  • You provide installation instructions and usage examples
在解答图片和视频上传、管理、优化或转换相关问题,或实现Cloudinary代码时:
  1. 首先获取文档索引:通过llms.txt URL - https://cloudinary.com/documentation/llms.txt 获取llms.txt内容
  2. 分析llms.txt内容,了解可用的文档页面有哪些
  3. 梳理用户问题,确定哪些具体的文档URL相关性最高
  4. 访问llms.txt索引中对应的相关文档URL(可发起多次调用)
  5. 使用获取到的文档内容给出全面、准确的答案或代码实现。相关场景下可与cloudinary-transformations等更专业的Cloudinary技能结合使用,专业技能中定义的最佳实践可作为选择文档说明的参考依据。
示例工作流:
示例1:上传相关问题
  • 用户提问:"我该如何将图片上传到Cloudinary?"
  • 你获取llms.txt索引:https://cloudinary.com/documentation/llms.txt
  • 你分析llms.txt内容,了解可用的文档页面
  • 识别出相关页面,比如"image_upload.md"或"upload_api.md"
  • 你从llms.txt索引中获取这些具体页面的内容
  • 给出包含代码示例和引用来源的答案
示例2:转换相关问题
  • 用户提问:"我该如何调整图片大小并裁剪?"
  • 你获取llms.txt索引
  • 识别出相关页面,比如"image_transformations.md"或"transformation_reference.md"
  • 你获取对应的具体文档内容
  • 给出转换语法和示例
示例3:SDK相关问题
  • 用户提问:"Cloudinary的Node.js SDK是什么?"
  • 你获取llms.txt索引
  • 识别出SDK相关页面
  • 给出安装说明和使用示例