Repository navigation
feat(skills): add antares-builder consumer skill #404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rmojica-godaddy
wants to merge
6
commits into
main
Choose a base branch
from
rmb/skill
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d7de178
feat(skills): add antares-builder consumer skill
rmojica-godaddy 3694f82
fix(skills): tighten antares-builder guidance, add eval suite
rmojica-godaddy a077c9b
Merge remote-tracking branch 'origin/main' into rmb/skill
rmojica-godaddy f13b0f7
feat(skills): cover the new Skeleton component in antares-builder
rmojica-godaddy e1673f2
fix(skills): address PR review gaps in antares-builder
rmojica-godaddy 742cc73
Merge remote-tracking branch 'origin/main' into rmb/skill
rmojica-godaddy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| name: antares-skills | ||
| version: "0.1.0" | ||
| description: Skills for building React interfaces with the public Antares API. | ||
| author: GoDaddy LLC | ||
| license: MIT | ||
| repository: https://github.com/godaddy/antares | ||
| keywords: | ||
| - godaddy | ||
| - antares | ||
| - react | ||
| - design-system | ||
| - skills | ||
| type: skill | ||
| includes: auto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
|
rmojica-godaddy marked this conversation as resolved.
|
||
| name: antares-builder | ||
| description: Build, adapt, fix, or review React interfaces with @godaddy/antares. Use for component selection and composition, forms, accessible interactions, responsive layouts, charts (including chart data and rendering bugs), and consumer setup. Do not use for authoring the Antares library itself. | ||
| metadata: | ||
| version: "0.1.0" | ||
| author: GoDaddy LLC | ||
| --- | ||
|
rmojica-godaddy marked this conversation as resolved.
|
||
|
|
||
| # Antares Builder | ||
|
|
||
| Build consumer UI with the public `@godaddy/antares` API. Choose the interaction before its appearance. Many components use React Aria Components (RAC); Antares's own exports, props and slots define the consumer contract. | ||
|
|
||
| Follow the steps relevant to the request. Load only the reference sections needed for the selected feature. | ||
|
|
||
| ## Step 1 — Read the project context | ||
|
|
||
| Inspect `package.json`, the lockfile, framework configuration and existing components and pages in the consuming application. Identify the Antares version, package manager, routing, form library, CSS conventions and locale. Preserve those conventions when adapting existing UI. | ||
|
|
||
| Resolve the Antares version used by the consuming application and verify its public exports and types before using unfamiliar APIs. Use the [Antares repository](https://github.com/godaddy/antares) for documentation matching that version. When sources disagree, prioritize the installed public API over documentation and this skill's examples. | ||
|
|
||
| For installation, imports, CSS failures or server/client boundaries, read the relevant [setup](references/setup.md) sections. | ||
|
|
||
| Use public root or subpath imports. Do not derive Antares APIs from another design system or import `#components/*`, `dist` files or transitive internals. | ||
|
|
||
| ## Step 2 — Choose the component by behavior | ||
|
|
||
| Identify the action, value, navigation or information the user needs. Read the relevant branch of the [component decision tree](references/component-decision-tree.md) when choosing a component or comparing alternatives. The decision tree and examples describe one point in Antares's release history. Before using a component the tree recommends, verify it — and the specific props/children an example shows — still exist in the installed version's public exports and types: a newer install may add components the tree doesn't list yet, and an older install may lack a component the tree recommends or expose different props for it. If no matching export exists, use the application's established solution or semantic HTML and explain the gap. | ||
|
|
||
| ## Step 3 — Arrange and style the interface | ||
|
|
||
| For page structure, responsive behavior, typography, icons or sizing, read [layout and styling](references/layout-and-styling.md). Prefer Antares's existing variants and layout primitives. Responsive changes use the application's CSS media/container queries; Antares has no breakpoint prop syntax or mandatory provider. | ||
|
|
||
| ## Step 4 — Compose the selected components | ||
|
|
||
| Read the relevant [composition patterns](references/composition-patterns.md) for slots and state, collections, disclosures, tabs, overlays, files or feedback. For any chart implementation or customization, read [charts](references/charts.md). Include the required children and wire controlled callbacks. A RAC base provides behavior but does not render missing Antares parts. | ||
|
|
||
| ## Step 5 — Build complete forms | ||
|
|
||
| For form UI, follow [fields and validation](references/composition-patterns.md#fields-and-validation), then the selection, date or file sections as needed. Field roots own validation and relationships; `Input` and `TextArea` are controls within them. Integrate with the application's submission and error handling rather than introducing a second form architecture. | ||
|
|
||
| ## Step 6 — Supply the accessibility the app owns | ||
|
|
||
| Provide visible field labels, names for icon-only controls and collections, suitable heading levels and image alternatives. Preserve the selected component's keyboard model, focus indicator and DOM semantics. For dialogs, follow the title, dismissal and focus contracts in [modal layers](references/composition-patterns.md#modal-layers). Check locale/RTL when the feature depends on direction or date/number formatting. | ||
|
|
||
| ## Step 7 — Verify and deliver | ||
|
|
||
| Use the consumer project's task runner for appropriate type, lint, build and meaningful interaction checks. Verify labels, validation, overlay focus/return, loading/empty states and narrow layouts for the changed feature. Advice-only requests need focused API inspection rather than unrelated tasks. | ||
|
|
||
| For implementation, deliver runnable code with real imports and data flow, then briefly explain the component choices and any gap. For review, report actionable findings and minimal fixes. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.