Harden your mobile designs into production-ready quality
Kiln is a Claude Code plugin that brings Material Design 3 and Apple Human Interface Guidelines expertise directly into your development workflow. It catches common LLM-generated anti-patterns, enforces WCAG 2.2 accessibility compliance, and helps you build beautiful, performant mobile applications.
Like a kiln fires and hardens clay into durable ceramics, this plugin fires your UI code through rigorous design audits to produce hardened, production-ready mobile applications.
- 18 Audit & Polish Commands - Comprehensive design review capabilities
- 40+ Anti-Pattern Database - Catches LLM-specific mobile code mistakes
- WCAG 2.2 Level AA - Full accessibility compliance checking
- Multi-Provider Support - Works with Claude Code, Cursor, Gemini, and Codex
- Platform-Specific Skills - Deep expertise for both Android and iOS
# Clone or download the plugin, then copy the dist to your plugins folder
mkdir -p ~/.claude/plugins/kiln
cp -r dist/claude-code/* ~/.claude/plugins/kiln/
# Or add to installed_plugins.json for local development:
# "kiln@local": [{ "scope": "project", "installPath": "/path/to/kiln/dist/claude-code", "version": "1.0.0" }]cp -r dist/cursor/.cursor ~/.cursor/rules/kilnSee dist/gemini/ and dist/codex/ for provider-specific formats.
| Command | Description |
|---|---|
/audit-material |
Audit Compose code for Material Design 3 compliance |
/audit-swiftui |
Audit SwiftUI code for HIG compliance |
/audit-accessibility |
WCAG 2.2 Level AA accessibility audit |
/audit-spacing |
Touch targets and spacing scale validation |
/audit-typography |
Typography scale and text accessibility |
/audit-motion |
Animation compliance and reduce motion |
| Command | Description |
|---|---|
/polish-android |
Refine Compose code to M3 excellence |
/polish-ios |
Refine SwiftUI to iOS-native polish |
/polish-motion |
Refine animations for platform feel |
| Command | Description |
|---|---|
/simplify-compose |
Reduce Compose complexity |
/simplify-swiftui |
Reduce SwiftUI complexity |
| Command | Description |
|---|---|
/adapt-android-to-ios |
Port Compose to SwiftUI |
/adapt-ios-to-android |
Port SwiftUI to Compose |
| Command | Description |
|---|---|
/dark-mode-audit |
Dark mode and contrast compliance |
/responsive-audit |
Multi-device layout support |
/component-extract |
Extract reusable components |
/critique-design |
Visual hierarchy review |
/teach-mobile-design |
One-time design principles setup |
Material Design 3 expertise including:
- Typography scale (15 styles)
- Color system with dynamic color
- Touch targets (48dp minimum)
- State management patterns
- 20+ anti-pattern detection
Human Interface Guidelines expertise including:
- Dynamic Type (11 styles)
- Semantic colors
- Safe Areas
- Property wrappers
- 20+ anti-pattern detection
Autonomous agent that runs multi-pass design review:
- Accessibility audit
- Design system compliance
- Performance review
- Consistency check
- Synthesized report
WCAG 2.2 Level AA compliance auditor:
- Touch target validation
- Contrast checking
- Screen reader support
- Focus management
- Full compliance report
- Passing MutableState to children
- Reading scroll state in composition
- Creating modifiers in composable body
- Missing contentDescription
- Touch targets under 48dp
- Hardcoded colors and fonts
- And 14+ more...
- @ObservedObject for owned instances
- @State with reference types
- AnyView overuse
- Missing accessibilityLabel
- Touch targets under 44pt
- Wrong modifier order
- And 14+ more...
| Criterion | Level | Covered |
|---|---|---|
| 1.1.1 Non-text Content | A | ✅ |
| 1.4.3 Contrast (Minimum) | AA | ✅ |
| 1.4.4 Resize Text | AA | ✅ |
| 2.4.7 Focus Visible | AA | ✅ |
| 2.5.7 Dragging Movements | AA | ✅ |
| 2.5.8 Target Size | AA | ✅ |
| 3.3.7 Redundant Entry | A | ✅ |
| 3.3.8 Accessible Auth | AA | ✅ |
npm install
npm run buildnpm testkiln/
├── plugin.json # Plugin manifest
├── package.json # Build dependencies
├── README.md # This file
├── source/ # Source files (edit these)
│ ├── commands/ # 18 audit commands
│ ├── skills/ # Platform skills
│ │ ├── android-design/
│ │ │ ├── SKILL.md
│ │ │ └── reference/ # 7 reference files
│ │ └── ios-design/
│ │ ├── SKILL.md
│ │ └── reference/ # 7 reference files
│ └── agents/ # Autonomous agents
├── scripts/ # Build system
│ └── build.js
└── dist/ # Generated (don't edit)
├── claude-code/
├── cursor/
├── gemini/
└── codex/
- Edit files in
source/ - Run
npm run build - Test with your preferred provider
- Submit PR
MIT
This plugin provides audit capabilities against Material Design 3 and Human Interface Guidelines standards but is not an official Google or Apple product. It is an independent tool created by the PartyOn Team to help developers build better mobile applications.
References to Material Design 3, Human Interface Guidelines, and other design systems are for educational purposes only and do not imply endorsement or affiliation.
- Material Design 3 - Google's design system (referenced for educational purposes)
- Apple Human Interface Guidelines - Apple's design standards (referenced for educational purposes)
- WCAG 2.2 - W3C accessibility guidelines
- Jetpack Compose - Android UI toolkit
- SwiftUI - Apple's declarative UI framework
- Now in Android - Google's reference app (Apache 2.0, patterns analyzed)
- IceCubesApp - Thomas Ricouard's Mastodon client (AGPL-3.0, patterns analyzed)
- compose-rules - Compose linting rules (Apache 2.0)