lucidchart-hello-world
FeaturedCreate a minimal working Lucidchart example. Trigger: "lucidchart hello world", "lucidchart example", "test lucidchart".
AI & Automation 2,926 stars
433 forks Updated yesterday MIT
Install
Quality Score: 97/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Lucidchart Hello World
## Overview
Minimal working examples demonstrating core Lucidchart API functionality.
## Instructions
### Step 1: Create a Document
```typescript
const doc = await client.documents.create({
title: 'API Architecture Diagram',
product: 'lucidchart' // or 'lucidspark'
});
console.log(`Document: ${doc.documentId}`);
console.log(`Edit URL: ${doc.editUrl}`);
```
### Step 2: Add Shapes via Standard Import
```typescript
// Lucid Standard Import uses .lucid file format
const importData = {
pages: [{
id: 'page1',
title: 'Main',
shapes: [
{ id: 's1', type: 'rectangle', boundingBox: { x: 100, y: 100, w: 200, h: 80 },
text: 'API Gateway', style: { fill: '#4A90D9' } },
{ id: 's2', type: 'rectangle', boundingBox: { x: 100, y: 300, w: 200, h: 80 },
text: 'Database', style: { fill: '#7B68EE' } }
],
lines: [
{ id: 'l1', endpoint1: { shapeId: 's1' }, endpoint2: { shapeId: 's2' },
stroke: { color: '#333', width: 2 } }
]
}]
};
await client.documents.import(doc.documentId, importData);
```
### Step 3: Export Document
```typescript
const png = await client.documents.export(doc.documentId, {
format: 'png', pageIndex: 0, scale: 2
});
fs.writeFileSync('diagram.png', png);
```
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Auth error | Invalid credentials | Check LUCID_API_KEY |
| Not found | Invalid endpoint | Verify API URL |
| Rate limit | Too many requests | Imp...
Details
- Author
- jeremylongshore
- Repository
- jeremylongshore/claude-code-plugins-plus-skills
- Created
- 1 years ago
- Last Updated
- yesterday
- Language
- Python
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
lucidchart-core-workflow-a
Execute Lucidchart primary workflow: Document & Shape Creation. Trigger: "lucidchart document & shape creation", "primary lucidchart workflow".
2,926 Updated yesterday
jeremylongshore AI & Automation Featured
lucidchart-install-auth
Install and configure Lucidchart SDK/API authentication. Use when setting up a new Lucidchart integration. Trigger: "install lucidchart", "setup lucidchart", "lucidchart auth".
2,926 Updated yesterday
jeremylongshore AI & Automation Featured
lucidchart-security-basics
Security Basics for Lucidchart. Trigger: "lucidchart security basics".
2,926 Updated yesterday
jeremylongshore