[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71AHR565WF7S2W3C45JD9W0":3,"skill-same:01M71AHR565WF7S2W3C45JD9W0":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M71AHR565WF7S2W3C45JD9W0","java-junit",null,"Get best practices for JUnit 5 unit testing, including data-driven tests","eiei114\u002Fclaude-code-template","eiei114","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F60887155?v=4","01M71AG644Y7ZYKMN5WQQY0NGA","01M71AG64WKT3DJGHWWJJH84HQ",0,"MIT","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fjava-junit\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"junit","java junit","java","unit","data-driven","get","for","testing","tests","data","unit testing","best practices","driven","2026-11-10 10:12:30",false,"---\nname: java-junit\ndescription: 'Get best practices for JUnit 5 unit testing, including data-driven tests'\n---\n\n# JUnit 5+ Best Practices\n\nYour goal is to help me write effective unit tests with JUnit 5, covering both standard and data-driven testing approaches.\n\n## Project Setup\n\n- Use a standard Maven or Gradle project structure.\n- Place test source code in `src\u002Ftest\u002Fjava`.\n- Include dependencies for `junit-jupiter-api`, `junit-jupiter-engine`, and `junit-jupiter-params` for parameterized tests.\n- Use build tool commands to run tests: `mvn test` or `gradle test`.\n\n## Test Structure\n\n- Test classes should have a `Test` suffix, e.g., `CalculatorTest` for a `Calculator` class.\n- Use `@Test` for test methods.\n- Follow the Arrange-Act-Assert (AAA) pattern.\n- Name tests using a descriptive convention, like `methodName_should_expectedBehavior_when_scenario`.\n- Use `@BeforeEach` and `@AfterEach` for per-test setup and teardown.\n- Use `@BeforeAll` and `@AfterAll` for per-class setup and teardown (must be static methods).\n- Use `@DisplayName` to provide a human-readable name for test classes and methods.\n\n## Standard Tests\n\n- Keep tests focused on a single behavior.\n- Avoid testing multiple conditions in one test method.\n- Make tests independent and idempotent (can run in any order).\n- Avoid test interdependencies.\n\n## Data-Driven (Parameterized) Tests\n\n- Use `@ParameterizedTest` to mark a method as a parameterized test.\n- Use `@ValueSource` for simple literal values (strings, ints, etc.).\n- Use `@MethodSource` to refer to a factory method that provides test arguments as a `Stream`, `Collection`, etc.\n- Use `@CsvSource` for inline comma-separated values.\n- Use `@CsvFileSource` to use a CSV file from the classpath.\n- Use `@EnumSource` to use enum constants.\n\n## Assertions\n\n- Use the static methods from `org.junit.jupiter.api.Assertions` (e.g., `assertEquals`, `assertTrue`, `assertNotNull`).\n- For more fluent and readable assertions, consider using a library like AssertJ (`assertThat(...).is...`).\n- Use `assertThrows` or `assertDoesNotThrow` to test for exceptions.\n- Group related assertions with `assertAll` to ensure all assertions are checked before the test fails.\n- Use descriptive messages in assertions to provide clarity on failure.\n\n## Mocking and Isolation\n\n- Use a mocking framework like Mockito to create mock objects for dependencies.\n- Use `@Mock` and `@InjectMocks` annotations from Mockito to simplify mock creation and injection.\n- Use interfaces to facilitate mocking.\n\n## Test Organization\n\n- Group tests by feature or component using packages.\n- Use `@Tag` to categorize tests (e.g., `@Tag(\"fast\")`, `@Tag(\"integration\")`).\n- Use `@TestMethodOrder(MethodOrderer.OrderAnnotation.class)` and `@Order` to control test execution order when strictly necessary.\n- Use `@Disabled` to temporarily skip a test method or class, providing a reason.\n- Use `@Nested` to group tests in a nested inner class for better organization and structure.\n","# JUnit 5+ Best Practices\n\nYour goal is to help me write effective unit tests with JUnit 5, covering both standard and data-driven testing approaches.\n\n## Project Setup\n\n- Use a standard Maven or Gradle project structure.\n- Place test source code in `src\u002Ftest\u002Fjava`.\n- Include dependencies for `junit-jupiter-api`, `junit-jupiter-engine`, and `junit-jupiter-params` for parameterized tests.\n- Use build tool commands to run tests: `mvn test` or `gradle test`.\n\n## Test Structure\n\n- Test classes should have a `Test` suffix, e.g., `CalculatorTest` for a `Calculator` class.\n- Use `@Test` for test methods.\n- Follow the Arrange-Act-Assert (AAA) pattern.\n- Name tests using a descriptive convention, like `methodName_should_expectedBehavior_when_scenario`.\n- Use `@BeforeEach` and `@AfterEach` for per-test setup and teardown.\n- Use `@BeforeAll` and `@AfterAll` for per-class setup and teardown (must be static methods).\n- Use `@DisplayName` to provide a human-readable name for test classes and methods.\n\n## Standard Tests\n\n- Keep tests focused on a single behavior.\n- Avoid testing multiple conditions in one test method.\n- Make tests independent and idempotent (can run in any order).\n- Avoid test interdependencies.\n\n## Data-Driven (Parameterized) Tests\n\n- Use `@ParameterizedTest` to mark a method as a parameterized test.\n- Use `@ValueSource` for simple literal values (strings, ints, etc.).\n- Use `@MethodSource` to refer to a factory method that provides test arguments as a `Stream`, `Collection`, etc.\n- Use `@CsvSource` for inline comma-separated values.\n- Use `@CsvFileSource` to use a CSV file from the classpath.\n- Use `@EnumSource` to use enum constants.\n\n## Assertions\n\n- Use the static methods from `org.junit.jupiter.api.Assertions` (e.g., `assertEquals`, `assertTrue`, `assertNotNull`).\n- For more fluent and readable assertions, consider using a library like AssertJ (`assertThat(...).is...`).\n- Use `assertThrows` or `assertDoesNotThrow` to test for exceptions.\n- Group related assertions with `assertAll` to ensure all assertions are checked before the test fails.\n- Use descriptive messages in assertions to provide clarity on failure.\n\n## Mocking and Isolation\n\n- Use a mocking framework like Mockito to create mock objects for dependencies.\n- Use `@Mock` and `@InjectMocks` annotations from Mockito to simplify mock creation and injection.\n- Use interfaces to facilitate mocking.\n\n## Test Organization\n\n- Group tests by feature or component using packages.\n- Use `@Tag` to categorize tests (e.g., `@Tag(\"fast\")`, `@Tag(\"integration\")`).\n- Use `@TestMethodOrder(MethodOrderer.OrderAnnotation.class)` and `@Order` to control test execution order when strictly necessary.\n- Use `@Disabled` to temporarily skip a test method or class, providing a reason.\n- Use `@Nested` to group tests in a nested inner class for better organization and structure.\n",{"name":5,"description":7},"main","7959c7e2d5ebcd9c684c4372eaa278dac53a1805","skills\u002Fjava-junit","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template","https:\u002F\u002Fgithub.com\u002Feiei114","https:\u002F\u002Fspot-camelotia-ca8.notion.site\u002FPortfolio-66f9a6d667d84785afe1cecfea0fd2ab","Roblox & UEFN Engineer","2026-04-19 15:32:22",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add eiei114\u002Fclaude-code-template --skill java-junit",{"tool":50,"command":51},"bunx","bunx skills add eiei114\u002Fclaude-code-template --skill java-junit",{"tool":53,"command":54},"pnpm","pnpm dlx skills add eiei114\u002Fclaude-code-template --skill java-junit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fjava-junit\u002FSKILL.md",true,[],[59,75,91,114,138,161],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":31},"01M71AKWNFHFZ3R213KZZ02NV3","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[66,67,68,69,70,71,72,73,74],"writing","writing skills","work","editing","deployment","use","Existing","new","when",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":31},"01M71AKV2MQCJ0MYHT0JQ3N7T8","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[82,83,66,24,84,85,86,87,88,89,74,71,90],"writing plans","plans","multi","spec","multi-step task","code","requirements","you","task",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":31},"01M71AKSFECF023Y09S63M71MW","write-a-prd","Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-prd\u002FSKILL.md",[],[98,99,100,101,74,102,71,73,103,104,105,106,107,108,109,110,111,112,113,88],"write","write a prd","prd","codebase exploration","document","module","design","submit","feature","exploration","as","interview","user interview","plan","new feature","create",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":118,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":31},"01M71AKQNV0SWR65KYTXV5PNTZ","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[123,25,124,125,126,127,128,129,130,131,132,133,134,135,136,137,24],"webapp testing","webapp","local","ui","behavior","web","playwright","with","browser","logs","toolkit","debugging","frontend","screenshots","applications",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":118,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":31},"01M71AKMVPPNG5S07QXZACP049","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[146,128,147,148,149,150,135,151,152,24,153,154,71,155,156,157,84,158,159,160],"web artifacts builder","artifacts","artifacts builder","builder","single","ui components","Tailwind","css","single-file","state management","routing","state","react","components","file",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":31},"01M71AKHAW8VXPPM2PM22H2P4Q","verification-before-completion","Use 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 always","https:\u002F\u002Fgithub.com\u002Feiei114\u002Fclaude-code-template\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[168,169,170,171,172,68,173,74,174,71,175,176,177,178,179],"verification before completion","verification","claims","commands","about","output","assertions","claim","prs","complete","evidence","running"]