Skip to content
Back to skills

Voly Frontend

ASecurity

Guide for working on VOLY Svelte 5 UI — components, API client, styling. Use this skill for any frontend changes in ui/.

  • 19 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 26, 2026
ai-agentsbashapifrontendbackenddocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 26, 2026

npx -y skills add voly-codes/voly --skill voly-frontend --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Voly Frontend?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Voly Frontend
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/voly-codes-voly-frontend/badge)](https://www.skillsdirectory.com/skills/voly-codes-voly-frontend)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: voly-frontend
description: Guide for working on VOLY Svelte 5 UI — components, API client, styling. Use this skill for any frontend changes in ui/.
---

# VOLY Frontend Development Skill

## Before writing any code — read

| Меняешь | Прочитай |
|---|---|
| Компоненты / структура | `docs/frontend/overview.md` + `docs/frontend/components.md` |
| API вызовы / SSE | `docs/frontend/api-client.md` |
| Новый executor в UI | `docs/frontend/components.md` → "Добавить новый executor" |

## Svelte 5 rules (этот проект использует runes)

```svelte
<!-- ПРАВИЛЬНО — Svelte 5 -->
let { value = $bindable('') } = $props()
let count = $state(0)
let doubled = $derived(count * 2)

<!-- НЕПРАВИЛЬНО — Svelte 4, не использовать -->
export let value = ''
import { createEventDispatcher } from 'svelte'
```

## Styling rules

- Только CSS custom properties из `app.css` — не хардкодить цвета
- `var(--bg-surface)`, `var(--text-primary)`, `var(--border-default)`, `var(--accent-blue)`
- Размеры в px (не rem/em) — проект использует px
- `<style>` блок в каждом компоненте — локальные стили

## Component rules

- Файлы > 200 строк → разбить на подкомпоненты
- Нет business logic в компонентах — только UI
- API вызовы только в top-level компонентах (RunPanel, TaskSidebar)
- Shared компоненты — в `lib/components/shared/`

## Dev flow

```bash
cd ui
npm run dev     # Vite dev server на :5173
# В другом терминале:
voly serve   # backend на :7860
```

Vite проксирует `/api/*` → `localhost:7860` (см. `vite.config.js`).

## Build

```bash
cd ui && npm run build
# Output: voly/web/static/assets/ — НЕ коммитить
```

## Adding executor to UI

1. `RunPanel.svelte` — добавить `{ id: 'my-exec', label: 'My Executor' }` в `executors` массив
   - File-writing executors идут ПЕРЕД text-only
2. `RunParams.svelte` — добавить в `executorHints`:
   ```js
   'my-exec': 'Описание что делает executor'
   ```
3. Обновить `docs/frontend/components.md`

## Documentation requirement (MANDATORY)

После любого изменения:

| Что изменил | Обнови |
|---|---|
| Компонент (добавил/изменил API) | `docs/frontend/components.md` |
| API вызов / SSE формат | `docs/frontend/api-client.md` |
| Структура проекта / стек | `docs/frontend/overview.md` |

## Completion report

После завершения задачи создай отчёт: `/voly-report`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.