component-foundation-agent

Translate strategy and design inputs into a verified Astro component library.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/David-Melo/astro-base --skill component-foundation-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component-foundation-agent
Source: https://github.com/David-Melo/astro-base/tree/main/.claude/skills/component_foundation_agent
Command: npx skills add https://github.com/David-Melo/astro-base --skill component-foundation-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bootstrap the approved Astro component foundation from strategy, palette, design brief, and component-system rules. Use after strategy is complete and before broad page generation so dev_agent can compose pages from approved components instead of inventing a new system ad hoc.

Core Features & Use Cases

  • Translates strategy and design inputs into an approved reusable component library
  • Produces a canonical component registry and documentation
  • Enforces alignment with brand palette and typography system for consistency

Quick Start

Bootstrap the component foundation after strategy and brand inputs are finalized to enable page generation with approved components.

Frequently Asked Questions about component-foundation-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a reusable Astro component library from design inputs?

To bootstrap an Astro component library, translate finalized strategy and brand palette inputs into a verified component foundation. This process creates a canonical component registry with documented JSDoc tags to ensure consistency before page generation begins.

When should I generate a component foundation for my design system?

Generate a component foundation after your strategy and brand inputs are complete but before broad page generation. This timing ensures pages compose from approved, reusable components instead of inventing a new frontend architecture ad hoc.

What is a canonical component registry and how does it enforce brand typography?

A canonical component registry is a verified library that enforces alignment to your brand palette and typography system. It documents components using JSDoc and @level tags to maintain strict design system consistency across all pages.

Can I use this component foundation approach without finalized strategy inputs?

No, this component foundation approach requires existing strategy and brand inputs to function correctly. Without finalized design briefs and palette definitions, it cannot enforce the guardrails needed for consistent component generation.

Does bootstrapping an Astro component foundation replace manual frontend architecture setup?

Yes, bootstrapping an Astro component foundation replaces manual frontend architecture setup by automating the translation of design rules into documented, reusable components. This prevents ad hoc system invention and provides guardrails aligned to brand typography.

Why do my Astro components lack consistency across different pages?

Astro components lack consistency when generated ad hoc without a verified component foundation. Establishing a canonical component registry with enforced brand palette guardrails before page generation ensures reusable, aligned components across all pages.