一键导入
base-server
Use when working on the base-server Go/Kratos backend, including APIs, Ent data models, config, auth middleware, deployment, docs, and verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working on the base-server Go/Kratos backend, including APIs, Ent data models, config, auth middleware, deployment, docs, and verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | base-server |
| description | Use when working on the base-server Go/Kratos backend, including APIs, Ent data models, config, auth middleware, deployment, docs, and verification. |
This project uses document-driven iterative development. Repository docs are the source of truth; chat is temporary. Requirements, decisions, assumptions, open questions, task boundaries, verification commands, and iteration results must be written to project docs before they are treated as durable state.
Treat base-server/master + /home/mini/OpenSource/framework/vben-admin/main as one complete monolithic product line for feature work. When adding, modifying, or refactoring a feature, inspect the paired frontend impact before editing and report both backend and frontend impact at handoff.
If backend API, auth, RBAC, fields, pagination, upload, SSE, errors, or OpenAPI behavior changes, plan the matching frontend client/type/view/route/store update in the paired vben-admin repo on the same version line. If no frontend change is required, state why.
Do not mix in microservice branch assumptions or API prefixes unless both repos are on monorepo.
/home/mini/OpenSource/framework/AGENTS.md/home/mini/OpenSource/framework/REPO_STRUCTURE.md/home/mini/OpenSource/framework/STARTUP_AND_INTEGRATION.mdAGENTS.mddocs/project_profile.mddocs/architecture/current_architecture.mddocs/architecture/tech_stack.mddocs/planning/module_boundaries.mddocs/planning/verification.mddocs/planning/risk_register.mddocs/progress.mddocs/worklog.mdmaster branch. The microservice backend lives on monorepo.cmd/base-server/: entrypoint, Wire graph, embedded OpenAPIapi/protos/: source API contractapi/gen/go/: generated protobuf and Kratos bindingsinternal/conf/: config schema source and generated typesinternal/data/schema/: Ent schema sourcesinternal/data/ent/: generated Ent outputinternal/biz/: use cases, auth, RBAC, repository interfacesinternal/service/: transport handlersinternal/server/: server wiring, middleware, response encoding, cron workerdeploy/helm/base-server/: Helm deployment and runtime configgo.modgo.sumMakefileDockerfileconfigs/config.yamlapi/protos/**api/gen/go/**internal/conf/conf.protointernal/conf/conf.pb.gointernal/data/schema/**internal/data/ent/**cmd/base-server/main.gocmd/base-server/wire.gocmd/base-server/wire_gen.gocmd/base-server/assets/openapi.yamlinternal/server/**deploy/helm/base-server/**docs/project_profile.mddocs/architecture/**docs/planning/**docs/progress.mddocs/worklog.mdOnly modify these when the active task explicitly authorizes it.
See docs/planning/verification.md for the current command matrix.
Use the narrowest generation or verification command that covers the touched boundary. Regenerate before compiling when proto, config schema, Ent schema, or Wire sources changed.
Do not use microservice-only commands such as make run-user, make run-auth, make run-admin, make run-common, make run-gateway, or make dev-env-up unless the repo is on monorepo.
git status --short --branch, current branch/ref, and worktree list before editing.Ask before changing:
docs/worklog.md and any affected project docs.Report: