๐คฏ LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
๐งน chore(skills): audit pass โ normalize, dedupe, and fix project-overview (#15193)
Arvin Xu0fcc21895e25
diff --git a/.agents/skills/chat-sdk/SKILL.md b/.agents/skills/chat-sdk/SKILL.mdindex 4d10647059c..7a9f6c0d9c1 100644--- a/.agents/skills/chat-sdk/SKILL.md+++ b/.agents/skills/chat-sdk/SKILL.md@@ -1,13 +1,6 @@---name: chat-sdk-description: >- Build multi-platform chat bots with Chat SDK (`chat` npm package). Use when developers want to- (1) Build a Slack, Teams, Google Chat, Discord, GitHub, or Linear bot,- (2) Use the Chat SDK to handle mentions, messages, reactions, slash commands, cards, modals, or streaming,- (3) Set up webhook handlers for chat platforms,- (4) Send interactive cards or stream AI responses to chat platforms.- Triggers on "chat sdk", "chat bot", "slack bot", "teams bot", "discord bot", "@chat-adapter",- building bots that work across multiple chat platforms.+description: "Build multi-platform chat bots with the Chat SDK (`chat` npm package) โ Slack, Teams, Google Chat, Discord, GitHub, Linear. Use when building a chat bot, handling mentions / messages / reactions / slash commands / cards / modals / streaming, setting up a webhook handler, or sending interactive cards / streaming AI responses to a chat platform. Triggers on `@chat-adapter`, 'chat sdk', 'chat bot', 'slack bot', 'teams bot', 'discord bot', 'webhook handler', 'cross-platform bot'."user-invocable: false---diff --git a/.agents/skills/data-fetching/SKILL.md b/.agents/skills/data-fetching-architecture/SKILL.mdsimilarity index 97%rename from .agents/skills/data-fetching/SKILL.mdrename to .agents/skills/data-fetching-architecture/SKILL.mdindex baf38f92dfe..bf7764fb844 100644--- a/.agents/skills/data-fetching/SKILL.md+++ b/.agents/skills/data-fetching-architecture/SKILL.md@@ -1,6 +1,6 @@----name: data-fetching-description: Data fetching architecture guide using Service layer + Zustand Store + SWR. Use when implementing data fetching, creating services, working with store hooks, or migrating from useEffect. Triggers on data loading, API calls, service creation, or store data fetching tasks.+name: data-fetching-architecture+description: Standardized data-fetching pipeline guide โ Service layer + Zustand Store + SWR. Use when implementing a data-fetching feature, creating a `xxxService`, adding a `useFetchXxx` hook, wiring `useClientDataSWR`, or migrating ad-hoc `useEffect + fetch` to the standard pipeline. Triggers on `lambdaClient`, `useClientDataSWR`, `xxxService`, `useFetchXxx`, 'data fetching', 'fetch architecture', 'service layer', 'SWR hook', 'migrate useEffect'.user-invocable: false---diff --git a/.agents/skills/data-fetching/references/walkthrough.md b/.agents/skills/data-fetching-architecture/references/walkthrough.mdsimilarity index 100%rename from .agents/skills/data-fetching/references/walkthrough.mdrename to .agents/skills/data-fetching-architecture/references/walkthrough.mddiff --git a/.agents/skills/docs-changelog/SKILL.md b/.agents/skills/docs-changelog/SKILL.mdindex 75e3f72fe26..470f0cd5c5b 100644--- a/.agents/skills/docs-changelog/SKILL.md+++ b/.agents/skills/docs-changelog/SKILL.md@@ -1,6 +1,6 @@---name: docs-changelog-description: 'Writing guide for website changelog pages under docs/changelog/*.mdx. Use when creating or editing product update posts in EN/ZH. Not for GitHub Release notes.'+description: "Writing guide for website changelog pages under `docs/changelog/*.mdx` (NOT GitHub Release notes โ those live in the `version-release` skill). Use when creating or editing a product update post in EN/ZH. Triggers on `docs/changelog/*.mdx`, 'changelog post', 'product update post', 'add a changelog', 'ๆดๆฐๆฅๅฟ', 'changelog ๆๆก'."---# Docs Changelog Writing Guidediff --git a/.agents/skills/pr/SKILL.md b/.agents/skills/pr/SKILL.mdindex 9ce4aadab7c..51bc3648986 100644--- a/.agents/skills/pr/SKILL.md+++ b/.agents/skills/pr/SKILL.md@@ -1,6 +1,6 @@---name: pr-description: "Create a PR for the current branch. Use when the user asks to create a pull request, submit PR, or says 'pr'."+description: "Create a PR for the current branch (targets `canary` by default). Use when the user asks to create a pull request, submit a PR, or says 'pr'. Triggers on 'pr', 'create pr', 'submit pr', 'open a PR', 'pull request', 'ๆ PR', 'ๆไธช PR', 'ๆฐๅปบ PR'."user-invocable: true---diff --git a/.agents/skills/project-overview/SKILL.md b/.agents/skills/project-overview/SKILL.mdindex a9c52641b63..c306ef026ee 100644--- a/.agents/skills/project-overview/SKILL.md+++ b/.agents/skills/project-overview/SKILL.md@@ -1,6 +1,6 @@---name: project-overview-description: Complete project architecture and structure guide. Use when exploring the codebase, understanding project organization, finding files, or needing comprehensive architectural context. Triggers on architecture questions, directory navigation, or project overview needs.+description: "LobeHub open-source monorepo architecture map โ flat `apps/` + `packages/@lobechat/*` + `src/` layout, per-layer location table, and `src/business/` stubs that the cloud repo overrides. Use when exploring an unfamiliar part of the codebase, locating where a layer lives (store / service / router / schema / etc.), or onboarding to the monorepo. Triggers on 'where does X live', 'project structure', 'monorepo layout', `src/business/` stub, 'architecture overview', '้กน็ฎ็ปๆ', 'ๆถๆๆป่ง'."user-invocable: false---@@ -13,11 +13,12 @@ user-invocable: false## Project DescriptionOpen-source, modern-design AI Agent Workspace: **LobeHub** (previously LobeChat).+This repo is the **open-source root** (`github.com/lobehub/lobehub`, package `@lobehub/lobehub`).**Supported platforms:**- Web desktop/mobile-- Desktop (Electron)+- Desktop (Electron) โ `apps/desktop`- Mobile app (React Native) โ **separate repo, already launched** (not in this monorepo)**Logo emoji:** ๐คฏ@@ -47,30 +48,28 @@ Open-source, modern-design AI Agent Workspace: **LobeHub** (previously LobeChat)## Monorepo Layout-This is a monorepo extending the open-source `lobehub` submodule. Two repos:--- **cloud repo root** โ `src/` and `packages/business/` (`config`, `const`, `model-runtime`) hold cloud-only SaaS code that overrides/extends the submodule. See `AGENTS.md` for the override mechanism.-- **`lobehub/` submodule** โ the open-source product core.--### `lobehub/` submodule โ key directories+Flat layout โ `apps/`, `packages/`, and `src/` all sit at the repo root. No+git submodules.```-lobehub/+(repo root)โโโ apps/-โ โโโ cli/ # LobeHub CLI-โ โโโ desktop/ # Electron desktop app-โ โโโ device-gateway/ # Device gateway service-โโโ docs/ # changelog, development, self-hosting, usage-โโโ locales/ # en-US, zh-CN, ...-โโโ packages/ # ~80 @lobechat/* workspace packages โ `ls` for the full set. Key ones:-โ โโโ agent-runtime/ # Agent runtime+โ โโโ cli/ # LobeHub CLI+โ โโโ desktop/ # Electron desktop app+โ โโโ device-gateway/ # Device gateway service+โโโ docs/ # changelog, development, self-hosting, usage+โโโ locales/ # en-US, zh-CN, ...+โโโ packages/ # ~80 @lobechat/* workspace packages โ `ls` for the full set. Key ones:+โ โโโ agent-runtime/ # Agent runtime coreโ โโโ agent-signal/ # Agent Signal pipeline-โ โโโ builtin-tool-*/ # Builtin tool packages-โ โโโ builtin-tools/ # Builtin tool registries+โ โโโ agent-tracing/ # Tracing / snapshots+โ โโโ builtin-tool-*/ # Per-tool packages (calculator, web-browsing, claude-code, ...)+โ โโโ builtin-tools/ # Central registries that compose builtin-tool-*โ โโโ context-engine/โ โโโ database/ # src/{models,schemas,repositories}โ โโโ model-bank/ # Model definitions & provider cardsโ โโโ model-runtime/ # src/{core,providers}+โ โโโ business/ # Open-source stubs (config, const, model-bank, model-runtime) โ overridden by cloudโ โโโ types/โ โโโ utils/โโโ src/@@ -83,55 +82,54 @@ lobehub/โโโ spa/ # SPA entries + router configโ โโโ entry.{web,mobile,desktop,popup}.tsxโ โโโ router/- โโโ business/ # Open-source stubs (~50) overridden by cloud src/business/+ โโโ business/ # Open-source stubs (client/server) โ cloud repo provides real implsโโโ features/ # Domain business components- โโโ store/ # ~28 zustand stores โ `ls` for the full set- โโโ server/ # featureFlags, globalConfig, modules, routers, services+ โโโ store/ # ~30 zustand stores โ `ls` for the full set+ โโโ server/ # featureFlags, globalConfig, modules, routers, services, workflows, agent-honoโโโ ... # components, hooks, layout, libs, locales, services, types, utils```-### cloud repo โ key directories--```-(cloud root)-โโโ packages/business/ # Cloud overrides: config, const, model-runtime-โโโ src/-โ โโโ business/ # Cloud impls of submodule stubs (client/server/locales)-โ โโโ routes/ # Cloud-only route groups: (cloud)/, embed/-โ โโโ store/ # Cloud-only stores (e.g. subscription/)-โ โโโ server/ # Cloud routers & services (billing, budget, risk control...)-โ โโโ app/(backend)/cron/ # Vercel cron routes (schedules declared in root vercel.ts)-โโโ vercel.ts # Cron schedule declarations-```--> File search rule: a path like `@/store/x` resolves cloud `src/store/x` first, then-> `lobehub/packages/store/src/x`, then `lobehub/src/store/x`. Cloud override wins.-## Architecture Map-| Layer | Location |-| ---------------- | ---------------------------------------------------- |-| UI Components | `src/components`, `src/features` |-| SPA Pages | `src/routes/` |-| React Router | `src/spa/router/` |-| Global Providers | `src/layout` |-| Zustand Stores | `src/store` |-| Client Services | `src/services/` |-| REST API | `src/app/(backend)/webapi` |-| tRPC Routers | `src/server/routers/{async\|lambda\|mobile\|tools}` |-| Server Services | `src/server/services` (can access DB) |-| Server Modules | `src/server/modules` (no DB access) |-| Feature Flags | `src/server/featureFlags` |-| Global Config | `src/server/globalConfig` |-| DB Schema | `packages/database/src/schemas` |-| DB Model | `packages/database/src/models` |-| DB Repository | `packages/database/src/repositories` |-| Third-party | `src/libs` (analytics, oidc, etc.) |-| Builtin Tools | `src/tools`, `packages/builtin-tool-*` |-| Cloud-only | `src/business/*`, `packages/business/*` (cloud repo) |+| Layer | Location |+| ---------------- | --------------------------------------------------- |+| UI Components | `src/components`, `src/features` |+| SPA Pages | `src/routes/` |+| React Router | `src/spa/router/` |+| Global Providers | `src/layout` |+| Zustand Stores | `src/store` |+| Client Services | `src/services/` |+| REST API | `src/app/(backend)/webapi` |+| tRPC Routers | `src/server/routers/{async\|lambda\|mobile\|tools}` |+| Server Services | `src/server/services` (can access DB) |+| Server Modules | `src/server/modules` (no DB access) |+| Feature Flags | `src/server/featureFlags` |+| Global Config | `src/server/globalConfig` |+| DB Schema | `packages/database/src/schemas` |+| DB Model | `packages/database/src/models` |+| DB Repository | `packages/database/src/repositories` |+| Third-party | `src/libs` (analytics, oidc, etc.) |+| Builtin Tools | `packages/builtin-tool-*`, `packages/builtin-tools` |+| Open-source stub | `src/business/*`, `packages/business/*` (this repo) |## Data Flow```React UI โ Store Actions โ Client Service โ TRPC Lambda โ Server Services โ DB Model โ PostgreSQL```++## Note: Relationship to the Cloud Repo++This open-source repo is consumed by a **separate, private cloud (SaaS) repo**+as a git submodule mounted at `lobehub/`. The cloud repo provides:++- **`src/business/{client,server}`** and **`packages/business/*`** implementations+ that override the stubs shipped here.+- Cloud-only routes (e.g. `(cloud)/`, `embed/`), cloud-only stores (e.g.+ `subscription/`), cloud-only TRPC routers (billing, budget, risk control, โฆ),+ and Vercel cron routes under `src/app/(backend)/cron/`.+- File-resolution order in cloud: `@/store/x` โ cloud `src/store/x` first, then+ `lobehub/packages/store/src/x`, then `lobehub/src/store/x`. **Cloud override wins.**++When working in this repo alone, ignore the cloud layer โ the stubs in+`src/business/` and `packages/business/` are the source of truth here.diff --git a/.agents/skills/react/SKILL.md b/.agents/skills/react/SKILL.mdindex b180bc1a25f..29fbee9ac32 100644--- a/.agents/skills/react/SKILL.md+++ b/.agents/skills/react/SKILL.md@@ -1,6 +1,6 @@---name: react-description: 'Use when writing or editing any `.tsx` under `src/**`. Triggers: createStaticStyles, createStyles, cssVar, antd-style, Flexbox, Center, Select, Modal, Drawer, Button, Tooltip, DropdownMenu, Popover, Switch, ScrollArea, Link, useNavigate, react-router-dom, next/link, desktopRouter, componentMap.desktop, .desktop.tsx, new component, new page, edit layout, add styles, zustand selector, @lobehub/ui, antd import.'+description: "LobeHub React component conventions โ styling via `antd-style` `createStaticStyles` + `cssVar.*` (zero-runtime preferred over `createStyles` + `token`), `@lobehub/ui` over antd when both exist, routing via `react-router-dom` (not `next/link`). Use when writing or editing any `.tsx` under `src/**`. Triggers on `createStaticStyles`, `createStyles`, `cssVar`, `antd-style`, `Flexbox`, `Center`, `Select`, `Modal`, `Drawer`, `Button`, `Tooltip`, `DropdownMenu`, `Popover`, `Switch`, `ScrollArea`, `Link`, `useNavigate`, `react-router-dom`, `next/link`, `desktopRouter`, `componentMap.desktop`, `.desktop.tsx`, 'new component', 'new page', 'edit layout', 'add styles', 'zustand selector', '@lobehub/ui', 'antd import'."user-invocable: false---diff --git a/.agents/skills/review-checklist/SKILL.md b/.agents/skills/review-checklist/SKILL.mdindex 4fcb3b4d163..3b902cb5bc8 100644--- a/.agents/skills/review-checklist/SKILL.md+++ b/.agents/skills/review-checklist/SKILL.md@@ -1,6 +1,6 @@---name: review-checklist-description: 'Common recurring mistakes in LobeHub code review โ console leftovers, missing return await, hardcoded secrets, hardcoded i18n strings, desktop router pair drift, antd vs @lobehub/ui, non-idempotent migrations, cloud impact red flags. Use as a quick checklist when reviewing PRs, diffs, or branch changes.'+description: "Common recurring mistakes in LobeHub code review โ `console.*` leftovers, missing `return await`, hardcoded secrets, hardcoded i18n strings, desktop router pair drift, antd vs `@lobehub/ui`, non-idempotent migrations, cloud impact red flags. Use as a quick checklist when reviewing a PR, diff, or branch change. Triggers on 'code review', 'review the diff', 'review this PR', 'review changes', 'PR review checklist', 'ๅฎกไธไธ', 'ๅฎก PR'."user-invocable: false---diff --git a/.agents/skills/skills-audit/SKILL.md b/.agents/skills/skills-audit/SKILL.mdnew file mode 100644index 00000000000..ca8867615e4--- /dev/null+++ b/.agents/skills/skills-audit/SKILL.md@@ -0,0 +1,142 @@+---+name: skills-audit+description: Weekly audit of `.agents/skills/*/SKILL.md` โ surfaces duplicate / overlapping / stale skills, inconsistent descriptions, broken cross-references, and merge/delete candidates. Run as a recurring health-check, not during normal feature work.+disable-model-invocation: true+argument-hint: '[--verbose | --apply]'+---++# Skills Audit++Periodic review of the project-local skill set under `.agents/skills/`. The goal is to catch drift before the catalog becomes confusing โ too many skills, overlapping triggers, descriptions that no longer match the body, references to skills that were renamed/deleted.++**Recommended cadence:** weekly, or after any week where >1 skill was added/renamed.++## Procedure++### 1 โ Inventory++Build a fresh census of all SKILL.md files. Do NOT trust any prior cached list.++```bash+find .agents/skills -name SKILL.md | wc -l # total count+find .agents/skills -name SKILL.md -exec wc -l {} \; | sort -rn # by body length+```++Group by domain in a mental table (DB / state / UI / agent / testing / workflow / docs / etc.). Note new arrivals since last audit (`git log --since="1 week ago" -- .agents/skills/`).++### 2 โ Pull frontmatter for all skills++```bash+# Extract name + description for each SKILL.md+for f in .agents/skills/*/SKILL.md; do+ echo "=== $(basename $(dirname $f)) ==="+ awk '/^---$/{c++; next} c==1' "$f" | head -20+done+```++Read the description block of every skill. The body can stay unread unless step 4 flags it.++### 3 โ Detect overlap / redundancy++For each pair within the same domain, ask:++- **Same description**? โ likely duplicate (one is probably a stale rename leftover, or a global-vs-local collision).+- **Trigger keywords substantially overlap**? โ either merge, OR tighten one description so the model can choose unambiguously.+- **One skill's body says "see also: foo"**? โ confirm `foo` still exists, AND confirm the cross-reference is still meaningful (the referenced skill may have absorbed the referrer's concerns).+- **Skill duplicates content from `AGENTS.md`**? โ fold into AGENTS.md or slim the skill to just the delta.++Common false positives (do NOT merge):++- `db-migrations` vs `drizzle` โ distinct workflows (migration files vs schema authoring).+- `microcopy` vs `i18n` โ content vs mechanics.+- `agent-runtime-hooks` vs `agent-tracing` vs `agent-signal` โ different surfaces of the agent system.+- `testing` vs `local-testing` vs `cli-backend-testing` โ different test types.++### 4 โ Description format consistency++Apply the **standard template**:++```+{Topic + key conventions or scope}. Use when {scenarios โ verbs + nouns}. Triggers on {`code-symbols`, 'natural phrases', 'ไธญๆ'}.+```++Skills with `disable-model-invocation: true` (user-invoked only, slash commands) don't need `Triggers on` โ they're never auto-routed.++Flag descriptions that:++- โ Have NO `Use when` clause (model can't decide when to load it).+- โ Have NO `Triggers on` clause (and aren't `disable-model-invocation`).+- โ Use weird formats (numbered lists `(1)(2)(3)`, `Triggers:` colon instead of `Triggers on`, `MUST use when ...` as opening word).+- โ Are dramatically terse for a 200+ line body, or dramatically verbose for a 60-line body.+- โ Reference deleted/renamed skills.++### 5 โ Stale-skill check++For narrow domain skills (e.g. `response-compliance`, one-off CLI workflows):++```bash+# Confirm the referenced code surface still exists+rg -l "response-compliance|openresponses" packages/ src/ # adjust per skill+git log --since="3 months ago" -- .agents/skills/ < skill > /SKILL.md # is it being maintained?+```++If the underlying surface is gone and the skill hasn't been edited in 3+ months โ flag for archival.++### 6 โ Cross-reference integrity++Any skill body mentioning another skill by name:++```bash+# Scan all skill bodies for skill-name references+rg -o '`[a-z][a-z0-9-]+`' .agents/skills/*/SKILL.md | grep -v ':\s*$' | sort -u+```++For each name extracted, confirm `.agents/skills/<name>/SKILL.md` exists. Broken references happen after renames โ fix them in the same audit pass.++### 7 โ Output report++Produce a markdown summary back to the user with the same structure as the original audit (this skill was created during one):++```markdown+## ๐ Inventory++{count, domain breakdown}++## ๐ฏ Recommendations++### ๐ด High confidence++- {action} โ {reason}++### ๐ก Medium confidence++- {action} โ {reason needs verification}++### ๐ข Low confidence / no-op++- {item considered but skipping because ...}++## ๐ Suggested order++{table of actions with risk + LOC estimate}+```++End by asking the user which actions to apply โ do NOT auto-apply unless the user passed `--apply` and even then confirm destructive deletes individually.++## Output rules++- Be specific. "Skill X overlaps with Y" is useless without naming the overlapping triggers.+- Cite line numbers when flagging description / body issues.+- Don't recommend merges unless the call sites would actually load the merged skill in the same context.+- Don't recommend deletes for skills that haven't been touched recently โ "unused" can mean "stable", not "dead".++## What NOT to do++- โ Don't rename skill directories without checking for cross-references AND user memory entries that name the old slug.+- โ Don't normalize a description by removing trigger keywords just to fit the template โ the keywords are the routing signal.+- โ Don't fold a heavy 200+ line skill into another just because they share a domain โ large skills get loaded selectively and merging makes everything load.+- โ Don't propose `.agents/skills/INDEX.md` or `<domain>-<skill>` prefix renames unless the user explicitly asks โ costs > benefits for cosmetic reorgs.++## Related history++- First audit: `chore/skills-audit` branch (2026-05-25) โ deleted `source-command-dedupe`, renamed `data-fetching` โ `data-fetching-architecture`, normalized 9 descriptions, created this skill.diff --git a/.agents/skills/source-command-dedupe/SKILL.md b/.agents/skills/source-command-dedupe/SKILL.mddeleted file mode 100644index 53fc966c7e9..00000000000--- a/.agents/skills/source-command-dedupe/SKILL.md+++ /dev/null@@ -1,44 +0,0 @@-----name: 'source-command-dedupe'-description: 'Find duplicate GitHub issues'------# source-command-dedupe--Use this skill when the user asks to run the migrated source command `dedupe`.--## Command Template--Find up to 3 likely duplicate issues for a given GitHub issue.--To do this, follow these steps precisely:--1. Use an agent to check if the Github issue (a) is closed, (b) does not need to be deduped (eg. because it is broad product feedback without a specific solution, or positive feedback), or (c) already has a duplicates comment that you made earlier. If so, do not proceed.-2. Use an agent to view a Github issue, and ask the agent to return a summary of the issue-3. Then, launch 5 parallel agents to search Github for duplicates of this issue, using diverse keywords and search approaches, using the summary from #1-4. Next, feed the results from #1 and #2 into another agent, so that it can filter out false positives, that are likely not actually duplicates of the original issue. If there are no duplicates remaining, do not proceed.-5. Finally, comment back on the issue with a list of up to three duplicate issues (or zero, if there are no likely duplicates)--Notes (be sure to tell this to your agents, too):--- Use `gh` to interact with Github, rather than web fetch-- Do not use other tools, beyond `gh` (eg. don't use other MCP servers, file edit, etc.)-- Make a todo list first-- For your comment, follow the following format precisely (assuming for this example that you found 3 suspected duplicates):-------Found 3 possible duplicate issues:--1. <link to issue>-2. <link to issue>-3. <link to issue>--This issue will be automatically closed as a duplicate in 3 days.--- If your issue is a duplicate, please close it and ๐ the existing issue instead-- To prevent auto-closure, add a comment or ๐ this comment--> ๐ค Generated with Codex-----diff --git a/.agents/skills/spa-routes/SKILL.md b/.agents/skills/spa-routes/SKILL.mdindex dc6fcf80aca..2ceabd21b81 100644--- a/.agents/skills/spa-routes/SKILL.md+++ b/.agents/skills/spa-routes/SKILL.md@@ -1,6 +1,6 @@---name: spa-routes-description: MUST use when editing src/routes/ segments, src/spa/router/desktopRouter.config.tsx or desktopRouter.config.desktop.tsx (always change both together), mobileRouter.config.tsx, or when moving UI/logic between routes and src/features/.+description: "SPA roots-vs-features split for LobeHub โ thin route segments under `src/routes/` delegate to domain components under `src/features/`. Use when editing `src/routes/` segments, `src/spa/router/desktopRouter.config.tsx` or `desktopRouter.config.desktop.tsx` (MUST update both together โ `desktopRouter.sync.test.tsx` enforces this), `mobileRouter.config.tsx`, `popupRouter.config.tsx`, or moving UI/logic between `routes/` and `features/`. Triggers on `desktopRouter.config`, `mobileRouter.config`, `popupRouter.config`, `src/routes/**`, `src/features/**`, 'add a route', 'new page', 'route segment', '่ทฏ็ฑ'."user-invocable: false---diff --git a/.agents/skills/store-data-structures/SKILL.md b/.agents/skills/store-data-structures/SKILL.mdindex c1d74284046..e09aab9c392 100644--- a/.agents/skills/store-data-structures/SKILL.md+++ b/.agents/skills/store-data-structures/SKILL.md@@ -1,6 +1,6 @@---name: store-data-structures-description: Zustand store data structure patterns for LobeHub. Covers List vs Detail data structures, Map + Reducer patterns, type definitions, and when to use each pattern. Use when designing store state, choosing data structures, or implementing list/detail pages.+description: "Zustand store data-shape patterns for LobeHub โ List vs Detail split, Map + Reducer, type definitions sourced from `@lobechat/types` (not `@lobechat/database`). Use when designing store state, choosing between Array (list) and `Record<string, Detail>` (detail map), or implementing a list/detail page pair. Triggers on `messagesMap`, `topicsMap`, `Record<string, Detail>`, 'list vs detail', 'store data shape', 'normalize state', 'state structure'."user-invocable: false---@@ -310,5 +310,5 @@ export interface BenchmarkListItem {## Related Skills-- `data-fetching` โ how to fetch and update this data+- `data-fetching-architecture` โ how to fetch and update this data- `zustand` โ general Zustand patternsdiff --git a/.agents/skills/upstash-workflow/SKILL.md b/.agents/skills/upstash-workflow/SKILL.mdindex 0f31321093e..6f80f04c220 100644--- a/.agents/skills/upstash-workflow/SKILL.md+++ b/.agents/skills/upstash-workflow/SKILL.md@@ -1,6 +1,6 @@---name: upstash-workflow-description: 'Upstash Workflow implementation guide. Use when creating async workflows with QStash, implementing fan-out patterns, or building 3-layer workflow architecture (process โ paginate โ execute).'+description: "Upstash Workflow + QStash implementation guide for LobeHub โ 3-layer architecture (process โ paginate โ execute), fan-out patterns. Use when creating an async workflow, implementing fan-out (paginate โ execute), or wiring `serve()` + `context.run` / `context.call` steps. Triggers on `serve()`, `context.run`, `context.call`, `context.sleep`, `qstash`, 'async workflow', 'fan-out workflow', 'QStash workflow'."user-invocable: false---