[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXVS2Q1EJRCHG37A671S8K":3,"skill-same:01M6BXVS2Q1EJRCHG37A671S8K":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6BXVS2Q1EJRCHG37A671S8K","spring","Spring Boot 依赖注入与 Mock 规范","Conventions for dependency injection and mocking in Spring Boot in this project. Use this whenever writing, reviewing, or refactoring integration test classes (anything annotated @SpringBootTest, or under src\u002Ftest that talks to a real Spring context), especially when deciding how to wire dependencies or mock collaborators. Also consult this before adding @Autowired, @MockBean, @MockitoBean, or field injection in any test class.","本项目中 Spring Boot 的依赖注入与 mock 约定。在编写、审查或重构集成测试类时（任何标注 @SpringBootTest 的类，或 src\u002Ftest 下与真实 Spring 上下文交互的类）使用，尤其是在决定如何装配依赖或 mock 协作者时。在任何测试类中添加 @Autowired、@MockBean、@MockitoBean 或字段注入之前，也应先参考本技能。","jesperancinha\u002Fkotlin-mysteries","jesperancinha","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11569930?v=4","01M6BXV038GJ2R8FQNEPT7AVZC","João Filipe Sabino Esperancinha","01M6BXV07CCQXNTGXREN86RZBR",2,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspring\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40],"writing","test","boot","spring boot","integration","injection","how","consult","refactoring","src","2026-11-10 10:12:30",false,"---\nname: spring\ndescription: Conventions for dependency injection and mocking in Spring Boot in this project. Use this whenever writing, reviewing, or refactoring integration test classes (anything annotated @SpringBootTest, or under src\u002Ftest that talks to a real Spring context), especially when deciding how to wire dependencies or mock collaborators. Also consult this before adding @Autowired, @MockBean, @MockitoBean, or field injection in any test class.\n---\n\n## 1. Spring Configuration improvements\n\nAll old security configurations need to be updated\n\nFor java this means that we should migrate as en example from something like this:\n\n### Example 1\n\n```java\npublic class Flash16ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http.authenticationProvider(new Flash16AuthenticationProvider())\n                .authorizeRequests()\n                .requestMatchers(new AntPathRequestMatcher(\"\u002F**\")).hasRole(\"ADMIN\")\n                .anyRequest()\n                .authenticated()\n                .and()\n                .formLogin().and().build();\n    }\n}\n```\n\nto this\n\n```java\npublic class Flash16ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http\n                .authenticationProvider(new Flash16AuthenticationProvider())\n                .authorizeHttpRequests(auth -> auth\n                        .anyRequest().hasRole(\"ADMIN\")\n                )\n                .formLogin(Customizer.withDefaults())\n                .build();\n    }\n}\n```\n\n### Example 2\n\nMigrate from this:\n\n```java\npublic class Flash17ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http\n                .userDetailsService(jdbcUserDetailsManager)\n                .authorizeRequests()\n                .requestMatchers(new AntPathRequestMatcher(\"\u002Fopen\u002F**\"))\n                .permitAll()\n                .requestMatchers(new AntPathRequestMatcher(\"\u002F**\")).hasRole(\"ADMIN\")\n                .anyRequest()\n                .authenticated()\n                .and()\n                .formLogin()\n                .and().csrf().disable().build();\n    }\n}\n```\n\nto this\n\n```shell\npublic class Flash17ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http.userDetailsService(jdbcUserDetailsManager)\n                .authorizeHttpRequests(auth -> auth\n                        .requestMatchers(\"\u002Fopen\u002F**\").permitAll()\n                        .requestMatchers(\"\u002F**\").hasRole(\"ADMIN\")\n                        .anyRequest().authenticated()\n                )\n                .formLogin(Customizer.withDefaults())\n                .csrf(AbstractHttpConfigurer::disable)\n                .build();\n}\n```\n\n## 2. Replace usage of `NestedServletException` with `ServletException`\n\nNestedServletException has been deprecated.\nThis means that all usages of `org.springframework.web.util.NestedServletException` should be replaced with `jakarta.servlet.ServletException` in all test classes.\n\n## 3. The `toByteBuffer()` function with no params has been deprecated.\n\nThis means that all usages of `org.springframework.core.io.buffer.DataBuffer.toByteBuffer` should be replaced with another way to get the byte array.\n\n### Example 1\n\n\nReplace this:\n\n```kotlin\n@RestController\n@RequestMapping(\"images\")\ninternal class StaCoImageController(\n    val s3AsyncClient: S3AsyncClient\n) {\n    @PostMapping(\"\u002Fsave\u002F{id}\")\n    fun saveUser(\n        @RequestPart(value = \"image\", required = false) filePartMono: Mono\u003CFilePart>,\n        @PathVariable(\"id\") uuid: UUID\n    ): Mono\u003CVoid> {\n        return filePartMono.flatMapMany {\n            it.content()\n        }.map {\n            val putObjectRequest =\n                PutObjectRequest.builder().bucket(IMAGES_BUCKET).key(\"staco-image-$uuid.png\").build()\n            s3AsyncClient.putObject(\n                putObjectRequest,\n                AsyncRequestBody.fromBytes(it.asByteBuffer().array())\n            )\n        }.then()\n    }\n}\n```\n\nwith this:\n\n\n```kotlin\n@RestController\n@RequestMapping(\"images\")\ninternal class StaCoImageController(\n    val s3AsyncClient: S3AsyncClient\n) {\n    @PostMapping(\"\u002Fsave\u002F{id}\")\n    fun saveUser(\n        @RequestPart(value = \"image\", required = false) filePartMono: Mono\u003CFilePart>,\n        @PathVariable(\"id\") uuid: UUID\n    ): Mono\u003CVoid> {\n        return filePartMono.flatMapMany {\n            it.content()\n        }.map {\n            val putObjectRequest =\n                PutObjectRequest.builder().bucket(IMAGES_BUCKET).key(\"staco-image-$uuid.png\").build()\n            val bytes = ByteArray(it.readableByteCount())\n            it.read(bytes)\n            s3AsyncClient.putObject(\n                putObjectRequest,\n                AsyncRequestBody.fromBytes(bytes)\n            )\n        }.then()\n    }\n}\n```\n\nEssentially, this means replacing calls to it.asByteBuffer().array() with a more explicit way of creating a ByteBuffer, writing the data into it, and then flipping it before getting the byte array.\n\n## 4. Follow OAuth2 Guidelines for dependencies coming from deprecated `org.springframework.security.oauth2` package\n\n`OAuth2` from dependencies `org.springframework.security.oauth2` has been deprecated. There is a guideline manual located at: https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-security\u002Fwiki\u002FOAuth-2.0-Migration-Guide\nPlease make sure that the new code follows the guidelines. Make the eventual necessary changes to the `pom.xml` files, code, en what may be necessary.\n\n## 5. `ApplicationArguments` cannot be null anymore and `args` has to be a list of non-null Strings\n\nplease replace `override fun run(args: ApplicationArguments?)` with `override fun run(args: ApplicationArguments?)`\nplease replace `return CommandLineRunner { args: Array\u003CString?>?` with `return CommandLineRunner { args: Array\u003CString>`\n\n## 6. `import org.springframework.boot.env.EnvironmentPostProcessor` needs to be replaced by `import org.springframework.boot.EnvironmentPostProcessor`\n\nThe `EnvironmentPostProcessor` is now part of the `import org.springframework.boot` package.\n\n## 7. Make sure to use classes for `@Entity` with primary constructor\n\nGood practices mean that classes for entities should be created by declaring a primary constructor with all of the properties.\n\n### Example 1\n\nReplace this:\n\n```kotlin\n@Entity\n@Table(name = \"users\")\n@Profile(\"localprod && !test\")\nclass ApplicationUser {\n    @Id\n    @Column(unique = true)\n    @GeneratedValue(strategy = GenerationType.UUID)\n    var uuid: UUID? = null\n\n    @Column\n    var email: String? = null\n\n    @Column\n    var name: String? = null\n\n    @Column\n    var password: String? = null\n\n    @Column\n    var role: String? = null\n\n    @get:Nullable\n    @Column\n    @Nullable\n    var date: Timestamp? = null\n}\n```\n\nwith this:\n\n```kotlin\n@Entity\n@Table(name = \"users\")\n@Profile(\"localprod && !test\")\nclass ApplicationUser(\n    @Id\n    @Column(unique = true)\n    @GeneratedValue(strategy = GenerationType.UUID)\n    var uuid: UUID? = null,\n\n    @Column\n    val email: String? = null,\n\n    @Column\n    var name: String? = null,\n\n    @Column\n    var password: String? = null,\n\n    @Column\n    val role: String? = null,\n\n    @get:Nullable\n    @Column\n    @Nullable\n    var date: Timestamp? = null\n)\n```\n\n## 8. `@Nullable` needs to be used from another package\n\nThe `org.springframework.lang.Nullable` is deprecated, please use `org.jspecify.annotations.Nullable` instead.\n\n## 9. management.metrics.export.statsd.host does not exist\n\nReplace all usages of `management.metrics.export.statsd.host` with `management.statsd.metrics.export.host`\n\n## 10. There should be no `open` use when the spring kotlin plugin is being used\n\nSince the `spring`, or the `all-open` plugins make methods, functions, and classes open by default, the `open` keyword should not be used.\n\n## 11. Migrate to the latest version of spring-boot\n\nIn maven projects, there should be a node called `spring-boot-starter-parent.version` in the `pom.xml` or something similar that indicates the parent version of `spring-boot` it is being used.\nThat version should match the latest stable version.\nMake sure to follow the migration rules to migrate to the latest version of spring-boot.\nIf the axon framework is being used, make sure to migrate it to be compatible with the latest spring version.\n\nFor reference, please follow the following documents:\n\n1. https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-boot\u002Fwiki\u002FSpring-Boot-3.5-Release-Notes\n2. https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-boot\u002Fwiki\u002FSpring-Boot-4.0-Migration-Guide\n3. https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-boot\u002Fwiki\u002FSpring-Boot-4.1-Release-Notes\n4. https:\u002F\u002Fdocs.axoniq.io\u002Faxon-framework-reference\u002F5.2\u002Fmigration\u002F\n\n## 12. Checklist\n\n[ ] All old security configurations have been updated to the new style.\n[ ] All usages of `NestedServletException` have been replaced with `ServletException`.\n[ ] All usages of `DataBuffer.toByteBuffer` have been replaced with a more explicit ay of creating a ByteBuffer and getting the byte array.\n[ ] There should be no `override fun run(args: ApplicationArguments?)` left\n[ ] There should be no `import org.springframework.boot.env.EnvironmentPostProcessor` left\n[ ] There should be no usage of the keyword `open`, when using plugins `spring` or `all-open`\n","## 1. Spring Configuration improvements\n\nAll old security configurations need to be updated\n\nFor java this means that we should migrate as en example from something like this:\n\n### Example 1\n\n```java\npublic class Flash16ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http.authenticationProvider(new Flash16AuthenticationProvider())\n                .authorizeRequests()\n                .requestMatchers(new AntPathRequestMatcher(\"\u002F**\")).hasRole(\"ADMIN\")\n                .anyRequest()\n                .authenticated()\n                .and()\n                .formLogin().and().build();\n    }\n}\n```\n\nto this\n\n```java\npublic class Flash16ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http\n                .authenticationProvider(new Flash16AuthenticationProvider())\n                .authorizeHttpRequests(auth -> auth\n                        .anyRequest().hasRole(\"ADMIN\")\n                )\n                .formLogin(Customizer.withDefaults())\n                .build();\n    }\n}\n```\n\n### Example 2\n\nMigrate from this:\n\n```java\npublic class Flash17ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http\n                .userDetailsService(jdbcUserDetailsManager)\n                .authorizeRequests()\n                .requestMatchers(new AntPathRequestMatcher(\"\u002Fopen\u002F**\"))\n                .permitAll()\n                .requestMatchers(new AntPathRequestMatcher(\"\u002F**\")).hasRole(\"ADMIN\")\n                .anyRequest()\n                .authenticated()\n                .and()\n                .formLogin()\n                .and().csrf().disable().build();\n    }\n}\n```\n\nto this\n\n```shell\npublic class Flash17ConfigurationAdapter {\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        return http.userDetailsService(jdbcUserDetailsManager)\n                .authorizeHttpRequests(auth -> auth\n                        .requestMatchers(\"\u002Fopen\u002F**\").permitAll()\n                        .requestMatchers(\"\u002F**\").hasRole(\"ADMIN\")\n                        .anyRequest().authenticated()\n                )\n                .formLogin(Customizer.withDefaults())\n                .csrf(AbstractHttpConfigurer::disable)\n                .build();\n}\n```\n\n## 2. Replace usage of `NestedServletException` with `ServletException`\n\nNestedServletException has been deprecated.\nThis means that all usages of `org.springframework.web.util.NestedServletException` should be replaced with `jakarta.servlet.ServletException` in all test classes.\n\n## 3. The `toByteBuffer()` function with no params has been deprecated.\n\nThis means that all usages of `org.springframework.core.io.buffer.DataBuffer.toByteBuffer` should be replaced with another way to get the byte array.\n\n### Example 1\n\n\nReplace this:\n\n```kotlin\n@RestController\n@RequestMapping(\"images\")\ninternal class StaCoImageController(\n    val s3AsyncClient: S3AsyncClient\n) {\n    @PostMapping(\"\u002Fsave\u002F{id}\")\n    fun saveUser(\n        @RequestPart(value = \"image\", required = false) filePartMono: Mono\u003CFilePart>,\n        @PathVariable(\"id\") uuid: UUID\n    ): Mono\u003CVoid> {\n        return filePartMono.flatMapMany {\n            it.content()\n        }.map {\n            val putObjectRequest =\n                PutObjectRequest.builder().bucket(IMAGES_BUCKET).key(\"staco-image-$uuid.png\").build()\n            s3AsyncClient.putObject(\n                putObjectRequest,\n                AsyncRequestBody.fromBytes(it.asByteBuffer().array())\n            )\n        }.then()\n    }\n}\n```\n\nwith this:\n\n\n```kotlin\n@RestController\n@RequestMapping(\"images\")\ninternal class StaCoImageController(\n    val s3AsyncClient: S3AsyncClient\n) {\n    @PostMapping(\"\u002Fsave\u002F{id}\")\n    fun saveUser(\n        @RequestPart(value = \"image\", required = false) filePartMono: Mono\u003CFilePart>,\n        @PathVariable(\"id\") uuid: UUID\n    ): Mono\u003CVoid> {\n        return filePartMono.flatMapMany {\n            it.content()\n        }.map {\n            val putObjectRequest =\n                PutObjectRequest.builder().bucket(IMAGES_BUCKET).key(\"staco-image-$uuid.png\").build()\n            val bytes = ByteArray(it.readableByteCount())\n            it.read(bytes)\n            s3AsyncClient.putObject(\n                putObjectRequest,\n                AsyncRequestBody.fromBytes(bytes)\n            )\n        }.then()\n    }\n}\n```\n\nEssentially, this means replacing calls to it.asByteBuffer().array() with a more explicit way of creating a ByteBuffer, writing the data into it, and then flipping it before getting the byte array.\n\n## 4. Follow OAuth2 Guidelines for dependencies coming from deprecated `org.springframework.security.oauth2` package\n\n`OAuth2` from dependencies `org.springframework.security.oauth2` has been deprecated. There is a guideline manual located at: https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-security\u002Fwiki\u002FOAuth-2.0-Migration-Guide\nPlease make sure that the new code follows the guidelines. Make the eventual necessary changes to the `pom.xml` files, code, en what may be necessary.\n\n## 5. `ApplicationArguments` cannot be null anymore and `args` has to be a list of non-null Strings\n\nplease replace `override fun run(args: ApplicationArguments?)` with `override fun run(args: ApplicationArguments?)`\nplease replace `return CommandLineRunner { args: Array\u003CString?>?` with `return CommandLineRunner { args: Array\u003CString>`\n\n## 6. `import org.springframework.boot.env.EnvironmentPostProcessor` needs to be replaced by `import org.springframework.boot.EnvironmentPostProcessor`\n\nThe `EnvironmentPostProcessor` is now part of the `import org.springframework.boot` package.\n\n## 7. Make sure to use classes for `@Entity` with primary constructor\n\nGood practices mean that classes for entities should be created by declaring a primary constructor with all of the properties.\n\n### Example 1\n\nReplace this:\n\n```kotlin\n@Entity\n@Table(name = \"users\")\n@Profile(\"localprod && !test\")\nclass ApplicationUser {\n    @Id\n    @Column(unique = true)\n    @GeneratedValue(strategy = GenerationType.UUID)\n    var uuid: UUID? = null\n\n    @Column\n    var email: String? = null\n\n    @Column\n    var name: String? = null\n\n    @Column\n    var password: String? = null\n\n    @Column\n    var role: String? = null\n\n    @get:Nullable\n    @Column\n    @Nullable\n    var date: Timestamp? = null\n}\n```\n\nwith this:\n\n```kotlin\n@Entity\n@Table(name = \"users\")\n@Profile(\"localprod && !test\")\nclass ApplicationUser(\n    @Id\n    @Column(unique = true)\n    @GeneratedValue(strategy = GenerationType.UUID)\n    var uuid: UUID? = null,\n\n    @Column\n    val email: String? = null,\n\n    @Column\n    var name: String? = null,\n\n    @Column\n    var password: String? = null,\n\n    @Column\n    val role: String? = null,\n\n    @get:Nullable\n    @Column\n    @Nullable\n    var date: Timestamp? = null\n)\n```\n\n## 8. `@Nullable` needs to be used from another package\n\nThe `org.springframework.lang.Nullable` is deprecated, please use `org.jspecify.annotations.Nullable` instead.\n\n## 9. management.metrics.export.statsd.host does not exist\n\nReplace all usages of `management.metrics.export.statsd.host` with `management.statsd.metrics.export.host`\n\n## 10. There should be no `open` use when the spring kotlin plugin is being used\n\nSince the `spring`, or the `all-open` plugins make methods, functions, and classes open by default, the `open` keyword should not be used.\n\n## 11. Migrate to the latest version of spring-boot\n\nIn maven projects, there should be a node called `spring-boot-starter-parent.version` in the `pom.xml` or something similar that indicates the parent version of `spring-boot` it is being used.\nThat version should match the latest stable version.\nMake sure to follow the migration rules to migrate to the latest version of spring-boot.\nIf the axon framework is being used, make sure to migrate it to be compatible with the latest spring version.\n\nFor reference, please follow the following documents:\n\n1. https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-boot\u002Fwiki\u002FSpring-Boot-3.5-Release-Notes\n2. https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-boot\u002Fwiki\u002FSpring-Boot-4.0-Migration-Guide\n3. https:\u002F\u002Fgithub.com\u002Fspring-projects\u002Fspring-boot\u002Fwiki\u002FSpring-Boot-4.1-Release-Notes\n4. https:\u002F\u002Fdocs.axoniq.io\u002Faxon-framework-reference\u002F5.2\u002Fmigration\u002F\n\n## 12. Checklist\n\n[ ] All old security configurations have been updated to the new style.\n[ ] All usages of `NestedServletException` have been replaced with `ServletException`.\n[ ] All usages of `DataBuffer.toByteBuffer` have been replaced with a more explicit ay of creating a ByteBuffer and getting the byte array.\n[ ] There should be no `override fun run(args: ApplicationArguments?)` left\n[ ] There should be no `import org.springframework.boot.env.EnvironmentPostProcessor` left\n[ ] There should be no usage of the keyword `open`, when using plugins `spring` or `all-open`\n",{"name":5,"description":7},"main","697d8147950c43487405f9593abb95dc5dc7aabe",".claude\u002Fskills\u002Fspring",0,"https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries","https:\u002F\u002Fjesperancinha.github.io\u002Fkotlin-mysteries\u002F","https:\u002F\u002Fgithub.com\u002Fjesperancinha","http:\u002F\u002Fjoaofilipesabinoesperancinha.nl\u002F","IT Engineer","2026-07-20 17:47:29",{"source":9,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add jesperancinha\u002Fkotlin-mysteries --skill spring",{"tool":62,"command":63},"bunx","bunx skills add jesperancinha\u002Fkotlin-mysteries --skill spring",{"tool":65,"command":66},"pnpm","pnpm dlx skills add jesperancinha\u002Fkotlin-mysteries --skill spring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspring\u002FSKILL.md",true,[70,76],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"kindle-a6.css","OTHER","其他",1556,"https:\u002F\u002Fgithub.com\u002Fdandaka\u002Fskills\u002Fblob\u002Fmain\u002Freading-club\u002Fkindle-a6.css",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"spec.md","REFERENCE","参考文档",2867,"https:\u002F\u002Fgithub.com\u002Fdandaka\u002Fskills\u002Fblob\u002Fmain\u002Freading-club\u002Fspec.md",[83,96,111,126,139,152],{"skillNo":84,"name":85,"nameZh":86,"description":87,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":93,"publishedAt":41},"01M6BXVP5QBEYCNWG56FFBBHZK","spring-integration-test-wiring","Spring Boot 集成测试依赖装配","Conventions for dependency injection and mocking in Spring Boot integration tests in this project. Use this whenever writing, reviewing, or refactoring integration test classes (anything annotated @SpringBootTest, or under src\u002Ftest that talks to a real Spring context), especially when deciding how to wire dependencies or mock collaborators. Also consult this before adding @Autowired, @MockBean, @MockitoBean, or field injection in any test class.","本项目中 Spring Boot 集成测试的依赖注入与 mock 约定。在编写、审查或重构集成测试类时（任何标注 @SpringBootTest 的类，或 src\u002Ftest 下与真实 Spring 上下文交互的类）使用，尤其是在决定如何装配依赖或 mock 协作者时。在任何测试类中添加 @Autowired、@MockBean、@MockitoBean 或字段注入之前，也应先参考本技能。","https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspring-test\u002FSKILL.md",[91,92],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[32,94,35,31,95,33,34,36,37,38,39,40],"spring integration test wiring","integration tests",{"skillNo":97,"name":98,"nameZh":99,"description":100,"descriptionZh":101,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":102,"categories":103,"keywords":108,"publishedAt":41},"01M6BXVM9KDEWYJ7WWJSTA22GR","Scripts patterns","Shell 与 Python 脚本规范","Conventions for using sh, bash, bat, python scripts","使用 sh、bash、bat、python 脚本时应遵循的约定。","https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fscripts\u002FSKILL.md",[104,105],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[98,109,110],"python","Bash",{"skillNo":112,"name":113,"nameZh":114,"description":115,"descriptionZh":116,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":125,"publishedAt":41},"01M6BXVJETCKANCGG2ZVJJVWYN","Readme standards","README 文档编写规范","Conventions to use in Readme files","README 文件中应遵循的约定规范。","https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freadme\u002FSKILL.md",[119,122],{"categoryNo":120,"categoryName":121,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C5C7NGT4DWWBE15R6QGEX5","技术文档编写",[113],{"skillNo":127,"name":128,"nameZh":129,"description":130,"descriptionZh":131,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":132,"categories":133,"keywords":138,"publishedAt":41},"01M6BXVGR52RYGR5R2A4N4C3SE","parallelization","Jupiter 测试并行化","Conventions for using parallelization in all tests using Jupiter","在所有使用 Jupiter 的测试中使用并行化的约定。","https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fparallel\u002FSKILL.md",[134,137],{"categoryNo":135,"categoryName":136,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[128],{"skillNo":140,"name":141,"nameZh":142,"description":143,"descriptionZh":144,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":145,"categories":146,"keywords":149,"publishedAt":41},"01M6BXVEP33NG1YREVBDF5R3TN","Maven standards","Maven pom.xml 配置规范","Conventions to use in Maven files, mostly the `pom.xml` files","在 Maven 文件中（主要是 `pom.xml` 文件）使用的约定。","https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmaven\u002FSKILL.md",[147,148],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":106,"categoryName":107,"taxonomyType":28,"taxonomyTypeDesc":29},[141,150,151],"maven","xml",{"skillNo":153,"name":154,"nameZh":155,"description":156,"descriptionZh":157,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":158,"categories":159,"keywords":164,"publishedAt":41},"01M6BXVCG904KP6JBVVXVR01CN","kotlin patterns","Kotlin 编码规范","Conventions for using Kotlin","使用 Kotlin 的约定。","https:\u002F\u002Fgithub.com\u002Fjesperancinha\u002Fkotlin-mysteries\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkotlin\u002FSKILL.md",[160,161],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":162,"categoryName":163,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[154,165],"kotlin"]