feat(cli): give agents a complete, ready-to-assemble page kit (not just a search result)#3103
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
cixzhang
approved these changes
Jun 25, 2026
…vance floor `build "<idea>"` now returns a role-grouped kit: START → PAGE → FRAME (always) → BLOCKS → DOMAIN COMPONENTS (floored) → FOUNDATION (always) → SETUP. The always-on FRAME/FOUNDATION surface the structural primitives every page needs but that never keyword-match an idea (component recall 15% -> 71% on an agent-grounded eval). Co-authored-by: Cursor <cursoragent@cursor.com>
615fc33 to
2bc982d
Compare
Contributor
🚀 Vercel Preview Deployment
|
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Turns
astryx build "<idea>"into a complete, agent-ready composition kit, grouped by role:<div>reminder.Why
An agent-grounded eval (what successful builds actually imported) showed
buildsurfaced only ~15% of the pieces agents needed — because the structural primitives every page needs (AppShell, Stack, Grid, Card, Text, Button…) never keyword-match an idea, so search never returned them. Always-on FRAME + FOUNDATION + a relevance floor took component recall 15% → 71%, especially for off-template (compose-from-scratch) ideas.Test plan
astryx build "a kanban board"shows FRAME + FOUNDATION + idea-specific blocks/componentsastryx build "a settings page"direct-matches the page + still lists the kitnpx vitest run packages/cligreenMade with Cursor