Claude Skills · Code Review & Testing

Field Mapping Safety

doccker/cc-use-exp

当重构涉及字段映射(dataIndex、枚举映射、类型转换)时触发。防止字段名推测错误,确保字段映射的正确性。

★ 1,023 Synced 1 hour ago View SKILL.md

At a glance

This skill is for Code Review & Testing and helps you verify field mapping correctness, catch dataindex errors, and validate enum mappings.

Install /plugin marketplace add doccker/cc-use-exp /plugin install field-mapping-safety
Can use Not declared by the author

Field Mappingrefactoringdata-validationtype-safetyEnums

Also in doccker/cc-use-exp

View the repo

当设计或修改 REST API 响应结构、处理 API 返回值时触发。防止 API 设计缺陷导致的字段错位、类型歧义等问题。

Bash Style DevOps & Infrastructure

当用户操作 .sh、Dockerfile、Makefile、.yml、.yaml 文件,或在 Markdown 中编写 bash 代码块时触发。提供 Bash 编写规范。

Frontend Dev Coding

前端开发规范,包含 Vue 3 编码规范、UI 风格约束、TypeScript 规范等

Go Dev Coding

Go 开发规范,包含命名约定、错误处理、并发编程、测试规范等

Java Dev Coding

Java 开发规范,包含命名约定、异常处理、Spring Boot 最佳实践等

Ops Safety DevOps & Infrastructure

当用户执行系统级命令(sysctl、iptables、systemctl、Docker 配置、数据库 DDL)或进行服务器运维操作时触发。提供运维安全规范。

Python Dev Coding

Python 开发规范,包含 PEP 8 风格、类型注解、异常处理、测试规范等

Redis Safety Code Review & Testing

当用户操作 Redis 相关代码(go-redis、Jedis、redis-py、ioredis)时触发。提供 Redis 安全与性能规范。

当用户要求重构代码(提取组件、合并重复逻辑、重命名变量、优化结构)时触发。提供重构安全检查清单,防止丢失原始上下文。

Ruanzhu Documents & Spreadsheets

当用户执行 /ruanzhu 命令或请求生成软著源代码文档时触发。提供软著源代码 DOCX 生成规范。

Size Check Code Review & Testing

Review changed code for reuse, quality, and efficiency, then fix any issues found. Also scans project files for size limit violations.

Storage Url Safety DevOps & Infrastructure

当使用 MinIO/OSS/S3 等对象存储、设计文件上传下载功能时触发。提供存储 URL 策略选择规范,防止 URL 过期、访问失败等问题。

Other Code Review & Testing skills

Migrate To Shoehorn mattpocock/skills

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests,...

Grill With Docs mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Triage mattpocock/skills

Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.

Scaffold Exercises mattpocock/skills

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold e...

Resolving Merge Conflicts mattpocock/skills

Use when you need to resolve an in-progress git merge/rebase conflict.

Batch Grill Me mattpocock/skills

A relentless interview that asks every frontier question at once, round by round.