store-module-architecture

Explain BK-CI Store module architecture for plugins, templates, and container images.

2.5k|521|Updated May 29, 2019
One-click install
npx skills add https://github.com/TencentBlueKing/bk-ci --skill store-module-architecture
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: store-module-architecture
Source: https://github.com/TencentBlueKing/bk-ci/tree/main/ai/skills/store-module-architecture
Command: npx skills add https://github.com/TencentBlueKing/bk-ci --skill store-module-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide clarifies the Store module architecture of BK-CI, defining how plugins (Atoms), templates, and container images are published, audited, and managed within the R&D Store.

Core Features & Use Cases

  • Modular breakdown: outlines the submodules under src/backend/ci/core/store/ (api-store, biz-store, model-store, boot-store) and their responsibilities.
  • Lifecycle concepts: explains publish, audit, install, and statistics flows for market components such as Atom, Template, and Image.
  • Use Case: when building or extending the Store, refer to this guide to align with architecture conventions and data models.

Quick Start

Refer to the submodule structure to locate relevant code paths (api-store, biz-store, model-store, boot-store) and the data models (T_ATOM, T_TEMPLATE, T_IMAGE) in the repository as a starting point for implementation or review.

Frequently Asked Questions about store-module-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the BK-CI Store module architecture used for?▼

The BK-CI Store module architecture defines how plugins, templates, and container images are published, audited, installed, and managed across their lifecycle within the R&D Store.

How does the Store module organize plugin and template lifecycle management?▼

The Store module organizes lifecycle management through submodules like api-store, biz-store, model-store, and boot-store, which separate interface definitions, business logic, data models, and service bootstrapping.

How do I locate the right code path to extend BK-CI Store components?▼

To extend BK-CI Store components, refer to the submodule structure under src/backend/ci/core/store/ and locate relevant data models like T_ATOM, T_TEMPLATE, and T_IMAGE as your implementation starting point.

Can I use the Store module to manage container images alongside plugins?▼

Yes, the Store module explicitly supports managing container images alongside plugins and templates, handling their publishing, auditing, installation, and statistics using the T_IMAGE data model.

What data models do I need to know when building BK-CI Store features?▼

When building BK-CI Store features, you need to know the core data models T_ATOM for plugins, T_TEMPLATE for templates, and T_IMAGE for container images to align with architecture conventions.

When should I refer to the Store module architecture guide?▼

Refer to the Store module architecture guide when building or extending Store functionalities, ensuring your development and maintenance tasks align with established architectural conventions and data models.

Related Skills