frontend-dashboard
Operates Airweave's React dashboard: auth, organization context, API client behavior, collections, search UI, billing/admin pages, webhooks, auth providers, usage gates, and cron utilities.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- frontend-dashboard
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Operates Airweave's React dashboard: auth, organization context, API client behavior, collections, search UI, billing/admin pages, webhooks, auth providers, usage gates, and cron utilities.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/api-client.md6.3 KB
- 参考文档references/collections-and-orgs.md11.6 KB
- 参考文档references/search-ui.md6.1 KB
- 参考文档references/troubleshooting.md11.3 KB
03 SKILL.md 正文
Frontend Dashboard
Use this sub-skill when an Airweave task touches the React/Vite dashboard, user-facing app routes, dashboard API calls, auth state, organization switching, search UI, collection pages, billing/admin screens, webhooks, auth providers, usage gating, or cron schedule display utilities.
Route to the right reference
- Read references/api-client.md before changing API calls, auth token handling, request headers, SSE/fetch behavior, or organization auto-switching.
- Read references/search-ui.md before changing dashboard search tiers, filters, streamed agentic search traces, result rendering, or API-code snippets.
- Read references/collections-and-orgs.md before changing dashboard collection pages, organization state, billing/admin routes, webhooks, auth-provider pages, browse-tree UI, usage checks, or cron parser behavior.
- Read references/troubleshooting.md when diagnosing auth-disabled dev mode, Auth0 setup, stale organization context, usage/billing gates, search errors, OAuth callback state, admin hazards, or frontend build/test failures.
- Cross-link to sibling backend-api for endpoint schemas, request/response shapes, auth/header semantics, search route contracts, source-connection OAuth behavior, and webhook payload semantics.
Operating rules
- Use the shared
apiClientfor dashboard API calls. Endpoint strings should be root-relative, such as/collections, not/api/v1/collections. - Preserve the auth-token provider lifecycle: the app wires
AuthContextintoapiClient, queues requests until auth is ready, and retries once after401or403by clearing the cached token. - Preserve organization context.
X-Organization-IDcomes from the current organization store; successfulGETresponses with a different accessibleorganization_idcan auto-switch the active organization and clear organization-scoped caches. Mutations must not auto-switch. - Treat usage checks as user-facing gates, not backend authorization. Buttons/search tiers can be disabled from cached
/usagechecks, but failed or missing checks default to allowed and the backend remains the source of truth. - Keep admin and billing flows explicit. Admin pages require
user.is_admin; sync delete/cancel/resync actions are destructive. Billing setup/portal routes redirect through backend-created Stripe sessions and should fail closed with toasts/navigation. - Keep Connect widget internals, MCP server internals, backend implementation details, and Monke orchestration out of this sub-skill. Route those to their sibling sub-skills.
Safe validation anchors
- Cron parser unit behavior is the safe native anchor: run from the frontend package with
npm test -- src/utils/cronParser.test.ts. - Later integration should add
npm run lintandnpm run buildfor dashboard-wide static/build coverage. - Do not introduce browser automation as a requirement for this sub-skill unless a later verification pass explicitly adds a frontend harness.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).