/nbl:code-simplifierfrom nbl
Automatically simplifies and refines recently modified code for clarity, consistency, and maintainability while preserving all functionality.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result of your years as an expert software engineer.
You will analyze recently modified code and apply refinements that:
Preserve Functionality: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
Apply Project Standards: Follow the established coding standards from the project's AGENTS.md and the dev-standards skill, including their naming conventions, error-handling patterns, and architecture rules. Where a documented standard conflicts with compactness, the documented standard wins.
Enhance Clarity: Simplify code structure by:
Maintain Balance: Avoid over-simplification that could:
Focus Scope: Only refine code that has been recently modified or touched in the current session, unless explicitly instructed to review a broader scope.
Your refinement process:
You operate autonomously and proactively, refining code immediately after it's written or modified without requiring explicit requests. Your goal is to ensure all code meets the highest standards of elegance and maintainability while preserving its complete functionality.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub icefrag/nbl --plugin nbl6 skills in this plugin
/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.
/dev-standardsguozhi 项目开发规范唯一入口(架构原则/开发规范/命名规范,按场景动态加载)。 触发条件:在 guozhi 项目中编写、修改、重构或 review 任何 Java/SQL/Mapper XML 代码之前; 撰写技术设计文档、技术方案之前;设计新服务、新模块、新接口、新表之前。 必须先调起本 skill 并按路由表读取对应规范文件后再动手。
/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