rwsdk-claude
v1.0.0
Published
RWSDK knowledge base for Claude CLI - gives Claude comprehensive understanding of RedwoodSDK
Maintainers
Readme
rwsdk-claude
Give Claude CLI comprehensive understanding of RedwoodSDK (RWSDK).
What is this?
This package installs RWSDK documentation into Claude CLI's knowledge base, allowing Claude to help you build RWSDK applications with accurate, up-to-date information.
RWSDK is NOT RedwoodJS - it's a completely separate lightweight React framework for Cloudflare Workers.
Installation
# Global install (recommended)
npm install -g rwsdk-claude
# Or use npx
npx rwsdk-claude initWhat gets installed
Global RWSDK Documentation →
~/.claude/docs/rwsdk.md- Complete API reference
- All guides (Tailwind, shadcn, auth, realtime, etc.)
- Code patterns and examples
Project Template →
CLAUDE.md- Quick reference for project-specific context
- Core patterns and file structure
Commands
# Add CLAUDE.md to your RWSDK project
rwsdk-claude init
# Update global docs to latest version
rwsdk-claude update
# Open docs in your editor
rwsdk-claude docsWhat Claude will know
After installation, Claude CLI understands:
- Routing - defineApp, route, prefix, render, layout
- React Server Components - Server vs Client components
- Server Functions - "use server" pattern
- Database - SQLite with Kysely, migrations, Durable Objects
- Authentication - Sessions with Durable Objects
- Realtime - WebSockets, live updates
- Storage - R2 bucket uploads
- Queues - Background job processing
- Cron - Scheduled tasks
- Email - Resend integration
- Tailwind v4 - CSS-based config
- shadcn/ui - Component aliases
- Deployment - Cloudflare Workers
Example Usage
After installing, ask Claude:
"Create a new RWSDK route with authentication"
"Add a realtime chat feature"
"Set up R2 file uploads"
"Create a Kysely migration for users table"Claude will provide accurate RWSDK-specific code, not generic React or RedwoodJS patterns.
