[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACD1DMYFDN35VTW0XXTT9D":3,"skill-same:01M6ACD1DMYFDN35VTW0XXTT9D":67},{"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":23,"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},"01M6ACD1DMYFDN35VTW0XXTT9D","fe-code-style",null,"Fix FE (Java) code style issues using Checkstyle","apache\u002Fdoris","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACCEGVA78JF5SFGHJXS1H0",16216,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ffe-code-style\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32],"code style","code","fe code style","style","issues","java","fix","opencode","checkstyle","2026-11-10 10:12:30",false,"---\nname: fe-code-style\ndescription: Fix FE (Java) code style issues using Checkstyle\ncompatibility: opencode\n---\n\n## What I do\n\nDiagnose and fix Java code style issues in the FE module using the project's Checkstyle configuration.\n\n## When to use me\n\n- Before committing FE Java code changes\n- When FE build fails due to checkstyle violations\n- When you need to understand FE style rules\n\n## Procedure\n\n### Step 1: Run checkstyle\n\nCheckstyle is integrated into the Maven build and runs automatically during `mvn validate`. To check style only (without full compilation):\n\n```bash\ncd fe && mvn checkstyle:check -pl fe-core\n```\n\nOr as part of the normal build:\n\n```bash\n.\u002Fbuild.sh --fe -j${DORIS_PARALLELISM}\n```\n\nIf checkstyle fails, the build will fail with error messages showing the file, line number, and rule violated.\n\n### Step 2: Interpret violations\n\nCheckstyle output looks like:\n\n```\n[ERROR] src\u002Fmain\u002Fjava\u002F...\u002FFoo.java:[42:5] (imports) UnusedImports: Unused import - java.util.List.\n[ERROR] src\u002Fmain\u002Fjava\u002F...\u002FBar.java:[10] (header) RegexpHeader: Line does not match expected header line...\n```\n\nEach error shows: `[file]:[line:col] (category) RuleName: description`.\n\n### Step 3: Fix common violations\n\n| Violation | Fix |\n|-----------|-----|\n| `RegexpHeader` | Add\u002Ffix Apache License header at file top |\n| `UnusedImports` | Remove unused import statements |\n| `LineLength` (>120 chars) | Break long lines |\n| `IllegalImport` (shaded classes) | Use the non-shaded equivalent (see `import-control.xml`) |\n| `FileTabCharacter` | Replace tabs with spaces |\n| `NewlineAtEndOfFile` | Ensure file ends with a newline |\n| `MergeConflictMarker` | Resolve git merge conflicts |\n\n### Step 4: Verify fix\n\nAfter fixing, re-run checkstyle to confirm:\n\n```bash\ncd fe && mvn checkstyle:check -pl fe-core\n```\n\n## Key Configuration\n\n| File | Purpose |\n|------|---------|\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fcheckstyle.xml` | Main rules (license header, line length 120, encoding, imports) |\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fsuppressions.xml` | Rule exclusions (test files, nereids, large files) |\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fimport-control.xml` | Import restrictions (no shaded classes, no old logging APIs, no Lombok in nereids) |\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fcheckstyle-apache-header.txt` | Apache License 2.0 header template |\n| `build-support\u002FIntelliJ-code-format.xml` | IntelliJ formatter scheme (120 col, import organization) |\n\n## Suppression Rules\n\nSome files\u002Fpackages have relaxed rules (see `suppressions.xml`):\n- Test files: Javadoc rules suppressed\n- Non-nereids code: Some strict rules suppressed\n- Specific large files: Individual suppressions\n\n## Excluded Code\n\nThe following are excluded from checkstyle (see `fe\u002Fpom.xml`):\n- `**\u002Fapache\u002Fdoris\u002Fthrift\u002F**\u002F*` (generated Thrift code)\n- `**\u002Fapache\u002Fparquet\u002F**\u002F*` (generated Parquet code)\n\n## Import Restrictions (key rules from import-control.xml)\n\n- **No shaded imports**: Do not use `org.apache.doris.thirdparty.*` directly\n- **No old logging**: Do not use `org.apache.commons.logging` or `java.util.logging`\n- **No SimpleDateFormat**: Use `java.time` APIs instead\n- **No Lombok in nereids**: `lombok` is disallowed in `org.apache.doris.nereids` package\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| Build fails on `validate` phase | Run `mvn checkstyle:check -pl fe-core` to see specific violations |\n| Can't find checkstyle config | Ensure you're running from the `fe\u002F` directory |\n| IntelliJ formatting differs | Import `build-support\u002FIntelliJ-code-format.xml` via Settings → Editor → Code Style |\n","## What I do\n\nDiagnose and fix Java code style issues in the FE module using the project's Checkstyle configuration.\n\n## When to use me\n\n- Before committing FE Java code changes\n- When FE build fails due to checkstyle violations\n- When you need to understand FE style rules\n\n## Procedure\n\n### Step 1: Run checkstyle\n\nCheckstyle is integrated into the Maven build and runs automatically during `mvn validate`. To check style only (without full compilation):\n\n```bash\ncd fe && mvn checkstyle:check -pl fe-core\n```\n\nOr as part of the normal build:\n\n```bash\n.\u002Fbuild.sh --fe -j${DORIS_PARALLELISM}\n```\n\nIf checkstyle fails, the build will fail with error messages showing the file, line number, and rule violated.\n\n### Step 2: Interpret violations\n\nCheckstyle output looks like:\n\n```\n[ERROR] src\u002Fmain\u002Fjava\u002F...\u002FFoo.java:[42:5] (imports) UnusedImports: Unused import - java.util.List.\n[ERROR] src\u002Fmain\u002Fjava\u002F...\u002FBar.java:[10] (header) RegexpHeader: Line does not match expected header line...\n```\n\nEach error shows: `[file]:[line:col] (category) RuleName: description`.\n\n### Step 3: Fix common violations\n\n| Violation | Fix |\n|-----------|-----|\n| `RegexpHeader` | Add\u002Ffix Apache License header at file top |\n| `UnusedImports` | Remove unused import statements |\n| `LineLength` (>120 chars) | Break long lines |\n| `IllegalImport` (shaded classes) | Use the non-shaded equivalent (see `import-control.xml`) |\n| `FileTabCharacter` | Replace tabs with spaces |\n| `NewlineAtEndOfFile` | Ensure file ends with a newline |\n| `MergeConflictMarker` | Resolve git merge conflicts |\n\n### Step 4: Verify fix\n\nAfter fixing, re-run checkstyle to confirm:\n\n```bash\ncd fe && mvn checkstyle:check -pl fe-core\n```\n\n## Key Configuration\n\n| File | Purpose |\n|------|---------|\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fcheckstyle.xml` | Main rules (license header, line length 120, encoding, imports) |\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fsuppressions.xml` | Rule exclusions (test files, nereids, large files) |\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fimport-control.xml` | Import restrictions (no shaded classes, no old logging APIs, no Lombok in nereids) |\n| `fe\u002Fcheck\u002Fcheckstyle\u002Fcheckstyle-apache-header.txt` | Apache License 2.0 header template |\n| `build-support\u002FIntelliJ-code-format.xml` | IntelliJ formatter scheme (120 col, import organization) |\n\n## Suppression Rules\n\nSome files\u002Fpackages have relaxed rules (see `suppressions.xml`):\n- Test files: Javadoc rules suppressed\n- Non-nereids code: Some strict rules suppressed\n- Specific large files: Individual suppressions\n\n## Excluded Code\n\nThe following are excluded from checkstyle (see `fe\u002Fpom.xml`):\n- `**\u002Fapache\u002Fdoris\u002Fthrift\u002F**\u002F*` (generated Thrift code)\n- `**\u002Fapache\u002Fparquet\u002F**\u002F*` (generated Parquet code)\n\n## Import Restrictions (key rules from import-control.xml)\n\n- **No shaded imports**: Do not use `org.apache.doris.thirdparty.*` directly\n- **No old logging**: Do not use `org.apache.commons.logging` or `java.util.logging`\n- **No SimpleDateFormat**: Use `java.time` APIs instead\n- **No Lombok in nereids**: `lombok` is disallowed in `org.apache.doris.nereids` package\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| Build fails on `validate` phase | Run `mvn checkstyle:check -pl fe-core` to see specific violations |\n| Can't find checkstyle config | Ensure you're running from the `fe\u002F` directory |\n| IntelliJ formatting differs | Import `build-support\u002FIntelliJ-code-format.xml` via Settings → Editor → Code Style |\n",{"name":5,"description":7,"compatibility":31},"master","8e10b235cf030d486b6840cfd64b6218ab515e6d",".claude\u002Fskills\u002Ffe-code-style",4021,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris","https:\u002F\u002Fdoris.apache.org","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-14 23:19:36",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add apache\u002Fdoris --skill fe-code-style",{"tool":53,"command":54},"bunx","bunx skills add apache\u002Fdoris --skill fe-code-style",{"tool":56,"command":57},"pnpm","pnpm dlx skills add apache\u002Fdoris --skill fe-code-style","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ffe-code-style\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fmessenger-patterns.md","REFERENCE","参考文档",7033,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmvvm-toolkit-messenger\u002Freferences\u002Fmessenger-patterns.md",[68,88,106,118],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":79,"publishedAt":33},"01M6ACCYN7KSG5HW2DJQV9KQVN","doris-docker-regression","Run Doris docker-based regression tests from a clean package","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fdoris-docker-regression\u002FSKILL.md",[74],{"categoryNo":75,"categoryName":76,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[80,81,82,83,84,85,31,86,87],"docker","doris docker regression","doris","regression","package","run","clean","tests",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":101,"publishedAt":33},"01M6ACCVT0JJA0J15W3ERJ17FX","code-review","Review code with Doris-specific checklists","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fcode-review\u002FSKILL.md",[94,97,100],{"categoryNo":95,"categoryName":96,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":98,"categoryName":99,"taxonomyType":77,"taxonomyTypeDesc":78},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[25,102,103,104,31,105,82],"review","code review","with","review code",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":33},"01M6ACCS6GWR9FSEMARV8WS0CC","clang-tidy-check","Run clang-tidy on newly added\u002Fmodified BE C++ code","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fclang-tidy-check\u002FSKILL.md",[],[113,114,115,116,117,31,25,85],"clang","check","tidy","clang tidy check","c++",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":125,"publishedAt":33},"01M6ACCKMYNAYBF9NAVTT18S4A","be-code-style","Fix BE (C++) code formatting issues using clang-format","https:\u002F\u002Fgithub.com\u002Fapache\u002Fdoris\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fbe-code-style\u002FSKILL.md",[124],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[25,27,126,127,24,128,113,129,117,31,30,130,28],"be code","be code style","code formatting","formatting","format"]