Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lov-app-professional-design

БесплатноЗапускает вложенные скриптыНе проверен

为桌面、Web 与移动应用诊断并落地商业级性能架构,覆盖启动初始化、前后端职责、增量数据桥、缓存失效和受控并发;当用户说“按商业产品优化这个应用”“页面切换又重新加载”或 "design a production-grade app performance architecture" 时使用。

lovstudioот lovstudio★ 72 звезды на GitHub

Об этом скилле

性能架构师 · Performance Architect

Turn an application's slow, restart-prone, or poorly divided data path into a measured production architecture and implement the repair. Treat responsiveness, resource use, lifecycle ownership, recovery, and freshness as one system.

Triggers

Activate when

  • 用户说“把这个应用按商业级产品做性能架构设计”或“系统性优化初始化、数据加载和并发”。
  • 用户说“页面切换又重新加载”“前端被后端任务卡住了”或“列表要实时增量更新”。
  • 用户希望审查前端、bridge、后端线程、数据库和缓存之间的职责划分并直接修复。
  • The user asks to “design a production-grade app performance architecture”.
  • The user asks to “make this desktop app load incrementally without blocking the UI”.

Do not activate when

  • 只调整颜色、排版、动效或视觉层级;使用前端设计能力。
  • 只处理一个已有明确根因、没有生命周期或跨层设计影响的小型缺陷;使用常规调试流程。
  • 只治理 Tauri 命令数量、Rust 热重载或 lib.rs 拆分;使用 lov-optimize-tauri-backend。
  • 用户只要求架构选型、成本比较或新系统方案,尚未进入现有应用性能设计;使用 solution architecture 能力。

Required references

  • Always read $SKILL_DIR/references/architecture-playbook.md before proposing or changing architecture.
  • For IPC, native bridge, high-volume lists, polling, subscriptions, or streaming, also read $SKILL_DIR/references/bridge-and-streaming.md.
  • For worker pools, threads, processes, database parallelism, or CPU budgeting, also read $SKILL_DIR/references/concurrency-and-capacity.md.
  • Before declaring completion, read and apply $SKILL_DIR/references/validation-checklist.md.

Operating principles

  1. Measure the real path. Inspect the running build, current branch, active process, representative data size, and actual hot path before attributing cost.
  2. Own work at the right lifetime. App-, account-, workspace-, database-, page-, and request-scoped work are different. A page must not own a durable domain job merely because it displays the result.
  3. Place work by responsibility, not fashion. UI code subscribes, renders, owns ephemeral interaction state, and performs cheap view-local derivation. Authoritative data access and shared or heavy work belong in a domain runtime or bounded background execution. Do not move everything to either side.
  4. Make freshness explicit. Cache identity, source fingerprint, generation, sequence, invalidation, and recovery are part of the protocol, not incidental component state.
  5. Stream usable progress. Prefer cached-first snapshots and bounded batches over an empty screen followed by one giant payload.
  6. Bound concurrency. More tasks, threads, queries, watchers, and processes are not automatically faster. Every queue needs a capacity and overload rule.
  7. Preserve a coherent snapshot. During refresh, keep the last complete view unless partial replacement is itself the product contract.
  8. Prove user-visible improvement. Compilation and unit tests are necessary evidence, but interaction latency, cold/warm startup, large-data behavior, and lifecycle regressions decide completion.

Workflow (MANDATORY)

Step 0: Resolve instructions and scope

  1. Read repository-level agent instructions and the required references above.
  2. Preserve unrelated working-tree changes and identify the actual integration branch.
  3. Determine whether the request is diagnosis-only or change-oriented. A reported performance defect normally includes implementation unless the user explicitly asks only for a review or report.
  4. Identify supported platforms and the real runtime currently under test.

Do not begin with a generic rewrite plan. Start from the failing interaction or measured hot path supplied by the user.

Step 1: Establish the runtime truth

Collect evidence proportionate to the problem:

  • running binary/version versus repository commit and worktree;
  • cold start, warm start, page revisit, account/workspace switch, and app resume;
  • representative and worst-case data volume;
  • main-thread long tasks or event-loop lag;
  • backend CPU, memory, I/O, query count, subprocess count, and queue depth;
  • bridge call frequency, payload size, serialization cost, and dropped/stale events;
  • the code path that starts, cancels, retries, caches, and invalidates the work.

Record observed facts separately from inferences. If full profiling is expensive, instrument the smallest decisive path and leave copyable diagnostics useful for the next run.

Step 2: Draw the ownership and lifecycle map

For every expensive job or shared dataset, write a compact matrix:

Concern Owner Lifetime/identity Start Invalidate Consumer
Example index backend supervisor database snapshot app bootstrap source fingerprint changes search views

Classify each item as app-, session-, account-, workspace-, database-, page-, or request-scoped. Flag these mismatches immediately:

  • page mount starts app-scoped initialization;
  • component unmount cancels a shared domain job;
  • backend work is repeated for each subscriber;
  • frontend stores authoritative large datasets or scans storage directly;
  • file events force full reloads without source
Полный SKILL.md на GitHub

Установить lov-app-professional-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignoreCHANGELOG.mdLICENSEREADME.mdreferences/architecture-playbook.mdreferences/bridge-and-streaming.mdreferences/concurrency-and-capacity.mdreferences/validation-checklist.mdscripts/validate_skill.pyskill.yaml

FAQ

Что делает скилл lov-app-professional-design?

为桌面、Web 与移动应用诊断并落地商业级性能架构,覆盖启动初始化、前后端职责、增量数据桥、缓存失效和受控并发;当用户说“按商业产品优化这个应用”“页面切换又重新加载”或 "design a production-grade app performance architecture" 时使用。

Как установить скилл lov-app-professional-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lov-app-professional-design запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить lov-app-professional-design с