AGENT SKILL

dubbo-admin-store

Implements and reviews dubbo-admin resource storage and indexing changes. Use when the user asks about ResourceStore APIs, store routing, memory store behavior, index registration, IndexCondition, ListByIndexes, PageListByIndexes, ByMeshIndex, radix-tree prefix lookup, or pkg/core/store/, pkg/core/store/index/, and pkg/store/. Do not use for frontend, Console API, discovery, or engine tasks unless they require store or index changes.

使用场景前端开发
License 许可
Apache-2.0
所属仓库
apache/dubbo-admin
最近更新
2026-11-02
Stars
★ 4.1k
Forks
2.2k

01 前言 Front Matter

name
dubbo-admin-store
description
Implements and reviews dubbo-admin resource storage and indexing changes. Use when the user asks about ResourceStore APIs, store routing, memory store behavior, index registration, IndexCondition, ListByIndexes, PageListByIndexes, ByMeshIndex, radix-tree prefix lookup, or pkg/core/store/, pkg/core/store/index/, and pkg/store/. Do not use for frontend, Console API, discovery, or engine tasks unless they require store or index changes.

02 资源文件 2

03 SKILL.md 正文

dubbo-admin Store

Purpose

Use this skill to change or explain resource storage, indexes, query semantics, pagination, and prefix matching without breaking callers.

When to use

Use for ResourceStore, store routing, memory store internals, index definitions, equality or prefix query behavior, pagination, and query performance.

Do not use for a domain feature unless the feature requires store or index changes.

Inputs

Required:

  • Resource kind, index name, query path, or store package path.
  • Desired query behavior or bug.

Optional:

  • Caller in Console API, discovery, or engine.
  • Example resource keys and index values.

If missing, inspect the caller first, then follow into pkg/core/store/ or pkg/store/memory/.

Workflow

  1. Read pkg/core/store/store.go for the ResourceStore contract.
  2. Check store routing and lifecycle in pkg/core/store/component.go.
  3. Inspect memory behavior in pkg/store/memory/store.go.
  4. Check index registration in pkg/core/store/index/.
  5. Prefer existing IndexCondition operators before adding new APIs.
  6. Read references/indexing-and-query.md before changing query semantics.

Output format

Return resource kind, index conditions, expected keys or resources, caller impact, changed files, and validation commands.

Validation

  • Confirm ByMeshIndex is included when mesh scoping is required.
  • Confirm multiple index conditions intersect key sets.
  • Confirm prefix queries update radix trees on add, update, delete, and dynamic index additions.
  • Run go test ./pkg/store/memory ./pkg/core/store/... or make test.

Edge cases

  • Empty index conditions return no keys in memory store.
  • Missing indexes should return a clear error rather than silently scanning.
  • Store contract changes can affect Console API, discovery, and engine callers.

References

  • Read references/indexing-and-query.md for index registration and memory query behavior.

04 同仓库更多 Skills

apache
apache/dubbo-admin

dubbo-admin-runtime

Implements and reviews dubbo-admin runtime component changes. Use when the user asks about component abstraction, component composition, runtime bootstrap, dependency ordering, registration, lifecycle, startup, shutdown, runtime builder behavior, or pkg/core/runtime/ and pkg/core/bootstrap/. Do not use for discovery, engine, store, Console API, or frontend tasks unless component lifecycle or dependencies are affected.

前端开发
★ 4.1k
apache
apache/dubbo-admin

dubbo-admin-frontend

Implements and reviews dubbo-admin Vue 3 frontend changes. Use when the user asks about ui-vue3, Vue views or components, frontend routing, route metadata, API clients, Pinia stores, SearchDomain, i18n, layout tabs, traffic rule form design, frontend tests, or Vite, ESLint, and Prettier configuration. Do not use for Go backend internals unless coordinating an API contract with the frontend.

前端开发后端与接口
★ 4.1k
apache
apache/dubbo-admin

dubbo-admin-events

Implements and reviews dubbo-admin EventBus dispatching. Use when the user asks about Event, Emitter, Subscriber, SubscriptionManager, EventBus component registration, Subscribe or Unsubscribe behavior, Send dispatch rules, subscriber ProcessEvent flow, resource-kind based routing, or event error handling under pkg/core/events/. Do not use for a domain subscriber unless the task changes the event bus contract or dispatch semantics.

★ 4.1k
apache
apache/dubbo-admin

dubbo-admin-engine

Implements and reviews dubbo-admin resource engine changes. Use when the user asks about runtime infrastructure discovery, engine factories, Kubernetes or mock engine ListWatchers, RuntimeInstance informers, RuntimeInstanceEventSubscriber, engine leader election, or merging RuntimeInstance data into Instance resources under pkg/core/engine/ and pkg/engine/. Do not use for registry discovery unless the task concerns engine-sourced RuntimeInstance resources.

运维与部署
★ 4.1k
apache
apache/dubbo-admin

dubbo-admin-domain

Routes dubbo-admin architecture questions to the right domain skill. Use for cross-module questions, end-to-end flows, subsystem boundaries, or deciding whether runtime, discovery, engine, events, store, Console API, or frontend guidance applies. Prefer a narrower dubbo-admin-* skill when the request clearly targets one subsystem.

前端开发
★ 4.1k
apache
apache/dubbo-admin

dubbo-admin-discovery

Implements and reviews dubbo-admin registry discovery changes. Use when the user asks about Zookeeper or Nacos discovery, ListAndWatch, informers, discovery factories, discovery subscribers, ServiceProviderMetadata or ServiceConsumerMetadata processing, or Application, Service, RPCInstance, and Instance derivation under pkg/core/discovery/ and pkg/core/controller/. Do not use for engine-sourced RuntimeInstance behavior.

★ 4.1k