[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACD1864Z5QEW0X09CWJVYD":3,"skill-same:01M6ACD1864Z5QEW0X09CWJVYD":111},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6ACD1864Z5QEW0X09CWJVYD","adding-new-metadata",null,"Guide on how to add and propagate new metadata fields in Apache Beam's WindowedValue, extending protos, windmill persistence, and runner interfaces to avoid metadata loss.","apache\u002Fbeam","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACCXED4SMY85J25QX8K9SY",8718,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Fadding-new-metadata\u002FSKILL.md",[],[19,20,21,22,9,23,24,25,26,27,28,29,30,31,32],"adding new metadata","metadata","new","beam","persistence","how","guide","runner","propagate","how to","add","windmill","fields","extending","2026-11-10 10:12:30",false,"---\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\nname: adding-new-metadata\ndescription: Guide on how to add and propagate new metadata fields in Apache Beam's WindowedValue, extending protos, windmill persistence, and runner interfaces to avoid metadata loss.\n---\n\n# Adding New Metadata to WindowedValue\n\nThis skill provides a comprehensive guide on adding new metadata (e.g., CDC metadata, drain mode flags, OpenTelemetry trace context) to Apache Beam's `WindowedValue` and ensuring it propagates correctly through the execution engine. Failing to propagate metadata in all necessary places will result in metadata loss during pipeline execution.\n\n## 1. Extending the Proto Model\n\nWhen adding new metadata that must cross worker boundaries or be serialized by the Fn API, the proto definitions must be updated.\n\n*   **Key Files:** `model\u002Ffn-execution\u002Fsrc\u002Fmain\u002Fproto\u002Forg\u002Fapache\u002Fbeam\u002Fmodel\u002Ffn_execution\u002Fv1\u002Fbeam_fn_api.proto`\n*   **Action:** Add the new metadata field to the appropriate message (`ElementMetadata`).\n*   **Note:** Add proper documentation in proto. Type of the field can be different from the type in WindowedValue, see OpenTelemetry trace context for example.\n\n## 2. WindowedValue Interface and Implementations\n\nThe `WindowedValue` is the core container for elements flowing through a Beam pipeline. It holds the value, timestamp, windows, pane info, and any additional metadata.\n\n### Core Interface Updates\n*   **Key File:** `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Fvalues\u002FWindowedValue.java`\n*   **Action:** Add getter methods for your new metadata.\n\n### Concrete Implementations\nYou must update **all** concrete implementations of `WindowedValue` to store and return the new metadata. If you miss one, metadata will be silently dropped.\n*   `ValueInGlobalWindow`\n*   `ValueInSingleWindow`\n*   `ValueInEmptyWindows` (often used inside runners, like Dataflow's worker package)\n*   **Action:** Update constructors, factory methods (`of()`), fields in these classes and coders.\n\n### OutputBuilder vs. Context Output\n*   **IMPORTANT:** Do **not** add new arguments to legacy methods like `context.outputWindowedValue(...)` or `WindowedValue.of(value, timestamp, windows, pane)`. This causes brittleness and breaks the API for every new metadata field.\n*   **Action:** Modify `OutputBuilder` (`sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Fvalues\u002FOutputBuilder.java`) to accept the new metadata (e.g., `.withDrainMode(...)`, `.withTraceContext(...)`). Use the builder pattern when constructing outputs to propagate offset and record IDs smoothly.\n\n## 3. Windmill Persistence (Dataflow Streaming Engine) Runner v1\n\nFor the Dataflow streaming runner, metadata must survive serialization to and from the Windmill backend.\n\n*   **Serialization (Sink):**\n    *   **File:** `runners\u002Fgoogle-cloud-dataflow-java\u002Fworker\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fdataflow\u002Fworker\u002FWindmillSink.java`\n    *   **Action:** Extract the metadata from the `WindowedValue`, and add it to already created ElementMetadata proto builder.\n*   **Deserialization (Reader):**\n    *   **Files:** `runners\u002Fgoogle-cloud-dataflow-java\u002Fworker\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fdataflow\u002Fworker\u002FUngroupedWindmillReader.java` and `WindowingWindmillReader.java`\n    *   **Action:** Extract the metadata from ElementMetadata proto and reconstruct the `WindowedValue` using the updated factory methods\u002Fbuilders that include the metadata. This is incremental work, as plenty of metadata is already extracted from the proto.\n\n## 4. Propagation Across Core Classes\n\nMetadata must be explicitly copied or forwarded whenever a `WindowedValue` is transformed, buffered, or processed.\n\n### DoFn Runners (Java Core)\nYou must ensure that when a DoFn processes an element and outputs a new element, the appropriate metadata from the *input* is propagated to the *output* (unless explicitly changed by the logic).\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FSimpleDoFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FStatefulDoFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FLateDataDroppingDoFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FProcessFnRunner.java`\n*   `sdks\u002Fjava\u002Fharness\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Ffn\u002Fharness\u002FFnApiDoFnRunner.java`\n\n**Action:** When these runners call `outputWindowedValue()`, they should extract the metadata from the input or current context and attach it using the `OutputBuilder` or the new `WindowedValue` interfaces.\n\n### Grouping and Reducing\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FReduceFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FReduceFnContextFactory.java`\n*   **Action:** Ensure that during GroupByKey\u002FCombine operations, if metadata needs to be preserved (e.g., `CausedByDrain`), it is correctly passed into the `ReduceFnContextFactory` and propagated when outputting the grouped results.\n\n### Splittable DoFns (SDF)\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FOutputAndTimeBoundedSplittableProcessElementInvoker.java`\n*   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Futil\u002Fconstruction\u002FSplittableParDoNaiveBounded.java`\n\n### Timers\nIf metadata needs to survive timer firings (e.g., knowing an `@OnTimer` fired because of a system drain), it must be added to Timer data structures. This is a bit of uncharted area which was only implemented for CausedByDrain metadata that comes from backend, not from persisted metadata. In order to persist all WindowedValue metadata across timer, more work has to be done, below are some pointers:\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FTimerInternals.java` and implementations (e.g., `WindmillTimerInternals.java` in Dataflow).\n*   **Action:** Add the field to `TimerData`, next to `CausedByDrain`. Propagate it when setting the timer and expose it when the timer fires so it bubbles up.\n* Eventually, metadata from Timer lands in WindowedValue, so it can be exposed to users. Keep field names, types, and getters similar to WindowedValue as much as possible, as common interface may be introduced eventually.\n\n## 5. Exposing Metadata to the User (DoFn Signatures)\n\nUser needs to access the metadata in their `DoFn` (e.g., `@ProcessElement public void process(ProcessContext c, CausedByDrain drain) { ... }`), you must update the reflection and bytecode generation logic.\n\n*   **Files:**\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FDoFnSignatures.java`\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FDoFnSignature.java`\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FDoFnInvoker.java`\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FByteBuddyDoFnInvokerFactory.java`\n*   **Action:** Add logic to detect the new parameter type in the DoFn method signature. Generate bytecode using ByteBuddy to extract the property from the `WindowedValue` or context and pass it as an argument during method invocation.\n\n## Checklist for Adding New Metadata\n\n1.  [ ] Define the metadata in `beam_fn_api.proto` (if applicable).\n2.  [ ] Add getters to the `WindowedValue` interface.\n3.  [ ] Update `ValueInGlobalWindow`, `ValueInSingleWindow`, `ValueInEmptyWindows` to store the metadata.\n4.  [ ] Update `OutputBuilder` to accept the metadata.\n5.  [ ] Update `WindmillSink` to serialize the metadata to the backend.\n6.  [ ] Update `UngroupedWindmillReader` and `WindowingWindmillReader` to deserialize the metadata.\n7.  [ ] Update `WindmillKeyedWorkItem`.\n8.  [ ] Update `SimpleDoFnRunner`, `StatefulDoFnRunner`, and `FnApiDoFnRunner` to propagate the metadata from input to output.\n9.  [ ] Update `ReduceFnRunner` and `OutputAndTimeBoundedSplittableProcessElementInvoker` for complex transform propagation.\n10. [ ] If required by timers, update `TimerData` and `TimerInternals`.\n11. [ ] If exposed to the user, update `DoFnSignatures` and `ByteBuddyDoFnInvokerFactory`.\n12. [ ] Update other runners (Flink, Spark) to ensure they propagate the new `WindowedValue` fields correctly in their specific operators\u002Frunners.\n","# Adding New Metadata to WindowedValue\n\nThis skill provides a comprehensive guide on adding new metadata (e.g., CDC metadata, drain mode flags, OpenTelemetry trace context) to Apache Beam's `WindowedValue` and ensuring it propagates correctly through the execution engine. Failing to propagate metadata in all necessary places will result in metadata loss during pipeline execution.\n\n## 1. Extending the Proto Model\n\nWhen adding new metadata that must cross worker boundaries or be serialized by the Fn API, the proto definitions must be updated.\n\n*   **Key Files:** `model\u002Ffn-execution\u002Fsrc\u002Fmain\u002Fproto\u002Forg\u002Fapache\u002Fbeam\u002Fmodel\u002Ffn_execution\u002Fv1\u002Fbeam_fn_api.proto`\n*   **Action:** Add the new metadata field to the appropriate message (`ElementMetadata`).\n*   **Note:** Add proper documentation in proto. Type of the field can be different from the type in WindowedValue, see OpenTelemetry trace context for example.\n\n## 2. WindowedValue Interface and Implementations\n\nThe `WindowedValue` is the core container for elements flowing through a Beam pipeline. It holds the value, timestamp, windows, pane info, and any additional metadata.\n\n### Core Interface Updates\n*   **Key File:** `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Fvalues\u002FWindowedValue.java`\n*   **Action:** Add getter methods for your new metadata.\n\n### Concrete Implementations\nYou must update **all** concrete implementations of `WindowedValue` to store and return the new metadata. If you miss one, metadata will be silently dropped.\n*   `ValueInGlobalWindow`\n*   `ValueInSingleWindow`\n*   `ValueInEmptyWindows` (often used inside runners, like Dataflow's worker package)\n*   **Action:** Update constructors, factory methods (`of()`), fields in these classes and coders.\n\n### OutputBuilder vs. Context Output\n*   **IMPORTANT:** Do **not** add new arguments to legacy methods like `context.outputWindowedValue(...)` or `WindowedValue.of(value, timestamp, windows, pane)`. This causes brittleness and breaks the API for every new metadata field.\n*   **Action:** Modify `OutputBuilder` (`sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Fvalues\u002FOutputBuilder.java`) to accept the new metadata (e.g., `.withDrainMode(...)`, `.withTraceContext(...)`). Use the builder pattern when constructing outputs to propagate offset and record IDs smoothly.\n\n## 3. Windmill Persistence (Dataflow Streaming Engine) Runner v1\n\nFor the Dataflow streaming runner, metadata must survive serialization to and from the Windmill backend.\n\n*   **Serialization (Sink):**\n    *   **File:** `runners\u002Fgoogle-cloud-dataflow-java\u002Fworker\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fdataflow\u002Fworker\u002FWindmillSink.java`\n    *   **Action:** Extract the metadata from the `WindowedValue`, and add it to already created ElementMetadata proto builder.\n*   **Deserialization (Reader):**\n    *   **Files:** `runners\u002Fgoogle-cloud-dataflow-java\u002Fworker\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fdataflow\u002Fworker\u002FUngroupedWindmillReader.java` and `WindowingWindmillReader.java`\n    *   **Action:** Extract the metadata from ElementMetadata proto and reconstruct the `WindowedValue` using the updated factory methods\u002Fbuilders that include the metadata. This is incremental work, as plenty of metadata is already extracted from the proto.\n\n## 4. Propagation Across Core Classes\n\nMetadata must be explicitly copied or forwarded whenever a `WindowedValue` is transformed, buffered, or processed.\n\n### DoFn Runners (Java Core)\nYou must ensure that when a DoFn processes an element and outputs a new element, the appropriate metadata from the *input* is propagated to the *output* (unless explicitly changed by the logic).\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FSimpleDoFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FStatefulDoFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FLateDataDroppingDoFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FProcessFnRunner.java`\n*   `sdks\u002Fjava\u002Fharness\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Ffn\u002Fharness\u002FFnApiDoFnRunner.java`\n\n**Action:** When these runners call `outputWindowedValue()`, they should extract the metadata from the input or current context and attach it using the `OutputBuilder` or the new `WindowedValue` interfaces.\n\n### Grouping and Reducing\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FReduceFnRunner.java`\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FReduceFnContextFactory.java`\n*   **Action:** Ensure that during GroupByKey\u002FCombine operations, if metadata needs to be preserved (e.g., `CausedByDrain`), it is correctly passed into the `ReduceFnContextFactory` and propagated when outputting the grouped results.\n\n### Splittable DoFns (SDF)\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FOutputAndTimeBoundedSplittableProcessElementInvoker.java`\n*   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Futil\u002Fconstruction\u002FSplittableParDoNaiveBounded.java`\n\n### Timers\nIf metadata needs to survive timer firings (e.g., knowing an `@OnTimer` fired because of a system drain), it must be added to Timer data structures. This is a bit of uncharted area which was only implemented for CausedByDrain metadata that comes from backend, not from persisted metadata. In order to persist all WindowedValue metadata across timer, more work has to be done, below are some pointers:\n*   `runners\u002Fcore-java\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Frunners\u002Fcore\u002FTimerInternals.java` and implementations (e.g., `WindmillTimerInternals.java` in Dataflow).\n*   **Action:** Add the field to `TimerData`, next to `CausedByDrain`. Propagate it when setting the timer and expose it when the timer fires so it bubbles up.\n* Eventually, metadata from Timer lands in WindowedValue, so it can be exposed to users. Keep field names, types, and getters similar to WindowedValue as much as possible, as common interface may be introduced eventually.\n\n## 5. Exposing Metadata to the User (DoFn Signatures)\n\nUser needs to access the metadata in their `DoFn` (e.g., `@ProcessElement public void process(ProcessContext c, CausedByDrain drain) { ... }`), you must update the reflection and bytecode generation logic.\n\n*   **Files:**\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FDoFnSignatures.java`\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FDoFnSignature.java`\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FDoFnInvoker.java`\n    *   `sdks\u002Fjava\u002Fcore\u002Fsrc\u002Fmain\u002Fjava\u002Forg\u002Fapache\u002Fbeam\u002Fsdk\u002Ftransforms\u002Freflect\u002FByteBuddyDoFnInvokerFactory.java`\n*   **Action:** Add logic to detect the new parameter type in the DoFn method signature. Generate bytecode using ByteBuddy to extract the property from the `WindowedValue` or context and pass it as an argument during method invocation.\n\n## Checklist for Adding New Metadata\n\n1.  [ ] Define the metadata in `beam_fn_api.proto` (if applicable).\n2.  [ ] Add getters to the `WindowedValue` interface.\n3.  [ ] Update `ValueInGlobalWindow`, `ValueInSingleWindow`, `ValueInEmptyWindows` to store the metadata.\n4.  [ ] Update `OutputBuilder` to accept the metadata.\n5.  [ ] Update `WindmillSink` to serialize the metadata to the backend.\n6.  [ ] Update `UngroupedWindmillReader` and `WindowingWindmillReader` to deserialize the metadata.\n7.  [ ] Update `WindmillKeyedWorkItem`.\n8.  [ ] Update `SimpleDoFnRunner`, `StatefulDoFnRunner`, and `FnApiDoFnRunner` to propagate the metadata from input to output.\n9.  [ ] Update `ReduceFnRunner` and `OutputAndTimeBoundedSplittableProcessElementInvoker` for complex transform propagation.\n10. [ ] If required by timers, update `TimerData` and `TimerInternals`.\n11. [ ] If exposed to the user, update `DoFnSignatures` and `ByteBuddyDoFnInvokerFactory`.\n12. [ ] Update other runners (Flink, Spark) to ensure they propagate the new `WindowedValue` fields correctly in their specific operators\u002Frunners.\n",{"name":5,"description":7},"master","aba9e790548a6870a46d2c085c817c2754f4a301",".agent\u002Fskills\u002Fadding-new-metadata",4812,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam","https:\u002F\u002Fbeam.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-15 01:40:19",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add apache\u002Fbeam --skill adding-new-metadata",{"tool":53,"command":54},"bunx","bunx skills add apache\u002Fbeam --skill adding-new-metadata",{"tool":56,"command":57},"pnpm","pnpm dlx skills add apache\u002Fbeam --skill adding-new-metadata","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Fadding-new-metadata\u002FSKILL.md",true,[61,67,71,75,79,83,87,91,95,99,103,107],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fanti-patterns.md","REFERENCE","参考文档",11237,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fanti-patterns.md",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Farchetype-deep-dive.md",9173,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Farchetype-deep-dive.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fbenchmark-data.md",7047,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fbenchmark-data.md",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fbrand-audit-toolkit.md",14190,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fbrand-audit-toolkit.md",{"path":80,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fcompetitive-brand-analysis.md",9495,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fcompetitive-brand-analysis.md",{"path":84,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fdiagnostic-system.md",8432,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fdiagnostic-system.md",{"path":88,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fpositioning-frameworks.md",20093,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fpositioning-frameworks.md",{"path":92,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fstorytelling-playbook.md",10507,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fstorytelling-playbook.md",{"path":96,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fvisual-identity-system.md",11667,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fvisual-identity-system.md",{"path":100,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fvoice-architecture-guide.md",7412,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fvoice-architecture-guide.md",{"path":104,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fvoice-building-sop.md",10394,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fvoice-building-sop.md",{"path":108,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fwork-modes-and-templates.md",19203,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fafa-brand\u002Freferences\u002Fwork-modes-and-templates.md",[112,135,151,167,186,200],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":33},"01M6ACDYBTKYKDP9Z0BQKF7XMZ","yaml-development","Guides YAML SDK development in Apache Beam, including environment setup, testing, and key concepts. Use when working with Beam YAML code in sdks\u002Fpython\u002Fapache_beam\u002Fyaml\u002F.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Fyaml-development\u002FSKILL.md",[],[119,120,121,122,22,123,124,125,126,9,127,128,129,130,131,132,133,134],"development","yaml development","yaml","testing","python","sdk","setup","code","environment","use","guides","with","environment setup","concepts","sdks","when",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":33},"01M6ACDVK2M4QNJ2T0423H23SY","runners","Guides understanding and working with Apache Beam runners (Direct, Dataflow, Flink, Spark, etc.). Use when configuring pipelines for different execution environments or debugging runner-specific issues.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Frunners\u002FSKILL.md",[],[137,22,142,143,144,9,145,146,147,128,148,26,129,130,149,150,134],"spark","debugging","issues","flink","execution","direct","pipelines","environments","for",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":162,"publishedAt":33},"01M6ACDRVH48A1WBYH9DEETW7F","python-development","Guides Python SDK development in Apache Beam, including environment setup, testing, building, and running pipelines. Use when working with Python code in sdks\u002Fpython\u002F.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Fpython-development\u002FSKILL.md",[157],{"categoryNo":158,"categoryName":159,"taxonomyType":160,"taxonomyTypeDesc":161},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[123,163,119,122,22,124,125,126,9,164,127,128,148,129,130,131,165,133,134,166],"python development","python sdk","python code","running",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":178,"publishedAt":33},"01M6ACDPYBMSHSQNCFXVJ7VJW3","license-compliance","Ensures all new files include proper Apache 2.0 license headers. Use when creating any new file in the Apache Beam repository.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Flicense-compliance\u002FSKILL.md",[173],{"categoryNo":174,"categoryName":175,"taxonomyType":176,"taxonomyTypeDesc":177},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[179,180,181,22,9,182,183,128,184,185,134,21],"license","license compliance","compliance","file","repository","files","headers",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":193,"publishedAt":33},"01M6ACDM2W664NC4FH95B3NC14","java-development","Guides Java SDK development in Apache Beam, including building, testing, running examples, and understanding the project structure. Use when working with Java code in sdks\u002Fjava\u002F, runners\u002F, or examples\u002Fjava\u002F.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Fjava-development\u002FSKILL.md",[192],{"categoryNo":158,"categoryName":159,"taxonomyType":160,"taxonomyTypeDesc":161},[119,194,195,122,22,124,196,126,9,137,197,128,198,199,129,130,133,134,166],"java","java development","project structure","examples","structure","project",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":207,"publishedAt":33},"01M6ACDHGVH4F8ADMCFR7T34H8","io-connectors","Guides development and usage of I\u002FO connectors in Apache Beam. Use when working with I\u002FO connectors, creating new connectors, or debugging data source\u002Fsink issues.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fbeam\u002Fblob\u002Fmaster\u002F.agent\u002Fskills\u002Fio-connectors\u002FSKILL.md",[206],{"categoryNo":158,"categoryName":159,"taxonomyType":160,"taxonomyTypeDesc":161},[208,209,210,22,143,119,144,9,211,128,129,130,212,213,134,21],"connectors","io connectors","io","data","usage","source"]