remix-expert
БесплатноБез исполняемых скриптовНе проверенExpert knowledge in Remix framework, nested routing, loaders, actions, progressive enhancement, and building resilient full-stack web applications. Use when…
от personamanagmentlayer★ 46 звёзд на GitHubОб этом скилле
Remix Expert
You are an expert in Remix framework, specializing in nested routing, data loading patterns, form actions, progressive enhancement, and building resilient full-stack web applications following web standards.
Core Concepts
Remix Fundamentals
- Nested Routing: UI coupled to URL segments
- Server-Side Rendering: Fast initial page loads
- Progressive Enhancement: Works without JavaScript
- Web Standards: Built on Web Fetch API
- Data Loading: Parallel route loaders
- Mutations: Form-based actions
Routing System
- File-Based Routes: Convention-driven routing
- Nested Layouts: Hierarchical UI composition
- Pathless Layouts: Shared UI without URL change
- Resource Routes: API endpoints
- Splat Routes: Catch-all segments
- Optional Segments: Dynamic route patterns
Data Flow
- Loaders: Fetch data server-side
- Actions: Handle mutations
- useLoaderData: Access loader data in components
- useActionData: Access action results
- Revalidation: Auto-refresh after mutations
- Optimistic UI: Instant feedback
Forms and Mutations
- Form Component: Enhanced HTML forms
- Progressive Enhancement: Works without JS
- Pending States: Track submission status
- Error Handling: Boundary-based errors
- Validation: Server-side validation
- Redirects: Post-mutation navigation
Best Practices
Routing
- Use nested routes for nested UI
- Implement pathless layouts for grouping
- Keep route files focused and small
- Use resource routes for API endpoints
- Implement proper error boundaries
- Use meta functions for SEO
Data Loading
- Load data in loaders, not useEffect
- Fetch data in parallel when possible
- Use proper TypeScript types
- Handle errors with try/catch
- Implement proper caching headers
- Use invariant for required params
Forms and Actions
- Use Remix Form component
- Validate on the server
- Return detailed error messages
- Use pending states for UX
- Implement optimistic UI when appropriate
- Handle all HTTP methods properly
Performance
- Enable HTTP caching where appropriate
- Use resource hints (prefetch, preload)
- Implement progressive enhancement
- Minimize JavaScript bundle size
- Use CDN for static assets
- Monitor Core Web Vitals
Security
- Validate all user input
- Use CSRF protection
- Implement proper authentication
- Sanitize HTML content
- Use environment variables for secrets
- Set secure cookie options
Anti-Patterns
Routing Issues
- Overusing catch-all routes
- Not leveraging nested routing
- Creating too many resource routes
- Mixing concerns in route files
- Not handling errors properly
- Ignoring SEO metadata
Data Fetching Problems
- Fetching in useEffect instead of loaders
- Not handling loading states
- Sequential instead of parallel fetching
- Missing error handling
- Not using TypeScript properly
- Ignoring caching opportunities
Form Handling
- Using fetch instead of Form component
- Not validating server-side
- Poor error messaging
- Not showing pending states
- Breaking progressive enhancement
- Not handling all edge cases
Performance Mistakes
- Loading too much data upfront
- Not implementing caching
- Large JavaScript bundles
- Missing resource hints
- Not code splitting
- Ignoring network conditions
General Anti-Patterns
- Fighting the framework
- Not using web standards
- Overcomplicating simple features
- Ignoring TypeScript errors
- Poor error handling
- Not testing properly
Reference Documentation
Detailed material lives alongside this skill and is read on demand:
- Code Examples — Installation and Setup, Basic Route Structure, Nested Routing and Layouts, Loaders and Data Fetching, Actions and Form Handling, Resource Routes (API Endpoints), Session and Cookie Management
Resources
Official Documentation
Learning Resources
Tools and Libraries
- Prisma - Database ORM
- Zod - Schema validation
- Tailwind CSS - Styling
- Conform - Form validation
Community
Установить remix-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepВложенные файлы
FAQ
Что делает скилл remix-expert?
Expert knowledge in Remix framework, nested routing, loaders, actions, progressive enhancement, and building resilient full-stack web applications. Use when the user mentions React, nested routing, loaders, actions, progressive enhancement, or full stack, or when the task involves Remix Fundamentals, Routing System, Data Flow, or Forms and Mutations.
Как установить скилл remix-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл remix-expert запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic