--- import { getCollection } from 'astro:content'; import Base from '../../layouts/Base.astro'; import '../../styles/sub-pages.css'; import { SKILL_CATEGORIES, CATEGORY_ORDER, CATEGORY_LABELS, CATEGORY_DESCRIPTIONS, } from '../../data/sub-pages-data'; const entries = await getCollection('skills'); const grouped: Record = {}; for (const cat of CATEGORY_ORDER) { grouped[cat] = entries .filter(e => SKILL_CATEGORIES[e.id] === cat) .sort((a, b) => a.id.localeCompare(b.id)); } const allCommands = entries.map(e => ({ slug: e.id, category: SKILL_CATEGORIES[e.id] || 'system', })); const sidebarGroups: Record = {}; for (const cat of CATEGORY_ORDER) { sidebarGroups[cat] = allCommands .filter(c => c.category === cat) .sort((a, b) => a.slug.localeCompare(b.slug)); } ---

Commands

23 commands for design fluency. One skill, six categories, from shaping a new feature to hardening it for production.

{CATEGORY_ORDER.map(cat => (

{CATEGORY_LABELS[cat]}

{CATEGORY_DESCRIPTIONS[cat]}

{grouped[cat].map(entry => (

/impeccable {entry.id}

{entry.data.tagline}

))}
))}