Helps developers integrate Cloudinary into their applications with documentation and code examples from the Cloudinary documentation. This skill is beneficial for users needing guidance on image and video upload, management, and transformation.
$ npx skills add https://github.com/cloudinary-devs/skills --skill cloudinary-docsThe Cloudinary Documentation skill equips AI coding assistants with access to current Cloudinary documentation pages to answer technical questions and generate correct integration code. It selects the most relevant markdown documentation using the latest llms.txt index, enabling accurate guidance on image and video uploads, asset management, and media transformations. Developers using Claude Code, Cursor, or other AI agents benefit from real documentation references rather than hallucinated code, ensuring best practices and syntactic correctness. The skill fires automatically when you ask Cloudinary-related questions or request code integration, reducing lookup time and improving code quality.
Install via command line using provided instruction.
Answering questions about Cloudinary SDKs and APIs
Implementing image/video upload functionality
Looking up specific Cloudinary API endpoints
Troubleshooting Cloudinary integration issues
$ npx skills add https://github.com/cloudinary-devs/skills --skill cloudinary-docsgit clone https://github.com/cloudinary-devs/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Provide Cloudinary documentation and code examples for [TASK]. Include best practices for [COMPANY]'s [INDUSTRY] use case. Use the latest Cloudinary API version and ensure examples are in [LANGUAGE].
### Cloudinary Image Upload and Transformation Guide
**Task:** Upload images to Cloudinary and apply transformations for a React-based e-commerce platform.
#### 1. Setup Cloudinary Account
- Sign up at [Cloudinary](https://cloudinary.com) and note your `cloud_name`, `api_key`, and `api_secret`.
#### 2. Install SDK
```bash
npm install cloudinary-react cloudinary
```
#### 3. Upload Images
```javascript
import { CloudinaryImage } from '@cloudinary/react';
import { Cloudinary } from '@cloudinary/url-gen';
const cld = new Cloudinary({
cloud: {
cloudName: 'your_cloud_name'
}
});
const myImage = cld.image('sample.jpg');
myImage.resize('c_limit,w_500,h_500').format('auto');
```
#### 4. Best Practices
- Use **unsigned uploads** for client-side uploads (requires `upload_preset`).
- Optimize transformations with **chained operations** (e.g., `resize().format().quality('auto')`).
- Cache transformed assets using **Cloudinary’s CDN**.
#### 5. Error Handling
- Handle upload errors with try-catch blocks:
```javascript
try {
const uploadResult = await cld.uploader.upload('image.jpg');
} catch (error) {
console.error('Upload failed:', error);
}
```Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan