PR

project-module-architecture

Architectural support for managing projects, member permissions, and configuration in the BK-CI system.

Install

mkdir -p .claude/skills/project-module-architecture && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2104" && unzip -o skill.zip -d .claude/skills/project-module-architecture && rm skill.zip

Installs to .claude/skills/project-module-architecture

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

处理 BK-CI 项目创建、项目属性、成员权限、项目标签、项目分片和项目资源边界时使用。当用户提到项目管理、projectId 含义、项目配置、成员管理或项目迁移时优先使用。
87 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Create, update, or migrate projects
  • Handle project attributes, tags, channels, and approval statuses
  • Troubleshoot members, permissions, and project resource boundaries
  • Determine the meaning of `projectId` in other modules
  • Manage project sharding, routing, and project-level configurations

How it works

This skill provides guidance on managing project entities, including their creation, modification, and migration, by detailing how to handle attributes, permissions, and routing within the BK-CI system.

Inputs & outputs

You give it
Project-related data like attributes, member lists, or configuration settings
You get back
Managed project entities, updated configurations, or resolved project-related issues

When to use project-module-architecture

  • Configure project attributes
  • Manage project member permissions
  • Resolve project-level routing issues

About this skill

Project 模块架构

适用场景

  • 创建、更新或迁移项目
  • 处理项目属性、标签、渠道、审批状态
  • 排查成员、权限、项目资源边界
  • 判断其他模块里 projectId 的真实含义
  • 处理项目分片、路由、项目级基础配置

不适用场景

  • 只是某个流水线、代码库或制品本身的业务逻辑
  • 只是普通权限模型设计,不涉及项目这个资源域
  • 只是数据库脚本设计,不涉及项目模块语义

快速指导

  1. 先确认问题属于哪条主线:
    • 项目基础心智:看 reference/1-project-foundation.md
    • 项目属性、权限、分片与扩展:看 reference/2-project-operations.md
  2. BK-CI 里绝大多数业务接口说的 projectId,实际都更接近 T_PROJECT.english_name,不是数据库里的 UUID 主键字段。
  3. Project 是基础模块,很多问题看起来发生在别的模块,但根源是项目属性、项目启停状态、项目边界或项目权限没对齐。
  4. 只要改项目字段、项目属性或项目路由逻辑,就要同时考虑对其他模块的影响。

高信号规则

  • 项目是 BK-CI 资源隔离的基础边界
  • 其他模块依赖 Project,但不应该绕过它自行定义项目语义
  • 项目属性常常决定后续流水线、代码库、权限和 PAC 行为
  • 项目分片和路由属于基础设施能力,不是普通业务字段

关键陷阱

  • T_PROJECT.PROJECT_ID 和业务里的 projectId 混用
  • 只改项目表,不同步看项目属性和下游依赖模块
  • 把项目问题误判为权限问题,或把权限问题误判为项目不存在
  • 忽略项目分片、渠道和审批状态对整体行为的影响

延伸阅读

  • 项目基础:reference/1-project-foundation.md
  • 项目属性与分片:reference/2-project-operations.md
  • 涉及全局模块协作时:再看 00-bkci-global-architecture
  • 涉及权限实现时:再看 auth-module-architecture

When not to use it

  • When the task involves only pipeline, code repository, or artifact business logic
  • When the task is only about general permission model design, not involving the project resource domain
  • When the task is only about database script design, not involving project module semantics

Limitations

  • Does not apply to business logic solely for pipelines, code repositories, or artifacts
  • Does not apply to general permission model design unrelated to the project resource domain
  • Does not apply to database script design that lacks project module semantics

How it compares

This skill clarifies the distinction between `projectId` and database UUIDs, which prevents common misinterpretations that can occur in generic project management.

Compared to similar skills

project-module-architecture side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
project-module-architecture (this skill)63moNo flagsIntermediate
architect-review1094moNo flagsAdvanced
solid-principles579moNo flagsIntermediate
codex322moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by TencentBlueKing

View all by TencentBlueKing

artifactory-module-architecture

TencentBlueKing

Artifactory 制品库模块架构指南,涵盖制品上传下载、存储后端适配、制品元数据、清理策略、权限控制。当用户开发制品库功能、处理制品存储、配置清理策略或实现制品管理时使用。

419

microservice-infrastructure

TencentBlueKing

微服务基础设施指南,涵盖条件配置、事件驱动架构、服务间通信、国际化与日志等微服务架构的核心基础设施。当用户实现服务间调用、配置多环境、实现异步通信、处理国际化或规范日志输出时使用。

411

frontend-vue-development

TencentBlueKing

前端 Vue 开发规范,涵盖 Vue 2/3 组件开发、Vuex 状态管理、路由配置、组件通信、样式规范、国际化。当用户进行前端开发、编写 Vue 组件、处理状态管理或实现页面交互时使用。

38

unit-testing

TencentBlueKing

单元测试编写指南,涵盖 JUnit5/MockK 使用、测试命名规范、Mock 技巧、测试覆盖率要求、TDD 实践。当用户编写单元测试、Mock 依赖、提高测试覆盖率或进行测试驱动开发时使用。

319

worker-module-architecture

TencentBlueKing

Worker 构建执行器模块架构指南,涵盖插件执行引擎、任务分发、日志上报、制品上传、Worker 生命周期。当用户开发 Worker 功能、实现插件执行、处理任务分发或优化执行器性能时使用。

37

agent-module-architecture

TencentBlueKing

Agent 构建机模块架构指南(Go 语言),涵盖 Agent 启动流程、心跳机制、任务领取执行、升级更新、与 Dispatch 交互。当用户开发 Agent 功能、修改心跳逻辑、处理任务执行或实现 Agent 升级时使用。

23

You might also like

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

solid-principles

SmidigStorm

Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.

57236

codex

Lucklyric

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention "Codex", request complex implementation challenges, advanced reasoning, or need high-reasoning model assistance. Automatically triggers on codex-related requests and supports session continuation for iterative development.

32238

error-handling-patterns

wshobson

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

35170

deepwiki-rs

sopaco

AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.

25170

senior-fullstack

davila7

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.

35110

Search skills

Search the agent skills registry