// Guide through updating AI design patterns with comprehensive checklist completion, code examples, images, documentation, and interactive demos
| name | Pattern Development |
| description | Guide through updating AI design patterns with comprehensive checklist completion, code examples, images, documentation, and interactive demos |
This skill helps you complete the 24 AI design patterns for the AIUX project. 15 patterns are fully updated, and 9 patterns require comprehensive review and updates. Each pattern must have all components completed before considering it done.
Claude should automatically proactively suggest using the pattern generator when detecting these keywords:
npm run generate-pattern [slug]npm run list-patterns and recommendnpm run generate-all-patternsWhen user mentions pattern work, Claude should:
npm run list-patterns (in background)npm run generate-pattern [slug]"Each pattern must have ALL of the following completed before marking as done:
/patterns/[slug]npm run test:patterns successfullyAsk which pattern you want to work on, or I'll suggest the next priority pattern.
# Check existing pattern structure
npm run list-patterns
Examine what exists and what's missing from the checklist.
For EACH checklist item, follow these steps:
src/data/patterns/patterns/[pattern-slug]/code-examples.tspublic/images/patterns/[pattern-slug]/npm run optimize-images)src/data/patterns/patterns/[pattern-slug]/index.tsguidelines.ts in pattern directoryconsiderations.ts in pattern directorysrc/components/examples/[PatternName]Example.tsxsrc/components/examples/__tests__/[PatternName]Example.test.tsxnpm run test:patterns
All pattern data must validate successfully against the Zod schema.
npm run devhttp://localhost:3000/patterns/[pattern-slug]Only when ALL 10 checklist items are 100% complete, mark the pattern as done.
Select the next pattern from the list and repeat.
The pattern generator automates most of the work! Instead of manually creating all files:
# Generate one pattern (interactive)
npm run generate-pattern
# Or specify pattern slug directly
npm run generate-pattern --slug="ambient-intelligence"
# Generate ALL missing patterns at once
npm run generate-all-patterns
What the generator does automatically:
After generation, you may need to:
npm run optimize-images)# List all patterns and their status (check which need work)
npm run list-patterns
# Generate one specific pattern
npm run generate-pattern [slug]
# Generate all 9 missing patterns
npm run generate-all-patterns
# Validate pattern data structure
npm run test:patterns
# Start development server for testing
npm run dev
# Run tests for specific pattern component
npm test -- --testPathPattern="pattern-slug"
# Optimize images after adding new ones
npm run optimize-images
# Check if there are untested components
npm run list-untested
# Generate tests for a component
npm run generate-test [component-path]
โ ๏ธ Stay Focused: Work on ONE pattern at a time. Do not jump to another pattern until the current one is 100% complete with all checklist items done.
โ Complete Everything: Don't skip items. Every checklist item matters for consistency and user experience.
๐ฏ Quality First: Focus on making each pattern excellent rather than rushing through them.
๐ฑ Test Thoroughly: Always review in browser and test on mobile before marking complete.
Each pattern at src/data/patterns/patterns/[pattern-slug]/ should have:
[pattern-slug]/
โโโ index.ts # Main pattern data with metadata
โโโ code-examples.ts # Working code examples
โโโ guidelines.ts # Best practices and guidelines
โโโ considerations.ts # Trade-offs and considerations
Plus:
src/components/examples/[PatternName]Example.tsxsrc/components/examples/__tests__/[PatternName]Example.test.tsxpublic/images/patterns/[pattern-slug]/A pattern is complete when:
โ
All 10 checklist items are checked
โ
npm run test:patterns passes with no validation errors
โ
Pattern displays correctly at http://localhost:3000/patterns/[slug]
โ
Interactive demo works smoothly
โ
Mobile responsive design verified
โ
All code examples work as expected
โ
Images are optimized and load quickly
This skill works with other AI agents in the project for coordinated development:
When working on patterns, you can leverage multiple agents:
# Pattern workflow: Generate โ Test โ Validate
npm run generate-pattern [slug] # Step 1: Pattern generator creates structure
npm run generate-test [component] # Step 2: Test generator creates tests
npm run test:patterns # Step 3: Validate everything
npm run dev # Step 4: Browser review
The new guide generator (guide-gen) is being built alongside pattern development. When both are ready:
# Complete AIUX workflow
npm run generate-pattern # Generate pattern
npm run generate-guide # Generate guide lesson about the pattern
npm run generate-test # Generate tests
npm run design-analyze # Analyze design consistency
npm run progress-report # Track overall progress
npm run progress-reportProject Goal: Complete all 24 AI design patterns with comprehensive implementations, interactive demos, and documentation. Currently: 15/24 complete, 9 need updates.
Companion Project: 6 Designer Guide learning paths (Claude Code โ , Cursor โ , and 4 tools in progress)