Agent Skillsluxury-yacht/app › browse-tables

browse-tables

GitHub

提供浏览和表格组件的开发指南,涵盖视图编辑、共享行为及大数据架构,指导任务分级、数据所有权追溯、工作流执行及前后端测试验证。

.agents/skills/browse-tables/SKILL.md luxury-yacht/app

触发场景

修改表格列或交互逻辑 调整共享GridTable行为 处理大数据量分页与查询 涉及Browse目录或集群视图变更

安装

npx skills add luxury-yacht/app --skill browse-tables -g -y
更多选项

非标准路径

npx skills add https://github.com/luxury-yacht/app/tree/main/.agents/skills/browse-tables -g -y

不安装直接使用

npx skills use luxury-yacht/app@browse-tables

指定 Agent (Claude Code)

npx skills add luxury-yacht/app --skill browse-tables -a claude-code -g -y

安装 repo 全部 skill

npx skills add luxury-yacht/app --all -g -y

预览 repo 内 skill

npx skills add luxury-yacht/app --list

SKILL.md

Frontmatter
{
    "name": "browse-tables",
    "description": "Change cluster or namespace views, Browse\/catalog surfaces, shared GridTable behavior, filters, pagination, large datasets, metrics columns, or refresh-backed resource tables"
}

Browse and Tables

Classify the table task before loading broad table architecture.

Task tiers

  1. Narrow view edit: one column, interaction, empty state, or local filter. Inspect its row producer, identity, persistence, and adjacent tests; do not inventory unrelated tables.
  2. Shared table behavior: GridTable, resource-table controller, adapters, persistence, shared filtering/sorting/pagination, identity, or columns. Inventory affected usages and read docs/frontend/gridtable.md plus table modes.
  3. Architecture or large-data behavior: query ownership, global semantics, pagination/windowing, caps, dynamic metrics, export, or select-all. Inventory every production resource-table usage, read docs/architecture/large-data.md, and use table modes.

Use docs/architecture/catalog.md for discovery/Browse changes, docs/architecture/refresh-system.md for snapshot/stream contracts, docs/frontend/live-age.md for age behavior, and docs/architecture/resource-metrics.md for CPU/memory/utilization. Read only the contracts selected by the change.

Ownership

  • The object catalog owns discovery, existence, canonical identity, Browse namespace metadata, and cluster listings. The namespaces refresh domain owns namespace LIST rows.
  • Typed list/table data comes from refresh snapshots and, when applicable, matching resource-stream projections.
  • Frontend reads use data access or refresh orchestration. Resource tables render through ResourceInventoryTable with boundedRowsSource or backendQuerySource; do not add a third source shape.
  • Shared GridTable and column factories own common rendering behavior.
  • Row actions and navigation use concrete full object references.

Workflow

  1. Trace backend producer, scope, cap/truncation, permission behavior, cache or query owner, stream parity, and every consumer assumption.
  2. Classify the table mode. For tier 2/3 work, use the definitions and inventory in table modes.
  3. For broad work, create or update docs/plans/<topic>.md; move durable results into the owning architecture/frontend doc when finished.
  4. Write the failing contract test before changing global table semantics.
  5. Keep counts, facets, sorting, export, selection, and actions consistent with the table's actual completeness.

Focused checks

mise exec -- go test ./backend/objectcatalog ./backend/refresh/snapshot ./backend/refresh/system
mise exec -- npm run test --prefix frontend -- browse tables cluster namespace
mise exec -- npm run typecheck --prefix frontend

For broad shared-table changes, also run mise exec -- wails3 task qc:knip and add a static/contract test preventing unclassified production resource-table usage. Then follow the root final validation gate.

版本历史

  • ee846a6 当前 2026-08-20 13:01

同 Skill 集合

.agents/skills/add-resource/SKILL.md
.agents/skills/app-review/SKILL.md
.agents/skills/app-shell/SKILL.md
.agents/skills/branch-review/SKILL.md
.agents/skills/cluster-auth-lifecycle/SKILL.md
.agents/skills/draft-release-notes/SKILL.md
.agents/skills/improve-backend/SKILL.md
.agents/skills/improve-frontend/SKILL.md
.agents/skills/make-impossible-states-impossible/SKILL.md
.agents/skills/new-story/SKILL.md
.agents/skills/object-map/SKILL.md
.agents/skills/object-panel/SKILL.md
.agents/skills/operations-workflows/SKILL.md
.agents/skills/permissions-capabilities/SKILL.md
.agents/skills/refresh-subsystem/SKILL.md
.agents/skills/shared-resource-model/SKILL.md

元信息

文件数
0
版本
6f0d98f
Hash
5e164bac
收录时间
2026-08-20 13:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 10:36
浙ICP备14020137号-1 $访客地图$