Implements drag-and-drop and sortable interfaces with React/TypeScript including kanban boards, sortable lists, file uploads, and reorderable grids. Use when building interactive UIs requiring direct manipulation, spatial organization, or touch-friendly reordering.
npx skills add https://github.com/ancoleman/ai-design-components --skill implementing-drag-drop
This skill helps implement drag-and-drop interactions and sortable interfaces using modern React/TypeScript libraries. It covers accessibility-first approaches, touch support, and performance optimization for creating intuitive direct manipulation UIs.
Invoke this skill when:
Reference references/dnd-patterns.md for:
Reference references/kanban-implementation.md for:
Reference references/file-dropzone.md for:
Reference references/accessibility-dnd.md for:
Modern, accessible, and performant drag-and-drop for React.
Reference references/library-guide.md for:
Determine the drag-and-drop pattern needed:
Install required packages:
npm install @dnd-kit/core @dnd-kit/sortable @dnd-kit/utilities
Use examples as starting points:
examples/sortable-list.tsx for basic listsexamples/kanban-board.tsx for multi-column boardsexamples/file-dropzone.tsx for file uploadsexamples/grid-reorder.tsx for grid layoutsReference references/accessibility-dnd.md to:
Run scripts/validate_accessibility.js to check implementation.
For lists with >100 items:
references/performance-optimization.mdscripts/calculate_drop_position.js for efficient calculationsApply theming using the design-tokens skill:
Reference references/touch-support.md for:
Reference references/state-management.md for:
Run scripts/calculate_drop_position.js to:
Run scripts/generate_dnd_config.js to:
Run scripts/validate_accessibility.js to:
Each example includes complete TypeScript code with accessibility:
examples/sortable-list.tsx
examples/kanban-board.tsx
examples/file-dropzone.tsx
examples/grid-reorder.tsx
assets/drag-state-types.ts provides:
assets/dnd-config-schema.json defines:
will-change: transform for animationsReference the appropriate guide for each issue:
references/accessibility-dnd.mdreferences/touch-support.mdreferences/performance-optimization.mdreferences/state-management.mdBefore deployment, verify:
After implementing basic drag-and-drop:
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take ancoleman/implementing-drag-drop from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.