AGENT SKILL

design-web-astro

Build or maintain explicitly selected Astro websites with version-matched Tailwind styling, Vue islands, content and navigation decisions. Use after the website platform has been selected or for an explicit Astro evaluation.

License 许可
MIT
最近更新
2026-11-10
Stars
★ 2
Forks
0

01 前言 Front Matter

name
design-web-astro
description
Build or maintain explicitly selected Astro websites with version-matched Tailwind styling, Vue islands, content and navigation decisions. Use after the website platform has been selected or for an explicit Astro evaluation.

02 资源文件 3

03 SKILL.md 正文

Astro website implementation

Version-Timestamp: 2026-10-14 14:03:25 AST

Read the project brief, DESIGN.md, tokens, package manifest/lockfile, runtime versions and accepted web-frontend inputs. Reuse existing audience/editor/host decisions; resolve material gaps before dependent work. Stack evaluation does not authorize migration or deployment.

Start with the architecture and setup. For animation read the engine comparison, then select web-motion-library and its exact technique. The playground source provides original reusable specimens, not a mandatory website theme.

Use Astro for content and routing. Use the official Vue integration only for stateful islands; client:load for immediate controls, client:visible for deferred independent widgets. Prefer server-rendered content and explicit hydration over client:only for essential meaning. Keep one router owner. A Vue island does not turn the whole site into a Vue SPA.

Use Tailwind 4 through its Vite plugin when selected and supported. Keep statically detectable class strings or a static lookup map; do not build utility names from interpolated runtime values. Preserve the host project's tokens, package manager and layout conventions.

Consult installed-major docs, not only current latest docs. Verify adapter peers and Node constraints. Static output plus a compatible adapter can serve selected on-demand routes where required; do not copy legacy hybrid output or adapter subpaths. Choose CMS/editing and content freshness per project. Never expose server credentials through props, public variables or generated markup.

For component adoption, copy only the chosen original component and its explicit helper/style dependencies to project-owned paths, adapt imports, and test against project versions. Do not overwrite existing helpers or copy package node_modules/caches. The library lockfile pins the standalone example, not every adopting project.

Run project diagnostics, Vue typecheck, build and changed-path checks. Render desktop/mobile and relevant states. Record runtime evidence separately from a successful build. Use web-motion-library verification for motion; retain release authorization and project privacy boundaries.

Agent-Attribution: computer=NMG-MBP-M5.local; tool=Codex; version=codex-cli 0.160.0; timestamp=2026-10-14 11:13:07 AST

For complex dialogs, navigation drawers or selection widgets read Headless UI adoption. Keep this dependency selective.

04 同仓库更多 Skills

newmindsgroup
newmindsgroup/visual-design-kit

web-design

Load before planning, designing, auditing or launching any website, landing page, cinematic hero, microsite or above-the-fold layout, or a prompt for Lovable, Bolt or v0 to build one, including regulated (prescription drug, health, finance), multilingual or market-specific launches. Covers page types (home, product, pricing, about, blog), conversion and ethical persuasion, responsive and fluid layouts, Core Web Vitals, SEO and structured data, localization and language-law requirements, stack and CMS choice (Astro, Next.js, WordPress, Webflow, Framer) and launch QA.

★ 2
newmindsgroup
newmindsgroup/visual-design-kit

ux-design

Load before designing or reviewing any flow, form, onboarding, navigation or content for real users, especially low-literacy, older, neurodivergent, child or other specific audiences. Covers research and usability tests, heuristic reviews, personas and jobs to be done, journeys and service blueprints, information architecture, UX laws, SUS, SEQ and HEART metrics, plain language and reading level, and microcopy and error messages.

★ 2
newmindsgroup
newmindsgroup/visual-design-kit

ui-design

Load before designing or specifying any interface screen or component, even a quick one: forms, tables, navigation, dashboards, onboarding, auth and passkeys, pricing, checkout, search and filters, settings, empty, loading and error states, notifications, consent and age-appropriate flows, and AI chat and agent interfaces, all to WCAG 2.2 AA. Also picks React UI libraries (toasts, drawers, command menus). Gives component specs, state matrices, sizes, density and keyboard and accessibility behavior.

★ 2
newmindsgroup
newmindsgroup/visual-design-kit

typography

Choose, pair, size and set type for brand, web, app, print, slides, signage and motion: modular scales, fluid clamp() type, measure, leading, tracking, OpenType features, font licensing and web font loading, and multiscript setting for CJK, Arabic, Hebrew, Devanagari and Thai. Use when selecting or pairing fonts, building a type scale or type tokens, fixing weak hierarchy or bad line breaks, setting long-form text or numbers, loading web fonts, or localizing type for another market.

★ 2
newmindsgroup
newmindsgroup/visual-design-kit

reference-reconstruction

Reconstructs the observed interface and behavior of a supplied app, site or screenshot set using a screen index, measurements, state and command maps, reusable components and matched-condition comparisons. Use when asked to reverse engineer, clone, reproduce or match a reference product, then adapt it if requested.

★ 2
newmindsgroup
newmindsgroup/visual-design-kit

print-packaging-social

Load before any print, packaging, label, barcode, social, out-of-home, slide-deck or email design question, even a quick one, and before making finished collateral files. Specs: bleed, safe zones, 300ppi, CMYK, PDF/X preflight, dielines, barcodes, social formats with 9:16 safe areas, billboard letter heights, 16:9 decks, bulletproof email. Renders token-driven brand books, sell sheets, cards, carousels and decks to PDF and PNG with a Canva editable twin.

★ 2