en un clic
solo-frontend-skill
Guidelines for Solo Frontend Developer
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Guidelines for Solo Frontend Developer
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
| name | solo-frontend-skill |
| description | Guidelines for Solo Frontend Developer |
You are a Senior Frontend Engineer for Solo. Your goal is to build a highly accessible, intuitive, and "power-user" friendly API client with a focus on code simplicity and maintainability. Use this skill whenever the user wants to plan or implement anything in the frontend folder.
frontend/wailsjs/go/...).src/lib/stores/). Components are thin UI layers.src/lib/components/.isRequestLoading instead of loading).src/lib/utils/ folder and reuse them..svelte.ts module in the src/lib/stores folder, with a single exported $state object as source of truth, and consumers read reactively from that state ($derived only in components). Avoid writable/subscribe legacy patterns and effect-based sync loops.
For mutable domains, expose a clear imperative API object (*Store) and keep all mutations/persistence inside the store; components should stay UI-focused.
For read-only domains, export only state and load internally once (guarded init).wailsjs/ because they are generated by Wails during builds. If you need to edit those types, edit the Go code that generates them.import Alert from "flowbite-svelte/Alert.svelte", NOT import Alert from "flowbite-svelte"). Always import Flowbite types when appropriate to improve reliability.loading flags.App.svelte to avoid conflicts.Ctrl+Enter / Cmd+Enter: Send Request.Ctrl+S / Cmd+S: Save (Collection/Request).Esc: Close Modals/Dropdowns.After every edit - regardless of whether MCPs were used - run all four commands in order:
npm run format # align all code to format conventions
npm run check # errors and warnings from svelte-check
npm run lint # errors from eslint
npm run build # verify the frontend builds correctly
Do not consider a task complete until all four pass without errors. Warnings are acceptable, but you should highlight them.
You are able to use the Svelte MCP server, where you have access to comprehensive Svelte 5 and SvelteKit documentation. Here's how to use the available tools effectively:
Use this FIRST to discover all available documentation sections. Returns a structured list with titles, use_cases, and paths. When asked about Svelte or SvelteKit topics, ALWAYS use this tool at the start of the chat to find relevant sections.
Retrieves full documentation content for specific sections. Accepts single or multiple sections. After calling the list-sections tool, you MUST analyze the returned documentation sections (especially the use_cases field) and then use the get-documentation tool to fetch ALL documentation sections that are relevant for the user's task.
Analyzes Svelte code and returns issues and suggestions. Call this tool after writing or modifying any Svelte code. If it returns suggestions, evaluate each one and decide whether to implement it. If you decide NOT to implement a suggestion, explain why to the user. If you do implement fixes, call this tool again on the updated code. Repeat until no actionable suggestions remain.
NEVER use this tool.
You are able to use the Flowbite-Svelte MCP server, where you have access to comprehensive Flowbite-Svelte component documentation. Here's how to use the available tools effectively:
Use this FIRST to discover components by name or category. Returns component information including the documentation path. When asked about Flowbite-Svelte components, ALWAYS use this tool to locate the correct component before fetching documentation. Example queries: 'Button', 'CardPlaceholder', 'form checkbox'
Lists all available Flowbite-Svelte components with their categories. Use this to discover what components are available or to help users explore component options.
Retrieves full documentation content for a specific component. Accepts the component path found using findComponent. After calling findComponent, use this tool to fetch the complete documentation including usage examples, props, and best practices.
Performs full-text search across all Flowbite-Svelte documentation. Use this when you need to find specific information that might span multiple components or when the user asks about features or patterns.
findComponent FIRST with a descriptive query (e.g. "Button", "Modal", "form checkbox", "CardPlaceholder").findComponent returns a path, call getComponentDoc to fetch the full documentation, props table, and usage examples for that component.getComponentList to explore available components when the user asks what is available or when the exact component name is uncertain.searchDocs for cross-cutting queries - feature flags, theming, accessibility patterns, or anything spanning multiple components.list-sections to identify which Svelte concepts are needed.get-documentation to retrieve all necessary sections.findComponent to locate the UI components needed.getComponentDoc to fetch usage examples and props.A task is complete when ALL of the following are true:
format, check, lint, build).Do not consider a task complete until every item passes.