[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJCG64FWPZHAYS3GA0JZ4T":3,"skill-same:01M6KJCG64FWPZHAYS3GA0JZ4T":64},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6KJCG64FWPZHAYS3GA0JZ4T","maven-druid-build-optimization",null,"How to build Apache Druid efficiently with Maven while skipping unnecessary checks and OOM-prone modules. Use this skill when building patched Druid versions, when rebuilding after security fixes, or when the web-console module causes out-of-memory errors.","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Ffix-security-bug\u002Fmaven-druid-build-optimization\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"maven druid build optimization","maven druid build","Optimization","maven","build","modules","fixes","errors","with","how to","oom","module","security","use","how","apache","console","web","memory","2026-11-10 10:12:30",false,"---\nname: maven-druid-build-optimization\ndescription: How to build Apache Druid efficiently with Maven while skipping unnecessary checks and OOM-prone modules. Use this skill when building patched Druid versions, when rebuilding after security fixes, or when the web-console module causes out-of-memory errors.\n---\n\n# Maven Druid Build Optimization\n\n## Overview\n\nApache Druid is a large project with extensive code quality checks and a heavy web-console module. When building a patched version or in memory-constrained environments, selective skipping of modules and checks optimizes build time and resource usage.\n\n## Build Command Structure\n\nThe standard optimized build for patched Druid skips:\n- **Web-console module** (`-pl '!web-console'`) - Frontend build with Node.js dependencies, causes OOM\n- **Unit tests** (`-DskipTests`) - Can be skipped when applying security patches\n- **Code quality checks** - Multiple style, security, and analysis tools\n\n## Full Build Command for Patched Druid\n\n```bash\ncd \u002Froot\u002Fdruid\nmvn clean package \\\n  -DskipTests \\\n  -Dcheckstyle.skip=true \\\n  -Dpmd.skip=true \\\n  -Dforbiddenapis.skip=true \\\n  -Dspotbugs.skip=true \\\n  -Danimal.sniffer.skip=true \\\n  -Denforcer.skip=true \\\n  -Djacoco.skip=true \\\n  -Ddependency-check.skip=true \\\n  -pl '!web-console' \\\n  -pl indexing-service \\\n  -am\n```\n\n## Understanding the Flags\n\n### Module Selection\n- `-pl '!web-console'` - Exclude web-console from build (prevents OOM)\n- `-pl indexing-service` - Include only indexing-service module\n- `-am` (--also-make) - Build dependencies of selected modules\n\n### Test Skipping\n- `-DskipTests` - Skip test compilation and execution\n\n### Quality Check Skips\nThese skip code quality tools that can be safely bypassed for patched code:\n- `-Dcheckstyle.skip=true` - Checkstyle code style checks\n- `-Dpmd.skip=true` - PMD static analysis\n- `-Dforbiddenapis.skip=true` - Forbidden APIs checks\n- `-Dspotbugs.skip=true` - SpotBugs security analysis\n- `-Danimal.sniffer.skip=true` - Animal Sniffer API compatibility\n- `-Denforcer.skip=true` - Maven Enforcer rules\n- `-Djacoco.skip=true` - Code coverage\n- `-Ddependency-check.skip=true` - Dependency vulnerability checking\n\n### Build Phases\n- `clean` - Remove previous build artifacts\n- `package` - Compile and create JAR files\n\n## Build Output Location\n\nBuilt artifacts (JAR files) are located at:\n```\ndruid-indexing-service\u002Ftarget\u002Fdruid-indexing-service-\u003Cversion>-\u003Cclassifier>.jar\n```\n\n## Memory Management\n\nIf you still encounter OOM errors:\n\n1. **Increase Maven heap:**\n   ```bash\n   export MAVEN_OPTS=\"-Xmx2g\"\n   ```\n\n2. **Build specific modules sequentially:**\n   ```bash\n   mvn clean package -pl 'druid-core' -DskipTests -Dcheckstyle.skip=true ...\n   mvn package -pl 'druid-indexing-service' -am -DskipTests -Dcheckstyle.skip=true ...\n   ```\n\n## Verification After Build\n\nAfter a successful build, verify the JAR was created:\n\n```bash\nls -lh druid-indexing-service\u002Ftarget\u002F*.jar\n```\n\nThe verifier will deploy the JAR to `\u002Fopt\u002Fdruid\u002Flib\u002F` and restart the Druid service before running tests.\n\n## Build Troubleshooting\n\n- **Timeout issues:** Increase Maven timeout: `mvn -DmultiModuleProjectDirectory=. ...`\n- **Out of memory:** Use `-Xmx4g` or higher in MAVEN_OPTS\n- **Module not found:** Verify module names with `mvn -pl help:describe`\n- **Dependency issues:** Run `mvn dependency:tree` to verify dependency resolution\n","# Maven Druid Build Optimization\n\n## Overview\n\nApache Druid is a large project with extensive code quality checks and a heavy web-console module. When building a patched version or in memory-constrained environments, selective skipping of modules and checks optimizes build time and resource usage.\n\n## Build Command Structure\n\nThe standard optimized build for patched Druid skips:\n- **Web-console module** (`-pl '!web-console'`) - Frontend build with Node.js dependencies, causes OOM\n- **Unit tests** (`-DskipTests`) - Can be skipped when applying security patches\n- **Code quality checks** - Multiple style, security, and analysis tools\n\n## Full Build Command for Patched Druid\n\n```bash\ncd \u002Froot\u002Fdruid\nmvn clean package \\\n  -DskipTests \\\n  -Dcheckstyle.skip=true \\\n  -Dpmd.skip=true \\\n  -Dforbiddenapis.skip=true \\\n  -Dspotbugs.skip=true \\\n  -Danimal.sniffer.skip=true \\\n  -Denforcer.skip=true \\\n  -Djacoco.skip=true \\\n  -Ddependency-check.skip=true \\\n  -pl '!web-console' \\\n  -pl indexing-service \\\n  -am\n```\n\n## Understanding the Flags\n\n### Module Selection\n- `-pl '!web-console'` - Exclude web-console from build (prevents OOM)\n- `-pl indexing-service` - Include only indexing-service module\n- `-am` (--also-make) - Build dependencies of selected modules\n\n### Test Skipping\n- `-DskipTests` - Skip test compilation and execution\n\n### Quality Check Skips\nThese skip code quality tools that can be safely bypassed for patched code:\n- `-Dcheckstyle.skip=true` - Checkstyle code style checks\n- `-Dpmd.skip=true` - PMD static analysis\n- `-Dforbiddenapis.skip=true` - Forbidden APIs checks\n- `-Dspotbugs.skip=true` - SpotBugs security analysis\n- `-Danimal.sniffer.skip=true` - Animal Sniffer API compatibility\n- `-Denforcer.skip=true` - Maven Enforcer rules\n- `-Djacoco.skip=true` - Code coverage\n- `-Ddependency-check.skip=true` - Dependency vulnerability checking\n\n### Build Phases\n- `clean` - Remove previous build artifacts\n- `package` - Compile and create JAR files\n\n## Build Output Location\n\nBuilt artifacts (JAR files) are located at:\n```\ndruid-indexing-service\u002Ftarget\u002Fdruid-indexing-service-\u003Cversion>-\u003Cclassifier>.jar\n```\n\n## Memory Management\n\nIf you still encounter OOM errors:\n\n1. **Increase Maven heap:**\n   ```bash\n   export MAVEN_OPTS=\"-Xmx2g\"\n   ```\n\n2. **Build specific modules sequentially:**\n   ```bash\n   mvn clean package -pl 'druid-core' -DskipTests -Dcheckstyle.skip=true ...\n   mvn package -pl 'druid-indexing-service' -am -DskipTests -Dcheckstyle.skip=true ...\n   ```\n\n## Verification After Build\n\nAfter a successful build, verify the JAR was created:\n\n```bash\nls -lh druid-indexing-service\u002Ftarget\u002F*.jar\n```\n\nThe verifier will deploy the JAR to `\u002Fopt\u002Fdruid\u002Flib\u002F` and restart the Druid service before running tests.\n\n## Build Troubleshooting\n\n- **Timeout issues:** Increase Maven timeout: `mvn -DmultiModuleProjectDirectory=. ...`\n- **Out of memory:** Use `-Xmx4g` or higher in MAVEN_OPTS\n- **Module not found:** Verify module names with `mvn -pl help:describe`\n- **Dependency issues:** Run `mvn dependency:tree` to verify dependency resolution\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb4-skill-creator-claude-haiku-4-5\u002Ffix-security-bug\u002Fmaven-druid-build-optimization",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill maven-druid-build-optimization",{"tool":56,"command":57},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill maven-druid-build-optimization",{"tool":59,"command":60},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill maven-druid-build-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Ffix-security-bug\u002Fmaven-druid-build-optimization\u002FSKILL.md",true,[],[65,78,100,118,138,149],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":37},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[],[72,73,74,75,76,77],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":37},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[],[85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","structured","performing","plan","for","user","it","requirements","essential","itineraries",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":37},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[107,108,109,110,111,112,113,88,114,115,89,116,94,117,86],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","you","database",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":37},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[125,126,127,94,128,129,130,131,132,133,134,135,116,136,137],"glm output","output","glm","tasks","metrics","json","basics","guidance","matching","verifier","processing","root","calibration",{"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":14,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":37},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[],[145,137,127,126,132,131,128,146,147,94,148],"glm calibration","setup","companion","metric",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":37},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[156,127,131,157,145,137,94,126,158,159,160,31,32,161,128],"glm basics","inspect","relevant","files","good","Evaluation"]