General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
5
You are creating a new `site-*` element for the AgentStatic component library.
Sign in to like and favorite skills
You are creating a new
site-* element for the AgentStatic component library.
Arguments:
$ARGUMENTS may contain the element name (without site- prefix)
If
$ARGUMENTS contains a name, use it. Otherwise, use AskUserQuestion to ask:
testimonials, team, blog-card)The element will be created as
site-{name}.
Use AskUserQuestion to ask about:
centered, dark, compact, split)site-testimonials-item, site-testimonials-author)Read
docs/component-patterns.md and search for relevant patterns. If a matching pattern exists:
Create directory
elements/site-{name}/ with these files:
# site-{name} {Description from Step 2} ## Usage \`\`\`html <site-{name}> <!-- content --> </site-{name}> \`\`\` ## Variants | Attribute | Effect | |-----------|--------| | `variant="..."` | ... | | `theme="dark"` | Dark background variant | ## Child Elements - `site-{name}-{child}` — Description
Example markup showing the element in use with realistic content.
CSS using design tokens (
--color-*, --space-*, --text-*). Include:
site-{name}[variant="..."]Report what was created:
npm run build to include in stylesheetStart by determining the element name from arguments or asking the user.