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.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 4.1k
- Forks
- 2.2k
01 前言 Front Matter
- name
- dubbo-admin-runtime
- description
- 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.
02 资源文件 9
- 参考文档evals/evals.json1.2 KB
- 参考文档README.md6.6 KB
- 参考文档references/bootstrap-flow.md3.8 KB
- 参考文档references/component-contracts.md4.0 KB
- 参考文档references/dependency-graph.md2.9 KB
- 参考文档references/examples.md10.8 KB
- 参考文档references/markdown-memes-guide.md23.4 KB
- 参考文档references/runtime-start.md2.8 KB
- 脚本scripts/meme_generator.py8.1 KB
03 SKILL.md 正文
dubbo-admin Runtime
Purpose
Use this skill to change or explain component abstraction, dependency composition, bootstrap order, activation, and runtime startup behavior.
When to use
Use for component interfaces, RequiredDependencies, Order, RegisterComponent, Builder, dependency graph, bootstrap, start, stop, and core component failure behavior.
Do not use for domain behavior inside a component unless lifecycle or dependency contracts change.
Inputs
Required:
- Component type, lifecycle method, or runtime package path.
- Dependency or startup behavior being changed.
Optional:
- Error message from bootstrap or start.
- Existing component to mirror.
If missing, inspect pkg/core/runtime/component.go and pkg/core/bootstrap/bootstrap.go.
Workflow
- Classify the change: component contract, registration, bootstrap, dependency graph, builder activation, or runtime start.
- Read the matching reference listed below before editing or explaining implementation behavior.
- Inspect the source files named by that reference and confirm the current code still matches the documented flow.
- Make the smallest change at the owning layer: component interfaces, registry, bootstrap, dependency graph, builder, or runtime start.
- Validate the exact lifecycle invariant affected by the change.
Output format
Return component contract impact, dependency order, changed files, startup behavior, and validation performed.
Validation
- Confirm dependencies exist and are initialized before dependents.
- Confirm
Order()is only used for startup ordering and not dependency correctness. - Confirm core component startup failures still panic while non-core failures log.
- Run
go test ./pkg/core/runtime ./pkg/core/bootstrapormake test.
Edge cases
Order()is deprecated for dependency management but still used during start.- Duplicate component registration panics.
- Cycles should fail bootstrap with a clear dependency error.
References
- Read
references/component-contracts.mdwhen adding or modifying component interfaces, component types, orRequiredDependencies(). - Read
references/bootstrap-flow.mdwhen changing initialization order, component gathering,Init, or activation. - Read
references/dependency-graph.mdwhen debugging missing dependencies, ordering, deterministic sort, or cycles. - Read
references/runtime-start.mdwhen changingStart,Order(), goroutine behavior, or startup error handling.
04 同仓库更多 Skills
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.
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.
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.
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.
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.
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.