qing1989620/skillnet-demo/card-based-design
Claude Code and agent skill by qing1989620/skillnet-demo
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Web and App implementation guide for Card-Based Design. Trigger when user wants information cards, Pinterest-style layouts, and bite-sized content containers.
Install
npx vskill@latest install qing1989620/skillnet-demo/card-based-designSKILL.md
The same SKILL.md was published earlier as lingxling/awesome-skills-cn/card-based-design.
Card-Based Design
"Bite-sized consumption. Encapsulating discrete pieces of information into distinct visual containers."
When to Use
Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.
Core Principles
- Encapsulation: Every card is self-contained. It has an image, a title, a short description, and usually an action (like a button or a 'like' icon).
- Responsive Flow: Cards easily reflow on different screen sizes (from a 4-column grid on desktop to a single column on mobile).
- Clear Boundaries: Cards must visually pop off the background.
Visual DNA
- Colors: Very flexible. The background should be slightly darker or distinct from the card color. Sophisticated Neutral works well for a premium feel.
- Typography: Clear hierarchy within the card (Header, Subheader, Body).
- Styling: Standard
border-radius: 8pxand a medium drop shadow.
Web Implementation
- CSS Grid with
auto-fitor a Masonry layout. - CSS Example:
App Implementation
SwiftUI
VStackinside a background with.cornerRadiusand.shadowis the standard.- Use
LazyVGridwith.adaptive(minimum: 160)to automatically create a multi-column card grid that flows perfectly on iPad or iPhone.
Flutter
- The native
Cardwidget does almost all the heavy lifting. - Critical fix: You must set
clipBehavior: Clip.antiAliason theCard, otherwise the top corners of your images will peek outside the border radius.
React Native
- Wrap everything in a View with
borderRadiusandoverflow: 'hidden'. elevation: 4provides the drop shadow on Android, while theshadow*props handle iOS.- For a Pinterest/Masonry style (columns of different heights), you must use a third-party library like
react-native-masonry-list, asFlatListcannot do varying row heights in columns.
Jetpack Compose
ElevatedCardis the perfect Material 3 component for this. It handles clipping and shadows automatically.- Use
GridCells.Adaptive(minSize = 160.dp)in aLazyVerticalGridto achieve an auto-flowing grid identical to CSS Gridauto-fit.
Do's and Don'ts
- DO: Make the entire card clickable, not just the title or image.
- DON'T: Put too much text in a card. If the user has to scroll within a card, the card is too big.
Limitations
- This is a styling reference and does not replace environment-specific validation, accessibility testing, or expert review.
- Ensure appropriate contrast ratios and responsive behaviors are verified separately.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingseed/community/skills/gh-agentic-design-it-361b4a/card-based-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qing1989620/skillnet-demo/card-based-design)