A Claude Code skill for creating interactive HTML prototypes with an infinite canvas preview system.
- Infinite Canvas: Pan and zoom to navigate between multiple prototype screens
- Device Frames: MacBook-style (16:10) desktop frames or iPhone 15 Pro mobile frames
- Auto Page Discovery: Automatically organizes pages by folder structure
- Comment System: Add comments to each prototype page with persistent storage
- Tailwind CSS: Modern styling out of the box
Copy the .claude/skills/prototype-designer folder to your project:
mkdir -p .claude/skills
cp -r path/to/prototype-designer .claude/skills/mkdir -p ~/.claude/skills
cp -r path/to/prototype-designer ~/.claude/skills/your-project/
├── prototype/
│ ├── index.html # Infinite canvas preview
│ ├── comments.json # Auto-generated comments storage
│ ├── resources/ # Shared components
│ │ ├── header.html
│ │ └── sidebar.html
│ ├── feature_a/ # Feature module
│ │ ├── home.html
│ │ └── settings.html
│ └── feature_b/
│ └── dashboard.html
└── server_with_comments.py # Backend server
Once installed, simply ask Claude to create prototypes:
- "Create a prototype for a login page"
- "Design a dashboard prototype with sidebar navigation"
- "Add a new page to the user settings module"
Claude will automatically:
- Create properly structured HTML files
- Use Tailwind CSS for styling
- Place files in the correct folders
- Update the canvas preview
Edit the CONFIG object in index.html:
const CONFIG = {
deviceType: 'desktop', // 'desktop' or 'mobile'
projectTitle: 'My Prototypes',
excludeFolders: ['resources', 'assets'],
enableComments: true
};| Endpoint | Method | Description |
|---|---|---|
/api/pages |
GET | Discover available prototype pages |
/api/comments |
GET | Get all comments |
/api/comments |
POST | Add a comment |
- Python 3.8+
- FastAPI
- uvicorn
- aiofiles
pip install fastapi uvicorn aiofilesMIT License - feel free to use in your projects!
Contributions welcome! Please feel free to submit issues and pull requests.