1- import { useState } from ' react' ;
1+ import { useState } from " react" ;
22import {
33 Play ,
44 Rocket ,
@@ -7,26 +7,26 @@ import {
77 Check ,
88 MessageSquareText ,
99 Terminal ,
10- } from ' lucide-react' ;
11- import { Button } from ' @/components/ui/button' ;
12- import { useScenarioStore , useUIStore } from ' @/stores' ;
10+ } from " lucide-react" ;
11+ import { Button } from " @/components/ui/button" ;
12+ import { useScenarioStore , useUIStore } from " @/stores" ;
1313import {
1414 PROMPT_CATEGORIES ,
1515 GETTING_STARTED_PROMPTS ,
1616 getAllPrompts ,
1717 type PromptCategory ,
1818 type PromptWithScenario ,
19- } from ' @/data/prompts' ;
20- import type { ScenarioPrompt } from ' @/types' ;
21- import { cn } from ' @/lib/utils' ;
19+ } from " @/data/prompts" ;
20+ import type { ScenarioPrompt } from " @/types" ;
21+ import { cn } from " @/lib/utils" ;
2222
2323const CATEGORY_ICONS : Record < PromptCategory , React . ReactNode > = {
24- ' this-scenario' : < Play className = "h-4 w-4" /> ,
25- ' getting-started' : < Rocket className = "h-4 w-4" /> ,
26- ' all-scenarios' : < List className = "h-4 w-4" /> ,
24+ " this-scenario" : < Play className = "h-4 w-4" /> ,
25+ " getting-started" : < Rocket className = "h-4 w-4" /> ,
26+ " all-scenarios" : < List className = "h-4 w-4" /> ,
2727} ;
2828
29- const SKILL_COMMAND = ' npx skills add getAlby/alby-agent- skill' ;
29+ const SKILL_COMMAND = " npx skills add getAlby/builder- skill" ;
3030
3131function GettingStartedCard ( ) {
3232 const [ copied , setCopied ] = useState ( false ) ;
@@ -37,7 +37,7 @@ function GettingStartedCard() {
3737 setCopied ( true ) ;
3838 setTimeout ( ( ) => setCopied ( false ) , 2000 ) ;
3939 } catch ( err ) {
40- console . error ( ' Failed to copy:' , err ) ;
40+ console . error ( " Failed to copy:" , err ) ;
4141 }
4242 } ;
4343
@@ -46,7 +46,8 @@ function GettingStartedCard() {
4646 < div className = "p-3" >
4747 < h3 className = "font-medium text-sm mb-1" > Getting Started</ h3 >
4848 < p className = "text-xs text-muted-foreground mb-2" >
49- Install the Alby agent skill in your project, then copy a prompt below into Claude Code or another AI tool.
49+ Install the Alby agent skill in your project, then copy a prompt below
50+ into Claude Code or another AI tool.
5051 </ p >
5152 < div className = "flex items-center gap-2" >
5253 < div className = "flex-1 flex items-center gap-2 bg-muted/50 rounded-md px-3 py-1.5 font-mono text-xs" >
@@ -81,12 +82,12 @@ export function PromptsTab() {
8182 const { promptCategory, setPromptCategory } = useUIStore ( ) ;
8283 const { currentScenario } = useScenarioStore ( ) ;
8384
84- const isGettingStarted = promptCategory === ' getting-started' ;
85+ const isGettingStarted = promptCategory === " getting-started" ;
8586
8687 const prompts : ( ScenarioPrompt | PromptWithScenario ) [ ] =
87- promptCategory === ' this-scenario'
88- ? currentScenario . prompts ?? [ ]
89- : promptCategory === ' all-scenarios'
88+ promptCategory === " this-scenario"
89+ ? ( currentScenario . prompts ?? [ ] )
90+ : promptCategory === " all-scenarios"
9091 ? getAllPrompts ( )
9192 : [ ] ;
9293
@@ -100,10 +101,10 @@ export function PromptsTab() {
100101 key = { category . id }
101102 onClick = { ( ) => setPromptCategory ( category . id ) }
102103 className = { cn (
103- ' flex items-center gap-2 px-3 py-2 text-sm rounded-md transition-colors text-left whitespace-nowrap flex-shrink-0' ,
104+ " flex items-center gap-2 px-3 py-2 text-sm rounded-md transition-colors text-left whitespace-nowrap flex-shrink-0" ,
104105 promptCategory === category . id
105- ? ' bg-primary text-primary-foreground'
106- : ' hover:bg-muted'
106+ ? " bg-primary text-primary-foreground"
107+ : " hover:bg-muted" ,
107108 ) }
108109 >
109110 { CATEGORY_ICONS [ category . id ] }
@@ -135,7 +136,7 @@ export function PromptsTab() {
135136 < PromptCard
136137 key = { index }
137138 prompt = { prompt }
138- showScenario = { promptCategory === ' all-scenarios' }
139+ showScenario = { promptCategory === " all-scenarios" }
139140 />
140141 ) ) }
141142 </ div >
@@ -160,12 +161,12 @@ function PromptCard({
160161 setCopied ( true ) ;
161162 setTimeout ( ( ) => setCopied ( false ) , 2000 ) ;
162163 } catch ( err ) {
163- console . error ( ' Failed to copy:' , err ) ;
164+ console . error ( " Failed to copy:" , err ) ;
164165 }
165166 } ;
166167
167168 const scenarioInfo =
168- showScenario && ' scenarioTitle' in prompt ? prompt : null ;
169+ showScenario && " scenarioTitle" in prompt ? prompt : null ;
169170
170171 return (
171172 < div className = "border rounded-lg overflow-hidden" >
0 commit comments