Official documentation website for ClaudeKit - A comprehensive toolkit for building AI-powered applications with Claude.
🌐 Live Site: https://docs.claudekit.cc 📦 Version: 0.0.1 (MVP) 🚀 Status: Development
Modern, AI-powered documentation platform built with Astro v5, featuring a 3-column responsive layout, type-safe content management, and integrated AI assistance powered by OpenRouter.
- ✨ AI Assistant: Interactive chat panel with context-aware responses (UI complete, backend pending)
- 📝 Type-Safe Content: Zod-validated markdown with automatic route generation
- 🎨 Beautiful Design: One Dark Pro-inspired theme with Polar documentation aesthetics
- 📱 Fully Responsive: Mobile-first design with adaptive 1/2/3-column layouts
- ⚡ Blazing Fast: Static site generation with minimal JavaScript hydration
- ♿ Accessible: WCAG 2.1 AA compliant with keyboard navigation
- 🐳 Production Ready: Docker + Kubernetes deployment with high availability
- Astro v5.14.6 - Static site generator with islands architecture
- React 18.3.1 - Interactive UI components (islands)
- TypeScript 5.7.3 - Type-safe development
- Node.js 20 - Runtime environment
- Tailwind CSS v3.4.17 - Utility-first CSS framework
- CSS Variables - Design token system (colors, spacing, typography)
- Inter Variable - Body font (Google Fonts)
- Geist Mono - Code font (Vercel)
- Astro Content Collections - Type-safe markdown with Zod validation
- remark-gfm - GitHub Flavored Markdown support
- remark-math - LaTeX math equations
- rehype-slug - Auto-generate heading anchors
- rehype-katex - Render math notation
- Shiki - Syntax highlighting (One Dark Pro theme)
- Radix UI - Accessible headless components
- Collapsible (sidebar navigation)
- Dialog (AI assistant panel)
- Dropdown Menu (copy page actions)
- Scroll Area (custom scrollbars)
- OpenRouter API - Multi-model LLM gateway (Claude, GPT-4, 400+ models)
- OpenAI SDK v4.75.1 - API client library
- Server-Side Routes - Secure API key management (future)
- Docker - Containerization (multi-stage build, node:20-alpine)
- Kubernetes - Orchestration (2 replicas, HPA-ready)
- nginx-ingress - Load balancing and TLS termination
- cert-manager - Automatic SSL certificates (Let's Encrypt)
- GitHub Container Registry - Docker image hosting
claudekit-docs/
├── src/ # Source code
│ ├── components/ # React & Astro components
│ │ ├── AIChat.tsx # AI chat interface (React)
│ │ ├── AIPanel.astro # AI assistant panel wrapper
│ │ ├── Header.astro # Top navigation bar
│ │ ├── Sidebar.astro # Left sidebar container
│ │ └── SidebarNav.astro # Navigation tree logic
│ ├── content/ # Documentation content
│ │ ├── docs/ # Markdown documentation
│ │ │ ├── getting-started/ # Introduction, installation, quick-start
│ │ │ ├── cli/ # CLI documentation (3 pages)
│ │ │ ├── core-concepts/ # Architecture documentation
│ │ │ ├── components/ # (Empty - future)
│ │ │ └── api-reference/ # (Empty - future)
│ │ └── config.ts # Content collection schema (Zod)
│ ├── layouts/ # Page layouts
│ │ ├── BaseLayout.astro # HTML document structure
│ │ └── DocsLayout.astro # 3-column docs layout
│ ├── lib/ # Utilities & API clients
│ │ └── openrouter.ts # OpenRouter API client
│ ├── pages/ # File-based routing
│ │ ├── index.astro # Homepage
│ │ └── docs/[...slug].astro # Dynamic doc pages
│ └── styles/ # Global styles
│ └── global.css # Design system (CSS variables)
├── public/ # Static assets
│ ├── favicon.svg # Site icon
│ └── *.png # Logos (dark, light, transparent)
├── k8s/ # Kubernetes deployment
│ ├── configmap.yaml # Environment config
│ ├── deployment.yaml # Pod specification (2 replicas)
│ ├── service.yaml # ClusterIP service
│ ├── ingress.yaml # HTTPS ingress + TLS
│ └── README.md # Deployment guide
├── docs/ # Project documentation
│ ├── codebase-summary.md # Complete codebase overview
│ ├── project-overview-pdr.md # Product requirements & roadmap
│ ├── code-standards.md # Coding standards & conventions
│ ├── system-architecture.md # Technical architecture
│ ├── deployment-guide.md # Production deployment guide
│ ├── tech-stack.md # Technology decisions
│ └── design-guidelines.md # Design system specification
├── .claude/ # Claude Code workflows
├── Dockerfile # Multi-stage Docker build
├── astro.config.mjs # Astro configuration
├── tailwind.config.mjs # Tailwind CSS config
├── package.json # Dependencies (13 prod, 3 dev)
├── tsconfig.json # TypeScript config (strict mode)
└── README.md # This file
- Node.js 20+ - JavaScript runtime
- npm 10+ - Package manager
- Git - Version control
# Clone repository
git clone https://github.com/claudekit/claudekit-docs.git
cd claudekit-docs
# Install dependencies
npm install
# Start development server (http://localhost:4321)
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview# Build Docker image
docker build -t claudekit-docs:local .
# Run container
docker run -d --name claudekit-docs -p 3000:3000 claudekit-docs:local
# View logs
docker logs claudekit-docs -f
# Stop and remove
docker stop claudekit-docs && docker rm claudekit-docs# Prerequisites: kubectl configured, nginx-ingress, cert-manager installed
# Create GitHub Container Registry secret
kubectl create secret docker-registry github-registry \
--docker-server=ghcr.io \
--docker-username=YOUR_GITHUB_USERNAME \
--docker-password=YOUR_GITHUB_TOKEN \
--docker-email=YOUR_EMAIL
# Deploy all resources
kubectl apply -f k8s/
# Verify deployment
kubectl get pods -l app=claudekit-docs
kubectl get svc claudekit-docs
kubectl get ingress claudekit-docs
# View logs
kubectl logs -l app=claudekit-docs --followSee Deployment Guide for detailed instructions.
- Add markdown file in
src/content/docs/<category>/
---
title: "Your Page Title"
description: "SEO-friendly description (150-160 chars)"
category: "getting-started" # or cli, core-concepts, components, api-reference
order: 1 # Optional: order in navigation
published: true # Default: true
---
# Your Page Title
Brief introduction paragraph.
## Section Heading
Content with [links](https://example.com) and **formatting**.
```typescript
// Code blocks with syntax highlighting
const greeting: string = "Hello, world!";
console.log(greeting);
\```-
Route auto-generated from file path:
src/content/docs/getting-started/introduction.md→/docs/getting-started/introduction
-
Validate frontmatter (build will fail if invalid):
- All required fields must be present
- Category must be one of:
getting-started,cli,core-concepts,components,api-reference
- H1: Page title only (one per page)
- H2-H4: Section headings (avoid H5-H6)
- Code blocks: Always specify language (
typescript,bash, etc.) - Links: Use descriptive text, not "click here"
- Images: Store in
public/directory, reference with/image.png
npm run dev # Start dev server (http://localhost:4321)
npm run build # Build for production (output: dist/)
npm run preview # Preview production build
npm run astro # Run Astro CLI commands- Integrations: MDX, React, Tailwind
- Markdown: remark-gfm, remark-math, rehype-slug, rehype-autolink-headings, rehype-katex
- Syntax Highlighting: Shiki (One Dark Pro theme)
- Output: Static site generation (SSG)
- Content: All files in
src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx} - Dark Mode: Class-based (
[data-theme="dark"]) - Custom Theme: Colors, fonts, spacing mapped to CSS variables
- No Plugins: Vanilla Tailwind only
- Extends:
astro/tsconfigs/strict - Strict Mode: Enabled for type safety
Comprehensive project documentation for both ClaudeKit Docs site and ClaudeKit Engineer located in docs/:
-
- Product vision, goals, and value proposition
- Functional and non-functional requirements
- Success metrics and roadmap (4 phases)
- Pricing strategy and competitive analysis
- Risk assessment and mitigation strategies
-
- Complete overview of ClaudeKit Engineer structure
- 49 source files, 44K+ tokens analyzed
- AI agents (12), slash commands (30+), MCP servers (6)
- Technology stack and dependencies
- File statistics and distribution
-
- Core principles: YAGNI, KISS, DRY
- File organization and naming conventions
- Agent and command development standards
- Documentation, testing, and security standards
- Git workflow and commit message format
-
- High-level architecture overview
- Agent architecture and lifecycle
- Command orchestration patterns (sequential, parallel, conditional)
- Data flow and communication protocols
- Integration, security, and scalability architecture
Detailed K8s deployment guide: k8s/README.md
- ✅ Project setup and configuration
- ✅ Base layouts (BaseLayout, DocsLayout)
- ✅ Navigation components (Header, Sidebar)
- ✅ AI chat UI (placeholder responses)
- ✅ Content collections with Zod validation
- ✅ Docker containerization
- ✅ Kubernetes manifests
- ✅ Comprehensive project documentation
- ✅ 79 documentation pages (259% increase from 22 pages)
- ✅ 14 agent pages (100% coverage)
- ✅ 25 command pages across 9 categories (83% coverage)
- ✅ 3 essential skill pages (Next.js, Tailwind CSS, shadcn/ui)
- ✅ 7 use case pages (features, bugs, refactoring, API, auth, payments, performance)
- ✅ 6 troubleshooting pages (installation, commands, agents, API keys, performance)
- ✅ Quick Start Guide (complete 15-min workflow)
- ✅ Introduction revision (20% more concise with comparison table)
- ✅ ~250KB of quality documentation added
- 🔄 Production deployment to docs.claudekit.cc
- 🔄 AI assistant backend connection (OpenRouter API)
- 🔄 Search functionality (Pagefind)
- 🔄 Remaining content: 42 skills, 5 commands
- 📋 Complete skill documentation (42 remaining)
- 📋 Complete command documentation (5 remaining)
- 📋 Interactive code examples
- 📋 Analytics integration (Plausible)
- 📋 Error tracking (Sentry)
- 📋 CI/CD pipeline (GitHub Actions)
- 📋 Automated testing (Vitest, Playwright)
- 🚀 Multi-language support (i18n)
- 🚀 Interactive code playground
- 🚀 Video tutorials
- 🚀 Community contributions workflow
- 🚀 Versioned documentation
ClaudeKit ecosystem projects:
- ClaudeKit Website - Main marketing site
- Source code:
../claudekit-web/
- ClaudeKit Engineer - Engineering toolkit
- Source code:
../claudekit-engineer/
- ClaudeKit Marketing - Marketing toolkit
- Source code:
../claudekit-marketing/
- ClaudeKit CLI - Command-line tool
- Source code:
../claudekit-cli/
We welcome contributions! Please follow these guidelines:
- Read documentation: Review Code Standards
- Create branch:
feat/your-featureorfix/your-fix - Follow conventions: TypeScript strict mode, conventional commits
- Test locally:
npm run devandnpm run build - Submit PR: Include description, screenshots for UI changes
MIT License - see LICENSE file for details
- Documentation: See
docs/directory for comprehensive guides - Issues: Report bugs or request features via GitHub Issues
- Discussions: Join conversations in GitHub Discussions
Last Updated: 2025-10-18 Maintainers: ClaudeKit Team