[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AKEHNKKFGYE3ECEX9EP2K5":3,"skill-same:01M7AKEHNKKFGYE3ECEX9EP2K5":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AKEHNKKFGYE3ECEX9EP2K5","quarkus-tdd",null,"JUnit 5、Mockito、REST Assured、Camelテスト、JaCoCoを使用したQuarkus 3.xのテスト駆動開発。機能追加、バグ修正、またはイベント駆動サービスのリファクタリング時に使用。","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fdocs\u002Fja-JP\u002Fskills\u002Fquarkus-tdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: quarkus-tdd\ndescription: JUnit 5、Mockito、REST Assured、Camelテスト、JaCoCoを使用したQuarkus 3.xのテスト駆動開発。機能追加、バグ修正、またはイベント駆動サービスのリファクタリング時に使用。\norigin: ECC\n---\n\n# Quarkus TDD Workflow\n\n80%以上のカバレッジ（ユニット+統合）を備えたQuarkus 3.xサービスのTDD指導。Apache Camelを使用したイベント駆動アーキテクチャに最適化。\n\n## When to Use\n\n- 新機能またはRESTエンドポイント\n- バグ修正またはリファクタリング\n- データアクセスロジック、セキュリティルール、またはリアクティブストリーム追加\n- Apache Camelルートとイベントハンドラーテスト\n- RabbitMQを使用したイベント駆動サービステスト\n- 条件フローロジック検証\n- CompletableFuture非同期操作検証\n- LogContextプロパゲーション テスト\n\n## Workflow\n\n1. テストを先に書く（失敗するはず）\n2. 最小限のコードで合格実装\n3. テストが緑の状態でリファクタリング\n4. JaCoCoでカバレッジ実装（80%以上を目標）\n\n## Unit Tests with @Nested Organization\n\n包括的で読みやすいテストのため、以下の構造化されたアプローチに従います：\n\n```java\n@ExtendWith(MockitoExtension.class)\n@DisplayName(\"OrderService Unit Tests\")\nclass OrderServiceTest {\n\n  @Mock\n  private OrderRepository orderRepository;\n\n  @Mock\n  private EventService eventService;\n\n  @Mock\n  private FulfillmentPublisher fulfillmentPublisher;\n\n  @InjectMocks\n  private OrderService orderService;\n\n  private CreateOrderCommand validCommand;\n\n  @BeforeEach\n  void setUp() {\n    validCommand = new CreateOrderCommand(\n        \"customer-123\",\n        List.of(new OrderLine(\"sku-123\", 2))\n    );\n  }\n\n  @Nested\n  @DisplayName(\"createOrder のテスト\")\n  class CreateOrder {\n\n    @Test\n    @DisplayName(\"有効なコマンドが与えられた場合、注文を永続化してフルフィルメントイベントを発行する\")\n    void givenValidCommand_whenCreateOrder_thenPersistsAndPublishes() {\n      \u002F\u002F ARRANGE\n      doNothing().when(orderRepository).persist(any(Order.class));\n\n      \u002F\u002F ACT\n      OrderReceipt receipt = orderService.createOrder(validCommand);\n\n      \u002F\u002F ASSERT\n      assertThat(receipt).isNotNull();\n      assertThat(receipt.customerId()).isEqualTo(\"customer-123\");\n      verify(orderRepository).persist(any(Order.class));\n      verify(fulfillmentPublisher).publishAsync(receipt);\n      verify(eventService).createSuccessEvent(receipt, \"ORDER_CREATED\");\n    }\n\n    @Test\n    @DisplayName(\"顧客IDが無い場合、BadRequestをスロー\")\n    void givenMissingCustomerId_whenCreateOrder_thenThrowsBadRequest() {\n      \u002F\u002F ARRANGE\n      CreateOrderCommand invalid = new CreateOrderCommand(\"\", validCommand.lines());\n\n      \u002F\u002F ACT & ASSERT\n      WebApplicationException exception = assertThrows(\n          WebApplicationException.class,\n          () -> orderService.createOrder(invalid)\n      );\n\n      assertThat(exception.getResponse().getStatus()).isEqualTo(400);\n      verify(orderRepository, never()).persist(any(Order.class));\n      verify(fulfillmentPublisher, never()).publishAsync(any());\n    }\n\n    @Test\n    @DisplayName(\"永続化失敗時、エラーイベントを記録\")\n    void givenPersistenceFailure_whenCreateOrder_thenRecordsErrorEvent() {\n      \u002F\u002F ARRANGE\n      doThrow(new PersistenceException(\"database unavailable\"))\n          .when(orderRepository).persist(any(Order.class));\n\n      \u002F\u002F ACT & ASSERT\n      PersistenceException exception = assertThrows(\n          PersistenceException.class,\n          () -> orderService.createOrder(validCommand)\n      );\n\n      assertThat(exception.getMessage()).contains(\"database unavailable\");\n      verify(eventService).createErrorEvent(\n          eq(validCommand),\n          eq(\"ORDER_CREATE_FAILED\"),\n          contains(\"database unavailable\")\n      );\n      verify(fulfillmentPublisher, never()).publishAsync(any());\n    }\n\n    @Test\n    @DisplayName(\"nullコマンドが与えられた場合、NullPointerExceptionをスロー\")\n    void givenNullCommand_whenCreateOrder_thenThrowsNullPointerException() {\n      \u002F\u002F ACT & ASSERT\n      assertThrows(\n          NullPointerException.class,\n          () -> orderService.createOrder(null)\n      );\n\n      verify(orderRepository, never()).persist(any(Order.class));\n    }\n  }\n}\n```\n\n### Key Testing Patterns\n\n1. **@Nested クラス**: テストするメソッド別にテストをグループ化\n2. **@DisplayName**: テストレポート用の読みやすい説明提供\n3. **命名規則**: 明確性のため `givenX_whenY_thenZ`\n4. **AAA パターン**: 明示的な `\u002F\u002F ARRANGE`, `\u002F\u002F ACT`, `\u002F\u002F ASSERT` コメント\n5. **@BeforeEach**: 重複削減のためテストデータを共通設定\n6. **assertDoesNotThrow**: 例外をキャッチせずに成功シナリオをテスト\n7. **assertThrows**: AssertJを使用したメッセージ検証で例外シナリオをテスト\n8. **包括的カバレッジ**: 正常系、null入力、エッジケース、例外をテスト\n9. **相互作用検証**: Mockito `verify()` でメソッド呼び出しが正しく行われたか確認\n10. **Never検証**: `never()` でエラーシナリオでメソッドが呼ばれていないことを確認\n\n## Testing Camel Routes\n\n```java\n@QuarkusTest\n@DisplayName(\"Business Rules Camel Route Tests\")\nclass BusinessRulesRouteTest {\n\n  @Inject\n  CamelContext camelContext;\n\n  @Inject\n  ProducerTemplate producerTemplate;\n\n  @InjectMock\n  EventService eventService;\n\n  @InjectMock\n  DocumentValidator documentValidator;\n\n  private BusinessRulesPayload testPayload;\n\n  @BeforeEach\n  void setUp() {\n    \u002F\u002F ARRANGE - テストデータ\n    testPayload = new BusinessRulesPayload();\n    testPayload.setDocumentId(1L);\n    testPayload.setFlowProfile(FlowProfile.BASIC);\n  }\n\n  @Nested\n  @DisplayName(\"business-rules-publisher ルートのテスト\")\n  class BusinessRulesPublisher {\n\n    @Test\n    @DisplayName(\"有効なペイロードが与えられた場合、メッセージをRabbitMQに送信\")\n    void givenValidPayload_whenPublish_thenMessageSentToQueue() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockRabbitMQ = camelContext.getEndpoint(\"mock:rabbitmq\", MockEndpoint.class);\n      mockRabbitMQ.expectedMessageCount(1);\n\n      \u002F\u002F テスト用の実エンドポイントをモックに置き換え\n      camelContext.getRouteController().stopRoute(\"business-rules-publisher\");\n      AdviceWith.adviceWith(camelContext, \"business-rules-publisher\", advice -> {\n        advice.replaceFromWith(\"direct:business-rules-publisher\");\n        advice.weaveByToString(\".*spring-rabbitmq.*\").replace().to(\"mock:rabbitmq\");\n      });\n      camelContext.getRouteController().startRoute(\"business-rules-publisher\");\n\n      \u002F\u002F ACT\n      producerTemplate.sendBody(\"direct:business-rules-publisher\", testPayload);\n\n      \u002F\u002F ASSERT — .marshal().json(JsonLibrary.Jackson)の後、bodyはJSON文字列\n      mockRabbitMQ.assertIsSatisfied(5000);\n\n      assertThat(mockRabbitMQ.getExchanges()).hasSize(1);\n      String body = mockRabbitMQ.getExchanges().get(0).getIn().getBody(String.class);\n      assertThat(body).contains(\"\\\"documentId\\\":1\");\n    }\n\n    @Test\n    @DisplayName(\"ペイロード与えられた場合、JSONに整形\")\n    void givenPayload_whenPublish_thenMarshalledToJson() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockMarshal = new MockEndpoint(\"mock:marshal\");\n      camelContext.addEndpoint(\"mock:marshal\", mockMarshal);\n      mockMarshal.expectedMessageCount(1);\n\n      camelContext.getRouteController().stopRoute(\"business-rules-publisher\");\n      AdviceWith.adviceWith(camelContext, \"business-rules-publisher\", advice -> {\n        advice.weaveAddLast().to(\"mock:marshal\");\n      });\n      camelContext.getRouteController().startRoute(\"business-rules-publisher\");\n\n      \u002F\u002F ACT\n      producerTemplate.sendBody(\"direct:business-rules-publisher\", testPayload);\n\n      \u002F\u002F ASSERT\n      mockMarshal.assertIsSatisfied(5000);\n\n      String body = mockMarshal.getExchanges().get(0).getIn().getBody(String.class);\n      assertThat(body).contains(\"\\\"documentId\\\":1\");\n      assertThat(body).contains(\"\\\"flowProfile\\\":\\\"BASIC\\\"\");\n    }\n  }\n\n  @Nested\n  @DisplayName(\"document-processing ルートのテスト\")\n  class DocumentProcessing {\n\n    @Test\n    @DisplayName(\"請求書タイプが与えられた場合、正しいプロセッサーにルーティング\")\n    void givenInvoiceType_whenProcess_thenRoutesToInvoiceProcessor() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockInvoice = camelContext.getEndpoint(\"mock:invoice\", MockEndpoint.class);\n      mockInvoice.expectedMessageCount(1);\n\n      camelContext.getRouteController().stopRoute(\"document-processing\");\n      AdviceWith.adviceWith(camelContext, \"document-processing\", advice -> {\n        advice.weaveByToString(\".*direct:process-invoice.*\").replace().to(\"mock:invoice\");\n      });\n      camelContext.getRouteController().startRoute(\"document-processing\");\n\n      \u002F\u002F ACT\n      producerTemplate.sendBodyAndHeader(\"direct:process-document\",\n          testPayload, \"documentType\", \"INVOICE\");\n\n      \u002F\u002F ASSERT\n      mockInvoice.assertIsSatisfied(5000);\n    }\n\n    @Test\n    @DisplayName(\"検証エラーが与えられた場合、エラーハンドラーにルーティング\")\n    void givenValidationError_whenProcess_thenRoutesToErrorHandler() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockError = camelContext.getEndpoint(\"mock:error\", MockEndpoint.class);\n      mockError.expectedMessageCount(1);\n\n      camelContext.getRouteController().stopRoute(\"document-processing\");\n      AdviceWith.adviceWith(camelContext, \"document-processing\", advice -> {\n        advice.weaveByToString(\".*direct:validation-error-handler.*\")\n            .replace().to(\"mock:error\");\n      });\n      camelContext.getRouteController().startRoute(\"document-processing\");\n\n      \u002F\u002F バリデータビーンをモック化して例外をスロー\n      when(documentValidator.validate(any())).thenThrow(new ValidationException(\"Invalid document\"));\n\n      \u002F\u002F ACT\n      producerTemplate.sendBody(\"direct:process-document\", testPayload);\n\n      \u002F\u002F ASSERT\n      mockError.assertIsSatisfied(5000);\n\n      Exception exception = mockError.getExchanges().get(0).getException();\n      assertThat(exception).isInstanceOf(ValidationException.class);\n      assertThat(exception.getMessage()).contains(\"Invalid document\");\n    }\n  }\n}\n```\n\n## Testing Event Services\n\n```java\n@ExtendWith(MockitoExtension.class)\n@DisplayName(\"EventService Unit Tests\")\nclass EventServiceTest {\n\n  @Mock\n  private EventRepository eventRepository;\n\n  @Mock\n  private ObjectMapper objectMapper;\n\n  @InjectMocks\n  private EventService eventService;\n\n  private BusinessRulesPayload testPayload;\n\n  @BeforeEach\n  void setUp() {\n    \u002F\u002F ARRANGE\n    testPayload = new BusinessRulesPayload();\n    testPayload.setDocumentId(1L);\n  }\n\n  @Nested\n  @DisplayName(\"createSuccessEvent のテスト\")\n  class CreateSuccessEvent {\n\n    @Test\n    @DisplayName(\"有効なペイロードが与えられた場合、正しい属性でサクセスイベント作成\")\n    void givenValidPayload_whenCreateSuccessEvent_thenEventPersisted() throws Exception {\n      \u002F\u002F ARRANGE\n      when(objectMapper.writeValueAsString(testPayload)).thenReturn(\"{\\\"documentId\\\":1}\");\n\n      \u002F\u002F ACT\n      assertDoesNotThrow(() ->\n          eventService.createSuccessEvent(testPayload, \"DOCUMENT_PROCESSED\"));\n\n      \u002F\u002F ASSERT\n      verify(eventRepository).persist(argThat(event ->\n          event.getType().equals(\"DOCUMENT_PROCESSED\") &&\n          event.getStatus() == EventStatus.SUCCESS &&\n          event.getPayload().equals(\"{\\\"documentId\\\":1}\") &&\n          event.getTimestamp() != null\n      ));\n    }\n\n    @Test\n    @DisplayName(\"nullペイロードが与えられた場合、例外をスロー\")\n    void givenNullPayload_whenCreateSuccessEvent_thenThrowsException() {\n      \u002F\u002F ARRANGE\n      Object nullPayload = null;\n\n      \u002F\u002F ACT & ASSERT\n      NullPointerException exception = assertThrows(\n          NullPointerException.class,\n          () -> eventService.createSuccessEvent(nullPayload, \"EVENT_TYPE\")\n      );\n\n      assertThat(exception.getMessage()).isEqualTo(\"Payload cannot be null\");\n      verify(eventRepository, never()).persist(any());\n    }\n  }\n\n  @Nested\n  @DisplayName(\"createErrorEvent のテスト\")\n  class CreateErrorEvent {\n\n    @Test\n    @DisplayName(\"エラーが与えられた場合、エラーメッセージ付きエラーイベント作成\")\n    void givenError_whenCreateErrorEvent_thenEventPersistedWithMessage() throws Exception {\n      \u002F\u002F ARRANGE\n      String errorMessage = \"Processing failed\";\n      when(objectMapper.writeValueAsString(testPayload)).thenReturn(\"{\\\"documentId\\\":1}\");\n\n      \u002F\u002F ACT\n      assertDoesNotThrow(() ->\n          eventService.createErrorEvent(testPayload, \"PROCESSING_ERROR\", errorMessage));\n\n      \u002F\u002F ASSERT\n      verify(eventRepository).persist(argThat(event ->\n          event.getType().equals(\"PROCESSING_ERROR\") &&\n          event.getStatus() == EventStatus.ERROR &&\n          event.getErrorMessage().equals(errorMessage) &&\n          event.getPayload().equals(\"{\\\"documentId\\\":1}\")\n      ));\n    }\n\n    @ParameterizedTest\n    @DisplayName(\"不正なエラーメッセージが与えられた場合、例外をスロー\")\n    @ValueSource(strings = {\"\", \" \"})\n    void givenBlankErrorMessage_whenCreateErrorEvent_thenThrowsException(String blankMessage) {\n      \u002F\u002F ACT & ASSERT\n      IllegalArgumentException exception = assertThrows(\n          IllegalArgumentException.class,\n          () -> eventService.createErrorEvent(testPayload, \"ERROR\", blankMessage)\n      );\n\n      assertThat(exception.getMessage()).contains(\"Error message cannot be blank\");\n    }\n  }\n}\n```\n\n## Testing CompletableFuture\n\n```java\n@ExtendWith(MockitoExtension.class)\n@DisplayName(\"FileStorageService Unit Tests\")\nclass FileStorageServiceTest {\n\n  @Mock\n  private S3Client s3Client;\n\n  @Mock\n  private ExecutorService executorService;\n\n  @InjectMocks\n  private FileStorageService fileStorageService;\n\n  private InputStream testInputStream;\n  private LogContext testLogContext;\n\n  @BeforeEach\n  void setUp() {\n    \u002F\u002F ARRANGE\n    testInputStream = new ByteArrayInputStream(\"test content\".getBytes());\n    testLogContext = new LogContext();\n    testLogContext.put(\"traceId\", \"trace-123\");\n  }\n\n  @Nested\n  @DisplayName(\"uploadOriginalFile のテスト\")\n  class UploadOriginalFile {\n\n    @Test\n    @DisplayName(\"有効なファイルが与えられた場合、ファイルアップロード成功とドキュメント情報を返す\")\n    void givenValidFile_whenUpload_thenReturnsDocumentInfo() throws Exception {\n      \u002F\u002F ARRANGE\n      doAnswer(invocation -> {\n        ((Runnable) invocation.getArgument(0)).run();\n        return null;\n      }).when(executorService).execute(any(Runnable.class));\n\n      when(s3Client.putObject(any(PutObjectRequest.class), any(RequestBody.class)))\n          .thenReturn(PutObjectResponse.builder().build());\n\n      \u002F\u002F ACT\n      CompletableFuture\u003CStoredDocumentInfo> future =\n          fileStorageService.uploadOriginalFile(testInputStream, 1024L,\n              testLogContext, InvoiceFormat.UBL);\n\n      StoredDocumentInfo result = future.join();\n\n      \u002F\u002F ASSERT\n      assertThat(result).isNotNull();\n      assertThat(result.getPath()).isNotBlank();\n      assertThat(result.getSize()).isEqualTo(1024L);\n      assertThat(result.getUploadedAt()).isNotNull();\n\n      verify(s3Client).putObject(any(PutObjectRequest.class), any(RequestBody.class));\n    }\n\n    @Test\n    @DisplayName(\"S3アップロード失敗が与えられた場合、CompletableFutureが失敗\")\n    void givenS3Failure_whenUpload_thenCompletableFutureFails() {\n      \u002F\u002F ARRANGE — 例外がfutureを通じてプロパゲートされるように同期実行\n      doAnswer(invocation -> {\n        ((Runnable) invocation.getArgument(0)).run();\n        return null;\n      }).when(executorService).execute(any(Runnable.class));\n\n      when(s3Client.putObject(any(PutObjectRequest.class), any(RequestBody.class)))\n          .thenThrow(new StorageException(\"S3 unavailable\"));\n\n      \u002F\u002F ACT\n      CompletableFuture\u003CStoredDocumentInfo> future =\n          fileStorageService.uploadOriginalFile(testInputStream, 1024L,\n              testLogContext, InvoiceFormat.UBL);\n\n      \u002F\u002F ASSERT\n      assertThatThrownBy(() -> future.join())\n          .isInstanceOf(CompletionException.class)\n          .hasCauseInstanceOf(StorageException.class)\n          .hasMessageContaining(\"S3 unavailable\");\n    }\n\n    @Test\n    @DisplayName(\"LogContextが与えられた場合、非同期操作にコンテキストをプロパゲート\")\n    void givenLogContext_whenUpload_thenContextPropagated() throws Exception {\n      \u002F\u002F ARRANGE\n      AtomicReference\u003CLogContext> capturedContext = new AtomicReference\u003C>();\n\n      doAnswer(invocation -> {\n        capturedContext.set(CustomLog.getCurrentContext());\n        ((Runnable) invocation.getArgument(0)).run();\n        return null;\n      }).when(executorService).execute(any(Runnable.class));\n\n      \u002F\u002F ACT\n      fileStorageService.uploadOriginalFile(testInputStream, 1024L,\n          testLogContext, InvoiceFormat.UBL).join();\n\n      \u002F\u002F ASSERT\n      assertThat(capturedContext.get()).isNotNull();\n      assertThat(capturedContext.get().get(\"traceId\")).isEqualTo(\"trace-123\");\n    }\n  }\n}\n```\n\n## Resource Layer Tests (REST Assured)\n\n```java\n@QuarkusTest\n@DisplayName(\"DocumentResource API Tests\")\nclass DocumentResourceTest {\n\n  @InjectMock\n  DocumentService documentService;\n\n  @Nested\n  @DisplayName(\"GET \u002Fapi\u002Fdocuments のテスト\")\n  class ListDocuments {\n\n    @Test\n    @DisplayName(\"ドキュメントが存在する場合、ドキュメント一覧を返す\")\n    void givenDocumentsExist_whenList_thenReturnsOk() {\n      \u002F\u002F ARRANGE\n      List\u003CDocument> documents = List.of(createDocument(1L, \"DOC-001\"));\n      when(documentService.list(0, 20)).thenReturn(documents);\n\n      \u002F\u002F ACT & ASSERT\n      given()\n          .when().get(\"\u002Fapi\u002Fdocuments\")\n          .then()\n          .statusCode(200)\n          .body(\"$.size()\", is(1))\n          .body(\"[0].referenceNumber\", equalTo(\"DOC-001\"));\n    }\n  }\n\n  @Nested\n  @DisplayName(\"POST \u002Fapi\u002Fdocuments のテスト\")\n  class CreateDocument {\n\n    @Test\n    @DisplayName(\"有効なリクエストが与えられた場合、ドキュメント作成して201を返す\")\n    void givenValidRequest_whenCreate_thenReturns201() {\n      \u002F\u002F ARRANGE\n      Document document = createDocument(1L, \"DOC-001\");\n      when(documentService.create(any())).thenReturn(document);\n\n      \u002F\u002F ACT & ASSERT\n      given()\n          .contentType(ContentType.JSON)\n          .body(\"\"\"\n              {\n                \"referenceNumber\": \"DOC-001\",\n                \"description\": \"Test document\",\n                \"validUntil\": \"2030-01-01T00:00:00Z\",\n                \"categories\": [\"test\"]\n              }\n              \"\"\")\n          .when().post(\"\u002Fapi\u002Fdocuments\")\n          .then()\n          .statusCode(201)\n          .header(\"Location\", containsString(\"\u002Fapi\u002Fdocuments\u002F1\"))\n          .body(\"referenceNumber\", equalTo(\"DOC-001\"));\n    }\n\n    @Test\n    @DisplayName(\"不正なリクエストが与えられた場合、400を返す\")\n    void givenInvalidRequest_whenCreate_thenReturns400() {\n      \u002F\u002F ACT & ASSERT\n      given()\n          .contentType(ContentType.JSON)\n          .body(\"\"\"\n              {\n                \"referenceNumber\": \"\",\n                \"description\": \"Test\"\n              }\n              \"\"\")\n          .when().post(\"\u002Fapi\u002Fdocuments\")\n          .then()\n          .statusCode(400);\n    }\n  }\n\n  private Document createDocument(Long id, String referenceNumber) {\n    Document document = new Document();\n    document.setId(id);\n    document.setReferenceNumber(referenceNumber);\n    document.setStatus(DocumentStatus.PENDING);\n    return document;\n  }\n}\n```\n\n## Integration Tests with Real Database\n\n```java\n@QuarkusTest\n@TestProfile(IntegrationTestProfile.class)\n@DisplayName(\"Document Integration Tests\")\nclass DocumentIntegrationTest {\n\n  @Test\n  @Transactional\n  @DisplayName(\"新規ドキュメントをAPIで作成・取得、成功する\")\n  void givenNewDocument_whenCreateAndRetrieve_thenSuccessful() {\n    \u002F\u002F ACT - APIで作成\n    Long id = given()\n        .contentType(ContentType.JSON)\n        .body(\"\"\"\n            {\n              \"referenceNumber\": \"INT-001\",\n              \"description\": \"Integration test\",\n              \"validUntil\": \"2030-01-01T00:00:00Z\",\n              \"categories\": [\"test\"]\n            }\n            \"\"\")\n        .when().post(\"\u002Fapi\u002Fdocuments\")\n        .then()\n        .statusCode(201)\n        .extract().path(\"id\");\n\n    \u002F\u002F ASSERT - APIで取得\n    given()\n        .when().get(\"\u002Fapi\u002Fdocuments\u002F\" + id)\n        .then()\n        .statusCode(200)\n        .body(\"referenceNumber\", equalTo(\"INT-001\"));\n  }\n}\n```\n\n## Coverage with JaCoCo\n\n### Maven Configuration (Complete)\n\n```xml\n\u003Cplugin>\n  \u003CgroupId>org.jacoco\u003C\u002FgroupId>\n  \u003CartifactId>jacoco-maven-plugin\u003C\u002FartifactId>\n  \u003Cversion>0.8.13\u003C\u002Fversion>\n  \u003Cexecutions>\n    \u003C!-- テスト実行用エージェント準備 -->\n    \u003Cexecution>\n      \u003Cid>prepare-agent\u003C\u002Fid>\n      \u003Cgoals>\n        \u003Cgoal>prepare-agent\u003C\u002Fgoal>\n      \u003C\u002Fgoals>\n    \u003C\u002Fexecution>\n\n    \u003C!-- カバレッジレポート生成 -->\n    \u003Cexecution>\n      \u003Cid>report\u003C\u002Fid>\n      \u003Cphase>verify\u003C\u002Fphase>\n      \u003Cgoals>\n        \u003Cgoal>report\u003C\u002Fgoal>\n      \u003C\u002Fgoals>\n    \u003C\u002Fexecution>\n\n    \u003C!-- カバレッジ閾値を強制 -->\n    \u003Cexecution>\n      \u003Cid>check\u003C\u002Fid>\n      \u003Cgoals>\n        \u003Cgoal>check\u003C\u002Fgoal>\n      \u003C\u002Fgoals>\n      \u003Cconfiguration>\n        \u003Crules>\n          \u003Crule>\n            \u003Celement>BUNDLE\u003C\u002Felement>\n            \u003Climits>\n              \u003Climit>\n                \u003Ccounter>LINE\u003C\u002Fcounter>\n                \u003Cvalue>COVEREDRATIO\u003C\u002Fvalue>\n                \u003Cminimum>0.80\u003C\u002Fminimum>\n              \u003C\u002Flimit>\n              \u003Climit>\n                \u003Ccounter>BRANCH\u003C\u002Fcounter>\n                \u003Cvalue>COVEREDRATIO\u003C\u002Fvalue>\n                \u003Cminimum>0.70\u003C\u002Fminimum>\n              \u003C\u002Flimit>\n            \u003C\u002Flimits>\n          \u003C\u002Frule>\n        \u003C\u002Frules>\n      \u003C\u002Fconfiguration>\n    \u003C\u002Fexecution>\n  \u003C\u002Fexecutions>\n\u003C\u002Fplugin>\n```\n\nカバレッジ付きテスト実行:\n```bash\nmvn clean test\nmvn jacoco:report\nmvn jacoco:check\n\n# レポート: target\u002Fsite\u002Fjacoco\u002Findex.html\n```\n\n## Test Dependencies\n\n```xml\n\u003Cdependencies>\n    \u003C!-- Quarkus Testing -->\n    \u003Cdependency>\n        \u003CgroupId>io.quarkus\u003C\u002FgroupId>\n        \u003CartifactId>quarkus-junit5\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n    \u003Cdependency>\n        \u003CgroupId>io.quarkus\u003C\u002FgroupId>\n        \u003CartifactId>quarkus-junit5-mockito\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- Mockito -->\n    \u003Cdependency>\n        \u003CgroupId>org.mockito\u003C\u002FgroupId>\n        \u003CartifactId>mockito-core\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- AssertJ（JUnitアサーション推奨） -->\n    \u003Cdependency>\n        \u003CgroupId>org.assertj\u003C\u002FgroupId>\n        \u003CartifactId>assertj-core\u003C\u002FartifactId>\n        \u003Cversion>3.24.2\u003C\u002Fversion>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- REST Assured -->\n    \u003Cdependency>\n        \u003CgroupId>io.rest-assured\u003C\u002FgroupId>\n        \u003CartifactId>rest-assured\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- Camel Testing -->\n    \u003Cdependency>\n        \u003CgroupId>org.apache.camel.quarkus\u003C\u002FgroupId>\n        \u003CartifactId>camel-quarkus-junit5\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\u003C\u002Fdependencies>\n```\n\n## Best Practices\n\n### テスト組織\n- テストするメソッド別にグループ化するため`@Nested`クラス使用\n- レポートで見やすいテスト説明のため`@DisplayName`使用\n- テストメソッド命名は`givenX_whenY_thenZ`規則に従う\n- 重複削減のため@BeforeEachで共通テストデータ設定\n\n### テスト構造\n- 明示的コメント（`\u002F\u002F ARRANGE`, `\u002F\u002F ACT`, `\u002F\u002F ASSERT`）でAAAパターン従う\n- 成功シナリオでは`assertDoesNotThrow`使用\n- 例外シナリオではメッセージ検証と共に`assertThrows`使用\n- AssertJ `contains()`または`isEqualTo()`で例外メッセージ検証\n\n### テストカバレッジ\n- 全パブリックメソッドの正常系パスをテスト\n- null入力ハンドリングテスト\n- エッジケース（空のコレクション、境界値、負のID、空文字列）テスト\n- 例外シナリオを包括的にテスト\n- 外部依存関係（リポジトリ、サービス、Camelエンドポイント）をモック化\n- 80%以上の行カバレッジ、70%以上のブランチカバレッジ目指す\n\n### アサーション\n- **AssertJ推奨**（JUnitアサーション代わりに`assertThat`使用）\n- 読みやすさのため流暢なAssertJ API使用：`assertThat(list).hasSize(3).contains(item)`\n- 例外は、JUnit `assertThrows`でキャプチャ、AssertJでメッセージ検証\n- 非スロー成功パスはJUnit `assertDoesNotThrow`使用\n- コレクションには`extracting()`, `filteredOn()`, `containsExactly()`使用\n\n### 統合テスト\n- 統合テスト用に`@QuarkusTest`使用\n- Quarkusテストの依存関係モック化に`@InjectMock`使用\n- APIテストに REST Assured優先使用\n- テスト固有設定に`@TestProfile`使用\n\n### イベント駆動テスト\n- `AdviceWith`と`MockEndpoint`でCamelルートテスト\n- 必要に応じて`@CamelQuarkusTest`注釈使用（スタンドアロンCamelテスト）\n- メッセージ内容、ヘッダー、ルーティングロジック検証\n- エラーハンドリングルートを別個にテスト\n- ユニットテストで外部システム（RabbitMQ、S3、データベース）をモック化\n\n### Camel ルートテスト\n- メッセージフロー確認に`MockEndpoint`使用\n- テスト用ルート変更にエンドポイントをモックに置き換える`AdviceWith`使用\n- メッセージ変換と整形テスト\n- 例外処理とデッドレターキューテスト\n\n### 非同期操作テスト\n- CompletableFutureの成功・失敗シナリオテスト\n- 非同期完了待機に`.join()`使用\n- CompletableFutureから例外プロパゲーション検証\n- 非同期操作へのLogContextプロパゲーション検証\n\n### パフォーマンス\n- テストを高速で分離した状態に保つ\n- 継続モードでテスト実行：`mvn quarkus:test`\n- 入力バリエーション用に パラメータ化テスト（`@ParameterizedTest`）使用\n- 再利用可能なテストデータビルダーまたはファクトリメソッド構築\n\n### Quarkus固有\n- 最新LTSバージョン（Quarkus 3.x）に留める\n- 定期的にネイティブコンパイル互換性テスト\n- 異なるシナリオでQuarkusテストプロファイル活用\n- ローカルテストにQuarkus dev サービス活用\n- `@MockBean`代わりに`@InjectMock`（Quarkus固有）使用\n\n### 検証ベストプラクティス\n- モック化された依存関係の相互作用は常に検証\n- エラーシナリオでメソッドが呼ばれていないことを確認するに`verify(mock, never())`使用\n- 複雑な引数マッチングに`argThat()`使用\n- 呼び出し順序が重要な場合`InOrder`（Mockitoから）で検証\n","# Quarkus TDD Workflow\n\n80%以上のカバレッジ（ユニット+統合）を備えたQuarkus 3.xサービスのTDD指導。Apache Camelを使用したイベント駆動アーキテクチャに最適化。\n\n## When to Use\n\n- 新機能またはRESTエンドポイント\n- バグ修正またはリファクタリング\n- データアクセスロジック、セキュリティルール、またはリアクティブストリーム追加\n- Apache Camelルートとイベントハンドラーテスト\n- RabbitMQを使用したイベント駆動サービステスト\n- 条件フローロジック検証\n- CompletableFuture非同期操作検証\n- LogContextプロパゲーション テスト\n\n## Workflow\n\n1. テストを先に書く（失敗するはず）\n2. 最小限のコードで合格実装\n3. テストが緑の状態でリファクタリング\n4. JaCoCoでカバレッジ実装（80%以上を目標）\n\n## Unit Tests with @Nested Organization\n\n包括的で読みやすいテストのため、以下の構造化されたアプローチに従います：\n\n```java\n@ExtendWith(MockitoExtension.class)\n@DisplayName(\"OrderService Unit Tests\")\nclass OrderServiceTest {\n\n  @Mock\n  private OrderRepository orderRepository;\n\n  @Mock\n  private EventService eventService;\n\n  @Mock\n  private FulfillmentPublisher fulfillmentPublisher;\n\n  @InjectMocks\n  private OrderService orderService;\n\n  private CreateOrderCommand validCommand;\n\n  @BeforeEach\n  void setUp() {\n    validCommand = new CreateOrderCommand(\n        \"customer-123\",\n        List.of(new OrderLine(\"sku-123\", 2))\n    );\n  }\n\n  @Nested\n  @DisplayName(\"createOrder のテスト\")\n  class CreateOrder {\n\n    @Test\n    @DisplayName(\"有効なコマンドが与えられた場合、注文を永続化してフルフィルメントイベントを発行する\")\n    void givenValidCommand_whenCreateOrder_thenPersistsAndPublishes() {\n      \u002F\u002F ARRANGE\n      doNothing().when(orderRepository).persist(any(Order.class));\n\n      \u002F\u002F ACT\n      OrderReceipt receipt = orderService.createOrder(validCommand);\n\n      \u002F\u002F ASSERT\n      assertThat(receipt).isNotNull();\n      assertThat(receipt.customerId()).isEqualTo(\"customer-123\");\n      verify(orderRepository).persist(any(Order.class));\n      verify(fulfillmentPublisher).publishAsync(receipt);\n      verify(eventService).createSuccessEvent(receipt, \"ORDER_CREATED\");\n    }\n\n    @Test\n    @DisplayName(\"顧客IDが無い場合、BadRequestをスロー\")\n    void givenMissingCustomerId_whenCreateOrder_thenThrowsBadRequest() {\n      \u002F\u002F ARRANGE\n      CreateOrderCommand invalid = new CreateOrderCommand(\"\", validCommand.lines());\n\n      \u002F\u002F ACT & ASSERT\n      WebApplicationException exception = assertThrows(\n          WebApplicationException.class,\n          () -> orderService.createOrder(invalid)\n      );\n\n      assertThat(exception.getResponse().getStatus()).isEqualTo(400);\n      verify(orderRepository, never()).persist(any(Order.class));\n      verify(fulfillmentPublisher, never()).publishAsync(any());\n    }\n\n    @Test\n    @DisplayName(\"永続化失敗時、エラーイベントを記録\")\n    void givenPersistenceFailure_whenCreateOrder_thenRecordsErrorEvent() {\n      \u002F\u002F ARRANGE\n      doThrow(new PersistenceException(\"database unavailable\"))\n          .when(orderRepository).persist(any(Order.class));\n\n      \u002F\u002F ACT & ASSERT\n      PersistenceException exception = assertThrows(\n          PersistenceException.class,\n          () -> orderService.createOrder(validCommand)\n      );\n\n      assertThat(exception.getMessage()).contains(\"database unavailable\");\n      verify(eventService).createErrorEvent(\n          eq(validCommand),\n          eq(\"ORDER_CREATE_FAILED\"),\n          contains(\"database unavailable\")\n      );\n      verify(fulfillmentPublisher, never()).publishAsync(any());\n    }\n\n    @Test\n    @DisplayName(\"nullコマンドが与えられた場合、NullPointerExceptionをスロー\")\n    void givenNullCommand_whenCreateOrder_thenThrowsNullPointerException() {\n      \u002F\u002F ACT & ASSERT\n      assertThrows(\n          NullPointerException.class,\n          () -> orderService.createOrder(null)\n      );\n\n      verify(orderRepository, never()).persist(any(Order.class));\n    }\n  }\n}\n```\n\n### Key Testing Patterns\n\n1. **@Nested クラス**: テストするメソッド別にテストをグループ化\n2. **@DisplayName**: テストレポート用の読みやすい説明提供\n3. **命名規則**: 明確性のため `givenX_whenY_thenZ`\n4. **AAA パターン**: 明示的な `\u002F\u002F ARRANGE`, `\u002F\u002F ACT`, `\u002F\u002F ASSERT` コメント\n5. **@BeforeEach**: 重複削減のためテストデータを共通設定\n6. **assertDoesNotThrow**: 例外をキャッチせずに成功シナリオをテスト\n7. **assertThrows**: AssertJを使用したメッセージ検証で例外シナリオをテスト\n8. **包括的カバレッジ**: 正常系、null入力、エッジケース、例外をテスト\n9. **相互作用検証**: Mockito `verify()` でメソッド呼び出しが正しく行われたか確認\n10. **Never検証**: `never()` でエラーシナリオでメソッドが呼ばれていないことを確認\n\n## Testing Camel Routes\n\n```java\n@QuarkusTest\n@DisplayName(\"Business Rules Camel Route Tests\")\nclass BusinessRulesRouteTest {\n\n  @Inject\n  CamelContext camelContext;\n\n  @Inject\n  ProducerTemplate producerTemplate;\n\n  @InjectMock\n  EventService eventService;\n\n  @InjectMock\n  DocumentValidator documentValidator;\n\n  private BusinessRulesPayload testPayload;\n\n  @BeforeEach\n  void setUp() {\n    \u002F\u002F ARRANGE - テストデータ\n    testPayload = new BusinessRulesPayload();\n    testPayload.setDocumentId(1L);\n    testPayload.setFlowProfile(FlowProfile.BASIC);\n  }\n\n  @Nested\n  @DisplayName(\"business-rules-publisher ルートのテスト\")\n  class BusinessRulesPublisher {\n\n    @Test\n    @DisplayName(\"有効なペイロードが与えられた場合、メッセージをRabbitMQに送信\")\n    void givenValidPayload_whenPublish_thenMessageSentToQueue() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockRabbitMQ = camelContext.getEndpoint(\"mock:rabbitmq\", MockEndpoint.class);\n      mockRabbitMQ.expectedMessageCount(1);\n\n      \u002F\u002F テスト用の実エンドポイントをモックに置き換え\n      camelContext.getRouteController().stopRoute(\"business-rules-publisher\");\n      AdviceWith.adviceWith(camelContext, \"business-rules-publisher\", advice -> {\n        advice.replaceFromWith(\"direct:business-rules-publisher\");\n        advice.weaveByToString(\".*spring-rabbitmq.*\").replace().to(\"mock:rabbitmq\");\n      });\n      camelContext.getRouteController().startRoute(\"business-rules-publisher\");\n\n      \u002F\u002F ACT\n      producerTemplate.sendBody(\"direct:business-rules-publisher\", testPayload);\n\n      \u002F\u002F ASSERT — .marshal().json(JsonLibrary.Jackson)の後、bodyはJSON文字列\n      mockRabbitMQ.assertIsSatisfied(5000);\n\n      assertThat(mockRabbitMQ.getExchanges()).hasSize(1);\n      String body = mockRabbitMQ.getExchanges().get(0).getIn().getBody(String.class);\n      assertThat(body).contains(\"\\\"documentId\\\":1\");\n    }\n\n    @Test\n    @DisplayName(\"ペイロード与えられた場合、JSONに整形\")\n    void givenPayload_whenPublish_thenMarshalledToJson() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockMarshal = new MockEndpoint(\"mock:marshal\");\n      camelContext.addEndpoint(\"mock:marshal\", mockMarshal);\n      mockMarshal.expectedMessageCount(1);\n\n      camelContext.getRouteController().stopRoute(\"business-rules-publisher\");\n      AdviceWith.adviceWith(camelContext, \"business-rules-publisher\", advice -> {\n        advice.weaveAddLast().to(\"mock:marshal\");\n      });\n      camelContext.getRouteController().startRoute(\"business-rules-publisher\");\n\n      \u002F\u002F ACT\n      producerTemplate.sendBody(\"direct:business-rules-publisher\", testPayload);\n\n      \u002F\u002F ASSERT\n      mockMarshal.assertIsSatisfied(5000);\n\n      String body = mockMarshal.getExchanges().get(0).getIn().getBody(String.class);\n      assertThat(body).contains(\"\\\"documentId\\\":1\");\n      assertThat(body).contains(\"\\\"flowProfile\\\":\\\"BASIC\\\"\");\n    }\n  }\n\n  @Nested\n  @DisplayName(\"document-processing ルートのテスト\")\n  class DocumentProcessing {\n\n    @Test\n    @DisplayName(\"請求書タイプが与えられた場合、正しいプロセッサーにルーティング\")\n    void givenInvoiceType_whenProcess_thenRoutesToInvoiceProcessor() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockInvoice = camelContext.getEndpoint(\"mock:invoice\", MockEndpoint.class);\n      mockInvoice.expectedMessageCount(1);\n\n      camelContext.getRouteController().stopRoute(\"document-processing\");\n      AdviceWith.adviceWith(camelContext, \"document-processing\", advice -> {\n        advice.weaveByToString(\".*direct:process-invoice.*\").replace().to(\"mock:invoice\");\n      });\n      camelContext.getRouteController().startRoute(\"document-processing\");\n\n      \u002F\u002F ACT\n      producerTemplate.sendBodyAndHeader(\"direct:process-document\",\n          testPayload, \"documentType\", \"INVOICE\");\n\n      \u002F\u002F ASSERT\n      mockInvoice.assertIsSatisfied(5000);\n    }\n\n    @Test\n    @DisplayName(\"検証エラーが与えられた場合、エラーハンドラーにルーティング\")\n    void givenValidationError_whenProcess_thenRoutesToErrorHandler() throws Exception {\n      \u002F\u002F ARRANGE\n      MockEndpoint mockError = camelContext.getEndpoint(\"mock:error\", MockEndpoint.class);\n      mockError.expectedMessageCount(1);\n\n      camelContext.getRouteController().stopRoute(\"document-processing\");\n      AdviceWith.adviceWith(camelContext, \"document-processing\", advice -> {\n        advice.weaveByToString(\".*direct:validation-error-handler.*\")\n            .replace().to(\"mock:error\");\n      });\n      camelContext.getRouteController().startRoute(\"document-processing\");\n\n      \u002F\u002F バリデータビーンをモック化して例外をスロー\n      when(documentValidator.validate(any())).thenThrow(new ValidationException(\"Invalid document\"));\n\n      \u002F\u002F ACT\n      producerTemplate.sendBody(\"direct:process-document\", testPayload);\n\n      \u002F\u002F ASSERT\n      mockError.assertIsSatisfied(5000);\n\n      Exception exception = mockError.getExchanges().get(0).getException();\n      assertThat(exception).isInstanceOf(ValidationException.class);\n      assertThat(exception.getMessage()).contains(\"Invalid document\");\n    }\n  }\n}\n```\n\n## Testing Event Services\n\n```java\n@ExtendWith(MockitoExtension.class)\n@DisplayName(\"EventService Unit Tests\")\nclass EventServiceTest {\n\n  @Mock\n  private EventRepository eventRepository;\n\n  @Mock\n  private ObjectMapper objectMapper;\n\n  @InjectMocks\n  private EventService eventService;\n\n  private BusinessRulesPayload testPayload;\n\n  @BeforeEach\n  void setUp() {\n    \u002F\u002F ARRANGE\n    testPayload = new BusinessRulesPayload();\n    testPayload.setDocumentId(1L);\n  }\n\n  @Nested\n  @DisplayName(\"createSuccessEvent のテスト\")\n  class CreateSuccessEvent {\n\n    @Test\n    @DisplayName(\"有効なペイロードが与えられた場合、正しい属性でサクセスイベント作成\")\n    void givenValidPayload_whenCreateSuccessEvent_thenEventPersisted() throws Exception {\n      \u002F\u002F ARRANGE\n      when(objectMapper.writeValueAsString(testPayload)).thenReturn(\"{\\\"documentId\\\":1}\");\n\n      \u002F\u002F ACT\n      assertDoesNotThrow(() ->\n          eventService.createSuccessEvent(testPayload, \"DOCUMENT_PROCESSED\"));\n\n      \u002F\u002F ASSERT\n      verify(eventRepository).persist(argThat(event ->\n          event.getType().equals(\"DOCUMENT_PROCESSED\") &&\n          event.getStatus() == EventStatus.SUCCESS &&\n          event.getPayload().equals(\"{\\\"documentId\\\":1}\") &&\n          event.getTimestamp() != null\n      ));\n    }\n\n    @Test\n    @DisplayName(\"nullペイロードが与えられた場合、例外をスロー\")\n    void givenNullPayload_whenCreateSuccessEvent_thenThrowsException() {\n      \u002F\u002F ARRANGE\n      Object nullPayload = null;\n\n      \u002F\u002F ACT & ASSERT\n      NullPointerException exception = assertThrows(\n          NullPointerException.class,\n          () -> eventService.createSuccessEvent(nullPayload, \"EVENT_TYPE\")\n      );\n\n      assertThat(exception.getMessage()).isEqualTo(\"Payload cannot be null\");\n      verify(eventRepository, never()).persist(any());\n    }\n  }\n\n  @Nested\n  @DisplayName(\"createErrorEvent のテスト\")\n  class CreateErrorEvent {\n\n    @Test\n    @DisplayName(\"エラーが与えられた場合、エラーメッセージ付きエラーイベント作成\")\n    void givenError_whenCreateErrorEvent_thenEventPersistedWithMessage() throws Exception {\n      \u002F\u002F ARRANGE\n      String errorMessage = \"Processing failed\";\n      when(objectMapper.writeValueAsString(testPayload)).thenReturn(\"{\\\"documentId\\\":1}\");\n\n      \u002F\u002F ACT\n      assertDoesNotThrow(() ->\n          eventService.createErrorEvent(testPayload, \"PROCESSING_ERROR\", errorMessage));\n\n      \u002F\u002F ASSERT\n      verify(eventRepository).persist(argThat(event ->\n          event.getType().equals(\"PROCESSING_ERROR\") &&\n          event.getStatus() == EventStatus.ERROR &&\n          event.getErrorMessage().equals(errorMessage) &&\n          event.getPayload().equals(\"{\\\"documentId\\\":1}\")\n      ));\n    }\n\n    @ParameterizedTest\n    @DisplayName(\"不正なエラーメッセージが与えられた場合、例外をスロー\")\n    @ValueSource(strings = {\"\", \" \"})\n    void givenBlankErrorMessage_whenCreateErrorEvent_thenThrowsException(String blankMessage) {\n      \u002F\u002F ACT & ASSERT\n      IllegalArgumentException exception = assertThrows(\n          IllegalArgumentException.class,\n          () -> eventService.createErrorEvent(testPayload, \"ERROR\", blankMessage)\n      );\n\n      assertThat(exception.getMessage()).contains(\"Error message cannot be blank\");\n    }\n  }\n}\n```\n\n## Testing CompletableFuture\n\n```java\n@ExtendWith(MockitoExtension.class)\n@DisplayName(\"FileStorageService Unit Tests\")\nclass FileStorageServiceTest {\n\n  @Mock\n  private S3Client s3Client;\n\n  @Mock\n  private ExecutorService executorService;\n\n  @InjectMocks\n  private FileStorageService fileStorageService;\n\n  private InputStream testInputStream;\n  private LogContext testLogContext;\n\n  @BeforeEach\n  void setUp() {\n    \u002F\u002F ARRANGE\n    testInputStream = new ByteArrayInputStream(\"test content\".getBytes());\n    testLogContext = new LogContext();\n    testLogContext.put(\"traceId\", \"trace-123\");\n  }\n\n  @Nested\n  @DisplayName(\"uploadOriginalFile のテスト\")\n  class UploadOriginalFile {\n\n    @Test\n    @DisplayName(\"有効なファイルが与えられた場合、ファイルアップロード成功とドキュメント情報を返す\")\n    void givenValidFile_whenUpload_thenReturnsDocumentInfo() throws Exception {\n      \u002F\u002F ARRANGE\n      doAnswer(invocation -> {\n        ((Runnable) invocation.getArgument(0)).run();\n        return null;\n      }).when(executorService).execute(any(Runnable.class));\n\n      when(s3Client.putObject(any(PutObjectRequest.class), any(RequestBody.class)))\n          .thenReturn(PutObjectResponse.builder().build());\n\n      \u002F\u002F ACT\n      CompletableFuture\u003CStoredDocumentInfo> future =\n          fileStorageService.uploadOriginalFile(testInputStream, 1024L,\n              testLogContext, InvoiceFormat.UBL);\n\n      StoredDocumentInfo result = future.join();\n\n      \u002F\u002F ASSERT\n      assertThat(result).isNotNull();\n      assertThat(result.getPath()).isNotBlank();\n      assertThat(result.getSize()).isEqualTo(1024L);\n      assertThat(result.getUploadedAt()).isNotNull();\n\n      verify(s3Client).putObject(any(PutObjectRequest.class), any(RequestBody.class));\n    }\n\n    @Test\n    @DisplayName(\"S3アップロード失敗が与えられた場合、CompletableFutureが失敗\")\n    void givenS3Failure_whenUpload_thenCompletableFutureFails() {\n      \u002F\u002F ARRANGE — 例外がfutureを通じてプロパゲートされるように同期実行\n      doAnswer(invocation -> {\n        ((Runnable) invocation.getArgument(0)).run();\n        return null;\n      }).when(executorService).execute(any(Runnable.class));\n\n      when(s3Client.putObject(any(PutObjectRequest.class), any(RequestBody.class)))\n          .thenThrow(new StorageException(\"S3 unavailable\"));\n\n      \u002F\u002F ACT\n      CompletableFuture\u003CStoredDocumentInfo> future =\n          fileStorageService.uploadOriginalFile(testInputStream, 1024L,\n              testLogContext, InvoiceFormat.UBL);\n\n      \u002F\u002F ASSERT\n      assertThatThrownBy(() -> future.join())\n          .isInstanceOf(CompletionException.class)\n          .hasCauseInstanceOf(StorageException.class)\n          .hasMessageContaining(\"S3 unavailable\");\n    }\n\n    @Test\n    @DisplayName(\"LogContextが与えられた場合、非同期操作にコンテキストをプロパゲート\")\n    void givenLogContext_whenUpload_thenContextPropagated() throws Exception {\n      \u002F\u002F ARRANGE\n      AtomicReference\u003CLogContext> capturedContext = new AtomicReference\u003C>();\n\n      doAnswer(invocation -> {\n        capturedContext.set(CustomLog.getCurrentContext());\n        ((Runnable) invocation.getArgument(0)).run();\n        return null;\n      }).when(executorService).execute(any(Runnable.class));\n\n      \u002F\u002F ACT\n      fileStorageService.uploadOriginalFile(testInputStream, 1024L,\n          testLogContext, InvoiceFormat.UBL).join();\n\n      \u002F\u002F ASSERT\n      assertThat(capturedContext.get()).isNotNull();\n      assertThat(capturedContext.get().get(\"traceId\")).isEqualTo(\"trace-123\");\n    }\n  }\n}\n```\n\n## Resource Layer Tests (REST Assured)\n\n```java\n@QuarkusTest\n@DisplayName(\"DocumentResource API Tests\")\nclass DocumentResourceTest {\n\n  @InjectMock\n  DocumentService documentService;\n\n  @Nested\n  @DisplayName(\"GET \u002Fapi\u002Fdocuments のテスト\")\n  class ListDocuments {\n\n    @Test\n    @DisplayName(\"ドキュメントが存在する場合、ドキュメント一覧を返す\")\n    void givenDocumentsExist_whenList_thenReturnsOk() {\n      \u002F\u002F ARRANGE\n      List\u003CDocument> documents = List.of(createDocument(1L, \"DOC-001\"));\n      when(documentService.list(0, 20)).thenReturn(documents);\n\n      \u002F\u002F ACT & ASSERT\n      given()\n          .when().get(\"\u002Fapi\u002Fdocuments\")\n          .then()\n          .statusCode(200)\n          .body(\"$.size()\", is(1))\n          .body(\"[0].referenceNumber\", equalTo(\"DOC-001\"));\n    }\n  }\n\n  @Nested\n  @DisplayName(\"POST \u002Fapi\u002Fdocuments のテスト\")\n  class CreateDocument {\n\n    @Test\n    @DisplayName(\"有効なリクエストが与えられた場合、ドキュメント作成して201を返す\")\n    void givenValidRequest_whenCreate_thenReturns201() {\n      \u002F\u002F ARRANGE\n      Document document = createDocument(1L, \"DOC-001\");\n      when(documentService.create(any())).thenReturn(document);\n\n      \u002F\u002F ACT & ASSERT\n      given()\n          .contentType(ContentType.JSON)\n          .body(\"\"\"\n              {\n                \"referenceNumber\": \"DOC-001\",\n                \"description\": \"Test document\",\n                \"validUntil\": \"2030-01-01T00:00:00Z\",\n                \"categories\": [\"test\"]\n              }\n              \"\"\")\n          .when().post(\"\u002Fapi\u002Fdocuments\")\n          .then()\n          .statusCode(201)\n          .header(\"Location\", containsString(\"\u002Fapi\u002Fdocuments\u002F1\"))\n          .body(\"referenceNumber\", equalTo(\"DOC-001\"));\n    }\n\n    @Test\n    @DisplayName(\"不正なリクエストが与えられた場合、400を返す\")\n    void givenInvalidRequest_whenCreate_thenReturns400() {\n      \u002F\u002F ACT & ASSERT\n      given()\n          .contentType(ContentType.JSON)\n          .body(\"\"\"\n              {\n                \"referenceNumber\": \"\",\n                \"description\": \"Test\"\n              }\n              \"\"\")\n          .when().post(\"\u002Fapi\u002Fdocuments\")\n          .then()\n          .statusCode(400);\n    }\n  }\n\n  private Document createDocument(Long id, String referenceNumber) {\n    Document document = new Document();\n    document.setId(id);\n    document.setReferenceNumber(referenceNumber);\n    document.setStatus(DocumentStatus.PENDING);\n    return document;\n  }\n}\n```\n\n## Integration Tests with Real Database\n\n```java\n@QuarkusTest\n@TestProfile(IntegrationTestProfile.class)\n@DisplayName(\"Document Integration Tests\")\nclass DocumentIntegrationTest {\n\n  @Test\n  @Transactional\n  @DisplayName(\"新規ドキュメントをAPIで作成・取得、成功する\")\n  void givenNewDocument_whenCreateAndRetrieve_thenSuccessful() {\n    \u002F\u002F ACT - APIで作成\n    Long id = given()\n        .contentType(ContentType.JSON)\n        .body(\"\"\"\n            {\n              \"referenceNumber\": \"INT-001\",\n              \"description\": \"Integration test\",\n              \"validUntil\": \"2030-01-01T00:00:00Z\",\n              \"categories\": [\"test\"]\n            }\n            \"\"\")\n        .when().post(\"\u002Fapi\u002Fdocuments\")\n        .then()\n        .statusCode(201)\n        .extract().path(\"id\");\n\n    \u002F\u002F ASSERT - APIで取得\n    given()\n        .when().get(\"\u002Fapi\u002Fdocuments\u002F\" + id)\n        .then()\n        .statusCode(200)\n        .body(\"referenceNumber\", equalTo(\"INT-001\"));\n  }\n}\n```\n\n## Coverage with JaCoCo\n\n### Maven Configuration (Complete)\n\n```xml\n\u003Cplugin>\n  \u003CgroupId>org.jacoco\u003C\u002FgroupId>\n  \u003CartifactId>jacoco-maven-plugin\u003C\u002FartifactId>\n  \u003Cversion>0.8.13\u003C\u002Fversion>\n  \u003Cexecutions>\n    \u003C!-- テスト実行用エージェント準備 -->\n    \u003Cexecution>\n      \u003Cid>prepare-agent\u003C\u002Fid>\n      \u003Cgoals>\n        \u003Cgoal>prepare-agent\u003C\u002Fgoal>\n      \u003C\u002Fgoals>\n    \u003C\u002Fexecution>\n\n    \u003C!-- カバレッジレポート生成 -->\n    \u003Cexecution>\n      \u003Cid>report\u003C\u002Fid>\n      \u003Cphase>verify\u003C\u002Fphase>\n      \u003Cgoals>\n        \u003Cgoal>report\u003C\u002Fgoal>\n      \u003C\u002Fgoals>\n    \u003C\u002Fexecution>\n\n    \u003C!-- カバレッジ閾値を強制 -->\n    \u003Cexecution>\n      \u003Cid>check\u003C\u002Fid>\n      \u003Cgoals>\n        \u003Cgoal>check\u003C\u002Fgoal>\n      \u003C\u002Fgoals>\n      \u003Cconfiguration>\n        \u003Crules>\n          \u003Crule>\n            \u003Celement>BUNDLE\u003C\u002Felement>\n            \u003Climits>\n              \u003Climit>\n                \u003Ccounter>LINE\u003C\u002Fcounter>\n                \u003Cvalue>COVEREDRATIO\u003C\u002Fvalue>\n                \u003Cminimum>0.80\u003C\u002Fminimum>\n              \u003C\u002Flimit>\n              \u003Climit>\n                \u003Ccounter>BRANCH\u003C\u002Fcounter>\n                \u003Cvalue>COVEREDRATIO\u003C\u002Fvalue>\n                \u003Cminimum>0.70\u003C\u002Fminimum>\n              \u003C\u002Flimit>\n            \u003C\u002Flimits>\n          \u003C\u002Frule>\n        \u003C\u002Frules>\n      \u003C\u002Fconfiguration>\n    \u003C\u002Fexecution>\n  \u003C\u002Fexecutions>\n\u003C\u002Fplugin>\n```\n\nカバレッジ付きテスト実行:\n```bash\nmvn clean test\nmvn jacoco:report\nmvn jacoco:check\n\n# レポート: target\u002Fsite\u002Fjacoco\u002Findex.html\n```\n\n## Test Dependencies\n\n```xml\n\u003Cdependencies>\n    \u003C!-- Quarkus Testing -->\n    \u003Cdependency>\n        \u003CgroupId>io.quarkus\u003C\u002FgroupId>\n        \u003CartifactId>quarkus-junit5\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n    \u003Cdependency>\n        \u003CgroupId>io.quarkus\u003C\u002FgroupId>\n        \u003CartifactId>quarkus-junit5-mockito\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- Mockito -->\n    \u003Cdependency>\n        \u003CgroupId>org.mockito\u003C\u002FgroupId>\n        \u003CartifactId>mockito-core\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- AssertJ（JUnitアサーション推奨） -->\n    \u003Cdependency>\n        \u003CgroupId>org.assertj\u003C\u002FgroupId>\n        \u003CartifactId>assertj-core\u003C\u002FartifactId>\n        \u003Cversion>3.24.2\u003C\u002Fversion>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- REST Assured -->\n    \u003Cdependency>\n        \u003CgroupId>io.rest-assured\u003C\u002FgroupId>\n        \u003CartifactId>rest-assured\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\n    \u003C!-- Camel Testing -->\n    \u003Cdependency>\n        \u003CgroupId>org.apache.camel.quarkus\u003C\u002FgroupId>\n        \u003CartifactId>camel-quarkus-junit5\u003C\u002FartifactId>\n        \u003Cscope>test\u003C\u002Fscope>\n    \u003C\u002Fdependency>\n\u003C\u002Fdependencies>\n```\n\n## Best Practices\n\n### テスト組織\n- テストするメソッド別にグループ化するため`@Nested`クラス使用\n- レポートで見やすいテスト説明のため`@DisplayName`使用\n- テストメソッド命名は`givenX_whenY_thenZ`規則に従う\n- 重複削減のため@BeforeEachで共通テストデータ設定\n\n### テスト構造\n- 明示的コメント（`\u002F\u002F ARRANGE`, `\u002F\u002F ACT`, `\u002F\u002F ASSERT`）でAAAパターン従う\n- 成功シナリオでは`assertDoesNotThrow`使用\n- 例外シナリオではメッセージ検証と共に`assertThrows`使用\n- AssertJ `contains()`または`isEqualTo()`で例外メッセージ検証\n\n### テストカバレッジ\n- 全パブリックメソッドの正常系パスをテスト\n- null入力ハンドリングテスト\n- エッジケース（空のコレクション、境界値、負のID、空文字列）テスト\n- 例外シナリオを包括的にテスト\n- 外部依存関係（リポジトリ、サービス、Camelエンドポイント）をモック化\n- 80%以上の行カバレッジ、70%以上のブランチカバレッジ目指す\n\n### アサーション\n- **AssertJ推奨**（JUnitアサーション代わりに`assertThat`使用）\n- 読みやすさのため流暢なAssertJ API使用：`assertThat(list).hasSize(3).contains(item)`\n- 例外は、JUnit `assertThrows`でキャプチャ、AssertJでメッセージ検証\n- 非スロー成功パスはJUnit `assertDoesNotThrow`使用\n- コレクションには`extracting()`, `filteredOn()`, `containsExactly()`使用\n\n### 統合テスト\n- 統合テスト用に`@QuarkusTest`使用\n- Quarkusテストの依存関係モック化に`@InjectMock`使用\n- APIテストに REST Assured優先使用\n- テスト固有設定に`@TestProfile`使用\n\n### イベント駆動テスト\n- `AdviceWith`と`MockEndpoint`でCamelルートテスト\n- 必要に応じて`@CamelQuarkusTest`注釈使用（スタンドアロンCamelテスト）\n- メッセージ内容、ヘッダー、ルーティングロジック検証\n- エラーハンドリングルートを別個にテスト\n- ユニットテストで外部システム（RabbitMQ、S3、データベース）をモック化\n\n### Camel ルートテスト\n- メッセージフロー確認に`MockEndpoint`使用\n- テスト用ルート変更にエンドポイントをモックに置き換える`AdviceWith`使用\n- メッセージ変換と整形テスト\n- 例外処理とデッドレターキューテスト\n\n### 非同期操作テスト\n- CompletableFutureの成功・失敗シナリオテスト\n- 非同期完了待機に`.join()`使用\n- CompletableFutureから例外プロパゲーション検証\n- 非同期操作へのLogContextプロパゲーション検証\n\n### パフォーマンス\n- テストを高速で分離した状態に保つ\n- 継続モードでテスト実行：`mvn quarkus:test`\n- 入力バリエーション用に パラメータ化テスト（`@ParameterizedTest`）使用\n- 再利用可能なテストデータビルダーまたはファクトリメソッド構築\n\n### Quarkus固有\n- 最新LTSバージョン（Quarkus 3.x）に留める\n- 定期的にネイティブコンパイル互換性テスト\n- 異なるシナリオでQuarkusテストプロファイル活用\n- ローカルテストにQuarkus dev サービス活用\n- `@MockBean`代わりに`@InjectMock`（Quarkus固有）使用\n\n### 検証ベストプラクティス\n- モック化された依存関係の相互作用は常に検証\n- エラーシナリオでメソッドが呼ばれていないことを確認するに`verify(mock, never())`使用\n- 複雑な引数マッチングに`argThat()`使用\n- 呼び出し順序が重要な場合`InOrder`（Mockitoから）で検証\n",{"name":5,"origin":24,"description":7},"ECC","main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fdocs\u002Fja-JP\u002Fskills\u002Fquarkus-tdd",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill quarkus-tdd",{"tool":40,"command":41},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill quarkus-tdd",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill quarkus-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fdocs\u002Fja-JP\u002Fskills\u002Fquarkus-tdd\u002FSKILL.md",true,[],[49,58,65,73,80,87],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":54,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","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\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]