/nbl:dev-standardsfrom nbl
Routes to guozhi project standards for architecture, coding conventions, naming, and service-specific rules. Must be loaded before writing or reviewing Java/SQL/XML code, design docs, or new modules.
Ships in nbl. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
规范的唯一事实来源是本目录下七个文件,本 SKILL.md 只做路由,不复制任何规则内容。
按当前任务场景读取对应文件(场景叠加时全部读取):
| 场景 | 必读文件 |
|---|---|
| 技术设计文档/技术方案、新服务或新模块定位、架构分层、包结构设计 | architecture.md |
| 编写/修改 Java 代码、SQL 建表/DML、Mapper XML | coding-conventions.md |
| 新建类/接口/枚举/Req/Resp/Entity 或其字段命名 | naming.md |
| 涉及文件/附件上传、资源绑定、资源回显或释放(ResourceApi / RefManagementApi) | res-service.md |
| 涉及文件导出、Excel 导出、下载中心任务(@AsyncExportByQueue 异步导出框架) | async-export.md |
| 涉及消息通知/推送、站内信、站内待办、企微/微信/短信触达、消息模板对接(XxxMessageSendManage 消息范式) | message-notify.md |
实现一个新功能通常 = architecture + coding-conventions + naming 三份全读。
声称任务完成之前,重读本次改动涉及的规范文件,逐条核对改动是否违规,有违规先修复再交付。
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub icefrag/nbl --plugin nbl6 skills in this plugin
/code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise./deployUse when deploying guozhi-series services to dev environments. Triggers on "部署", "发布", "deploy", "发布到dev", "上线", "jkd", "jku", "重新部署", "部署失败". Automates git commit/push, develop merge with version-conflict resolution, parallel jkd+jku, BFF passthrough check, and BFF deployment.
/k8s-logs排查 guozhi 项目在 K8s 各环境(dev1/dev2/dev3/fat1/uat)服务日志与数据库的专属技能。当用户提到查日志/看日志/app.log/error.log/warn.log/request.log、服务报错/接口失败/超时/500/空指针、某环境(dev1~uat)某服务(guozhi-*)出问题、kexi/kubectl 进 pod 看日志、启动失败/Bean 报错/性能慢/耗时高/Full GC/内存溢出等任何线上/测试环境排查诉求时,必须使用本 skill;当用户要查库/查数据/看表结构/字段含义/核对数据是否落库/分析 SQL 报错时也必须使用本 skill——通过本地直连(pymysql,账号白名单放行开发机、封禁集群 pod)执行只读 SQL,凭据按环境+服务存于本地配置,表结构从代码 entity 反推;当用户要跨微服务查代码/找某服务的本地仓库/改 db 或 workspace 配置时也必须使用本 skill。本 skill 通过 kubectl 直接操作集群抓取日志与查询数据、给出结论,用户无需再手动与 kexi 交互。/using-git-worktreesUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback/verification-before-completionUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysOther plugins' skills for the same job