[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C126N923RMNM3A52JKJFMW":3,"skill-same:01M6C126N923RMNM3A52JKJFMW":63},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":15,"repositoryHtmlUrl":44,"repositoryHomepageUrl":17,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6C126N923RMNM3A52JKJFMW","java-conventions","Java 编码测试与日志规范","Java coding, testing, and logging conventions.","Java 编码、测试与日志记录规范。","vorburger\u002Faifiles","vorburger","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F298598?v=4","01M6C11R5X69DM3ZRH19WVATJ5","Michael Vorburger","01M6C11RAG3NAQQZ7S3QNG7ER4",0,"CC-BY-4.0",null,"https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fjava-conventions\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32,33,34,35],"java","java conventions","testing","logging","coding","2026-11-10 10:12:30",false,"---\nname: java-conventions\ndescription: Java coding, testing, and logging conventions.\n---\n\n# Java Conventions\n\n## Java Version\n\n- Assume projects target at least Java 17. There is no need to worry about backwards compability with older Java releases\n- Determine a project's Java language level, based on build tool settings, or existing usages.\n- Use Java 25 syntax and API language features, when a project is already using Java 25.\n\n## Syntax\n\n- Use [pattern-matching `instanceof`](https:\u002F\u002Ferrorprone.info\u002Fbugpattern\u002FPatternMatchingInstanceof) when possible\n- **NEVER** use fully qualified class names; ALWAYS add any required missing imports instead;\n  e.g. generate code using `new HashMap\u003C>();` instead of `new java.util.HashMap\u003C>();` etc.\n\n## Testing\n\n- If the project uses modern JUnit v5 (Jupiter) API, then do not prefix JUnit @Test methods with `test`, just use a descriptive name without the prefix.\n  Do use `test` prefixes on projects with older JUnit versions which still required this.\n- Use Google Truth instead of JUnit's own (or any other) assertions, where possible.\n  For testing that exceptions are thrown, use `org.junit.jupiter.api.Assertions.assertThrows` because Google Truth doesn't have an equivalent.\n- Always annotate methods (whether `static` or not) with `@VisibleForTesting` (`com.google.common.annotations.VisibleForTesting`) whenever they are not marked `private` (e.g. package-private) so that they can be tested.\n- Refer to the `testing` skill for how to execute the tests for the project.\n\n## Structure\n\n- Name unused variables `_` instead of `unused`\n- Use `var` for local variable declarations where the type is obvious from the right-hand side\n- Every new package must contain a package-info.java file with a package description and @NullMarked.\n\n## Logging\n\n- Use SLF4j API for logging\n- Never use `System.err.println()` or `e.printStackTrace()`. Use a SLF4j logger instead, add it if it's missing.\n- Logger should never be constructor injected, but always simply be a static final field.\n\n## Guava\n\n- Use Guava's Immutable Collections instead of Java Collections Framework where appropriate\n- Use Guava utilities instead of JDK equivalents where appropriate\n- Use Guava's `Strings.isNullOrEmpty()` instead of `string == null || string.isBlank()`\n\n## Jackson\n\n- Because we always compile with -parameters, we typically do not need to add any @JsonCreator or @JsonProperty\n  annotations - except on both interfaces and for enum values, where they ARE required. (If a project's build\n  tool configuration is missing whatever that tool's way to use `-parameters` is, then enable it.)\n\n## Library Documentation and API Discovery\n\nWhen you need to look up public APIs, method signatures, Javadocs, or usage examples for external Java libraries (such as Maven Central dependencies):\n\n1. **Context7 MCP**: First use the `resolve-library-id` and `query-docs` MCP tools to find documentation, code snippets, and usage patterns.\n2. **javadoc.io**: Use `read_url_content` to fetch class documentation from `https:\u002F\u002Fwww.javadoc.io\u002Fstatic\u002F\u003CgroupId>\u002F\u003CartifactId>\u002F\u003Cversion>\u002F...` (e.g. `allclasses-index.html`, package summaries, or class Javadocs).\n3. **Source Inspection**: If you need to understand internal implementation details, look for the `-sources.jar` or view the upstream GitHub repository (via GitHub MCP or web).\n4. **Bytecode Disassembly Anti-pattern**: **NEVER** run `javap` or complex `grep` pipelines against cached `.jar` files in `~\u002F.gradle\u002Fcaches` to discover Java APIs or method signatures.\n\n## Other\n\n- Uses ErrorProne for static analysis; follow it recommendations\n- Uses JSpecify annotations for nullability (`@Nullable`, `@NonNull`).\n  Always replace any existing `javax.annotation` with it.\n","# Java Conventions\n\n## Java Version\n\n- Assume projects target at least Java 17. There is no need to worry about backwards compability with older Java releases\n- Determine a project's Java language level, based on build tool settings, or existing usages.\n- Use Java 25 syntax and API language features, when a project is already using Java 25.\n\n## Syntax\n\n- Use [pattern-matching `instanceof`](https:\u002F\u002Ferrorprone.info\u002Fbugpattern\u002FPatternMatchingInstanceof) when possible\n- **NEVER** use fully qualified class names; ALWAYS add any required missing imports instead;\n  e.g. generate code using `new HashMap\u003C>();` instead of `new java.util.HashMap\u003C>();` etc.\n\n## Testing\n\n- If the project uses modern JUnit v5 (Jupiter) API, then do not prefix JUnit @Test methods with `test`, just use a descriptive name without the prefix.\n  Do use `test` prefixes on projects with older JUnit versions which still required this.\n- Use Google Truth instead of JUnit's own (or any other) assertions, where possible.\n  For testing that exceptions are thrown, use `org.junit.jupiter.api.Assertions.assertThrows` because Google Truth doesn't have an equivalent.\n- Always annotate methods (whether `static` or not) with `@VisibleForTesting` (`com.google.common.annotations.VisibleForTesting`) whenever they are not marked `private` (e.g. package-private) so that they can be tested.\n- Refer to the `testing` skill for how to execute the tests for the project.\n\n## Structure\n\n- Name unused variables `_` instead of `unused`\n- Use `var` for local variable declarations where the type is obvious from the right-hand side\n- Every new package must contain a package-info.java file with a package description and @NullMarked.\n\n## Logging\n\n- Use SLF4j API for logging\n- Never use `System.err.println()` or `e.printStackTrace()`. Use a SLF4j logger instead, add it if it's missing.\n- Logger should never be constructor injected, but always simply be a static final field.\n\n## Guava\n\n- Use Guava's Immutable Collections instead of Java Collections Framework where appropriate\n- Use Guava utilities instead of JDK equivalents where appropriate\n- Use Guava's `Strings.isNullOrEmpty()` instead of `string == null || string.isBlank()`\n\n## Jackson\n\n- Because we always compile with -parameters, we typically do not need to add any @JsonCreator or @JsonProperty\n  annotations - except on both interfaces and for enum values, where they ARE required. (If a project's build\n  tool configuration is missing whatever that tool's way to use `-parameters` is, then enable it.)\n\n## Library Documentation and API Discovery\n\nWhen you need to look up public APIs, method signatures, Javadocs, or usage examples for external Java libraries (such as Maven Central dependencies):\n\n1. **Context7 MCP**: First use the `resolve-library-id` and `query-docs` MCP tools to find documentation, code snippets, and usage patterns.\n2. **javadoc.io**: Use `read_url_content` to fetch class documentation from `https:\u002F\u002Fwww.javadoc.io\u002Fstatic\u002F\u003CgroupId>\u002F\u003CartifactId>\u002F\u003Cversion>\u002F...` (e.g. `allclasses-index.html`, package summaries, or class Javadocs).\n3. **Source Inspection**: If you need to understand internal implementation details, look for the `-sources.jar` or view the upstream GitHub repository (via GitHub MCP or web).\n4. **Bytecode Disassembly Anti-pattern**: **NEVER** run `javap` or complex `grep` pipelines against cached `.jar` files in `~\u002F.gradle\u002Fcaches` to discover Java APIs or method signatures.\n\n## Other\n\n- Uses ErrorProne for static analysis; follow it recommendations\n- Uses JSpecify annotations for nullability (`@Nullable`, `@NonNull`).\n  Always replace any existing `javax.annotation` with it.\n",{"name":5,"description":7},"main","6cfcb4ea30a31850a900583021f7ef2b5159538f","skills\u002Fjava-conventions","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles","https:\u002F\u002Fgithub.com\u002Fvorburger","http:\u002F\u002Fwww.vorburger.ch"," 🇺🇦 #KyivNotKiev. Geek Father. EPFL alumni. Speaks Esperanto, Java, no Klingon, but a few other langs. Works at Google. Formerly at Red Hat. Repos personal.","2026-10-18 19:44:02",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add vorburger\u002Faifiles --skill java-conventions",{"tool":55,"command":56},"bunx","bunx skills add vorburger\u002Faifiles --skill java-conventions",{"tool":58,"command":59},"pnpm","pnpm dlx skills add vorburger\u002Faifiles --skill java-conventions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fjava-conventions\u002FSKILL.md",true,[],[64,82,100,117,133,146],{"skillNo":65,"name":66,"nameZh":67,"description":68,"descriptionZh":69,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":70,"categories":71,"keywords":78,"publishedAt":36},"01M6C12QVGQB262AXE96P898W5","vorburger-profile","Michael Vorburger 个人资料","Provides personal and professional information about Michael Vorburger.","提供关于 Michael Vorburger 的个人及职业信息。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fvorburger-profile\u002FSKILL.md",[72,75],{"categoryNo":73,"categoryName":74,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",{"categoryNo":76,"categoryName":77,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9XZ92SSCN913ZXMSBA095","通用助手与问答",[79,80,81],"vorburger profile","profile","personal",{"skillNo":83,"name":84,"nameZh":85,"description":86,"descriptionZh":87,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":94,"publishedAt":36},"01M6C12NWCGZ83F0WCSQR8TBC0","typescript-conventions","TypeScript 编码规范","Enforces TypeScript and project-specific coding standards, including Bun usage and the zero-warning policy. Use this skill when creating or modifying any TypeScript or configuration files.","强制执行 TypeScript 及项目特定的编码标准，包括 Bun 的使用和零警告策略。在创建或修改任何 TypeScript 或配置文件时使用此技能。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript-conventions\u002FSKILL.md",[90,91],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CAAMN19HMY7B3JXN2CBP29","工程实践准则",[95,96,97,98,99,35],"typescript conventions","typescript","policy","coding standards","ZeRO",{"skillNo":101,"name":33,"nameZh":102,"description":103,"descriptionZh":104,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":105,"categories":106,"keywords":113,"publishedAt":36},"01M6C12KVA8A1HDX56XKJQF93K","项目测试方案制定","Guidelines for determining how to test a project based on its contents.","根据项目内容确定如何进行测试的指南。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[107,110],{"categoryNo":108,"categoryName":109,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[33,114,115,116],"test","guidelines","how",{"skillNo":118,"name":119,"nameZh":120,"description":121,"descriptionZh":122,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":123,"categories":124,"keywords":131,"publishedAt":36},"01M6C12JK1GP5KP4AMKDY5AQJR","skills","Agent Skills 文件规范","Rules for Agent Skills files.","Agent Skills 文件的编写规则。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fskills\u002FSKILL.md",[125,128],{"categoryNo":126,"categoryName":127,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":129,"categoryName":130,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[132],"Rules",{"skillNo":134,"name":135,"nameZh":136,"description":137,"descriptionZh":138,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":143,"publishedAt":36},"01M6C12GTNMWM6NAB1ZAEJ20NE","scripting","脚本编写与执行规范","Conventions for writing and executing scripts (TS, Bash, etc.).","编写和执行脚本（TS、Bash 等）的约定规范。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fscripting\u002FSKILL.md",[141,142],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},[135,144,145],"Bash","writing",{"skillNo":147,"name":148,"nameZh":149,"description":150,"descriptionZh":151,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":152,"categories":153,"keywords":158,"publishedAt":36},"01M6C12F45S1D29YM5HMEAE10S","preferred-tools","常用任务首选工具","Preferred tools for common tasks like linting and link checking.","代码检查（linting）、链接检查等常见任务的首选工具。","https:\u002F\u002Fgithub.com\u002Fvorburger\u002Faifiles\u002Fblob\u002Fmain\u002Fskills\u002Fpreferred-tools\u002FSKILL.md",[154,155],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":156,"categoryName":157,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[159,160,161,162],"Tools","preferred tools","common","tasks"]