[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACGBR142R347VS7DB66NG0":3,"skill-same:01M6ACGBR142R347VS7DB66NG0":64},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6ACGBR142R347VS7DB66NG0","test-fixer",null,"Guide for running, reviewing, and fixing test failures across grails-core modules using Gradle test reports","apache\u002Fgrails-core","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACFVWFRRTGBQBMWZHV6TS9",2942,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.agents\u002Fskills\u002Ftest-fixer\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35],"test","test fixer","fixer","core","grails","guide","modules","reports","across","gradle","for","running","2026-11-10 10:12:30",false,"---\nname: test-fixer\ndescription: Guide for running, reviewing, and fixing test failures across grails-core modules using Gradle test reports\nlicense: Apache-2.0\n---\n\u003C!--\nSPDX-License-Identifier: Apache-2.0\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.\n-->\n\n## What I Do\n\n- Guide targeted and full test runs across grails-core modules.\n- Help interpret Gradle HTML and XML test reports.\n- Help triage failing specs, static state pollution, and module-specific regressions.\n\n## When to Use Me\n\nActivate this skill when:\n\n- Running a failing module or specific spec.\n- Preparing a commit and verifying affected module tests.\n- Triaging regressions after a dependency upgrade or refactor.\n- Reviewing aggregate test results from `:grails-test-report`.\n\n---\n\n## Key Tasks\n\n### Targeted Testing Recommended\n\nTo save time, run only related tests:\n\n```bash\n.\u002Fgradlew :grails-data-hibernate7-core:test --tests \"grails.gorm.tests.BasicCollection*\"\n```\n\n### Full Run\n\n```bash\n.\u002Fgradlew test --continue\n```\n\nUse `--continue` when you need later modules to run after an earlier module fails.\n\n---\n\n## Aggregate Test Reports\n\nThe `grails-test-report` project owns repository test aggregation.\n\n```bash\n.\u002Fgradlew :grails-test-report:check --continue\n```\n\nThis generates:\n\n- Unit HTML: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Ftest\u002Findex.html`\n- Unit Markdown: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Ftest.md`\n- Integration HTML: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002FintegrationTest\u002Findex.html`\n- Integration Markdown: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002FintegrationTest.md`\n- Combined HTML: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Fcombined\u002Findex.html`\n- Combined Markdown: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Fcombined.md`\n\nThe aggregate report includes root subprojects that define matching `test` or `integrationTest` tasks.\n\nThe collected unit and integration `Test` tasks are finalized by their matching aggregate report tasks. Reports are attempted after failures and after targeted module test runs, but they summarize the XML results currently available on disk. Use `--continue` for full-suite runs so Gradle keeps scheduling later test tasks after an earlier failure; without it, reports can be partial. Run `clean` first when stale XML results should be excluded.\n\n---\n\n## Running Tests for a Specific Module\n\n```bash\n# All tests in a module\n.\u002Fgradlew :grails-data-hibernate7-dbmigration:test\n\n# A specific spec\n.\u002Fgradlew :grails-data-hibernate7-dbmigration:test \\\n  --tests \"org.grails.plugins.databasemigration.command.DbmGenerateGormChangelogCommandSpec\"\n\n# A specific feature method\n.\u002Fgradlew :grails-data-hibernate7-core:test \\\n  --tests \"org.grails.orm.hibernate.FooSpec.my feature name\"\n\n# Force rerun even if Gradle thinks it is up-to-date\n.\u002Fgradlew :grails-data-hibernate7-core:test --rerun-tasks\n```\n\n---\n\n## Test Source Layout\n\n| Source set | Directory | Task |\n|------------|-----------|------|\n| Unit tests | `src\u002Ftest\u002Fgroovy\u002F` | `test` |\n| Integration tests | `src\u002Fintegration-test\u002Fgroovy\u002F` | `integrationTest` |\n\nMost specs in grails-core are unit tests (`src\u002Ftest\u002Fgroovy\u002F`) run by the `test` task. A small number of modules use `integrationTest` for full Spring context tests.\n\n---\n\n## Parallel Test Execution\n\nTests run in parallel (`maxParallelForks` defaults to `4` on CI and to `availableProcessors * 3\u002F4` otherwise; override with `-PmaxTestParallel`). This can cause:\n\n- Static state pollution: one test mutating a static field that another test reads.\n- Port conflicts: multiple test JVMs binding the same port.\n- `@Shared` field contamination: shared state not properly cleaned up between feature methods.\n\nTo diagnose flaky failures, rerun with forced serial execution:\n\n```bash\n.\u002Fgradlew :module:test -PmaxTestParallel=1 --rerun-tasks\n```\n\n---\n\n## Test Configuration Flags\n\n| Property | Effect |\n|----------|--------|\n| `skipTests` | Skips all `Test` tasks (build only) |\n| `maxTestParallel=N` | Override parallel fork count |\n| `onlyFunctionalTests` | Run only functional test suites |\n| `skipHibernate7Tests` | Skip H7-specific test suites |\n| `onlyMongodbTests` | Run only MongoDB test suites |\n| `onlyCoreTests` | Run only core module tests |\n\n---\n\n## XML Report Location\n\nGradle writes JUnit XML test results to:\n\n```text\n\u003Cmodule>\u002Fbuild\u002Ftest-results\u002F\n├── test\u002F\n│   └── TEST-org.grails.SomeSpec.xml\n└── integrationTest\u002F\n    └── TEST-org.grails.SomeIntegrationSpec.xml\n```\n","\u003C!--\nSPDX-License-Identifier: Apache-2.0\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.\n-->\n\n## What I Do\n\n- Guide targeted and full test runs across grails-core modules.\n- Help interpret Gradle HTML and XML test reports.\n- Help triage failing specs, static state pollution, and module-specific regressions.\n\n## When to Use Me\n\nActivate this skill when:\n\n- Running a failing module or specific spec.\n- Preparing a commit and verifying affected module tests.\n- Triaging regressions after a dependency upgrade or refactor.\n- Reviewing aggregate test results from `:grails-test-report`.\n\n---\n\n## Key Tasks\n\n### Targeted Testing Recommended\n\nTo save time, run only related tests:\n\n```bash\n.\u002Fgradlew :grails-data-hibernate7-core:test --tests \"grails.gorm.tests.BasicCollection*\"\n```\n\n### Full Run\n\n```bash\n.\u002Fgradlew test --continue\n```\n\nUse `--continue` when you need later modules to run after an earlier module fails.\n\n---\n\n## Aggregate Test Reports\n\nThe `grails-test-report` project owns repository test aggregation.\n\n```bash\n.\u002Fgradlew :grails-test-report:check --continue\n```\n\nThis generates:\n\n- Unit HTML: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Ftest\u002Findex.html`\n- Unit Markdown: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Ftest.md`\n- Integration HTML: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002FintegrationTest\u002Findex.html`\n- Integration Markdown: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002FintegrationTest.md`\n- Combined HTML: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Fcombined\u002Findex.html`\n- Combined Markdown: `grails-test-report\u002Fbuild\u002Freports\u002Ftests\u002Fcombined.md`\n\nThe aggregate report includes root subprojects that define matching `test` or `integrationTest` tasks.\n\nThe collected unit and integration `Test` tasks are finalized by their matching aggregate report tasks. Reports are attempted after failures and after targeted module test runs, but they summarize the XML results currently available on disk. Use `--continue` for full-suite runs so Gradle keeps scheduling later test tasks after an earlier failure; without it, reports can be partial. Run `clean` first when stale XML results should be excluded.\n\n---\n\n## Running Tests for a Specific Module\n\n```bash\n# All tests in a module\n.\u002Fgradlew :grails-data-hibernate7-dbmigration:test\n\n# A specific spec\n.\u002Fgradlew :grails-data-hibernate7-dbmigration:test \\\n  --tests \"org.grails.plugins.databasemigration.command.DbmGenerateGormChangelogCommandSpec\"\n\n# A specific feature method\n.\u002Fgradlew :grails-data-hibernate7-core:test \\\n  --tests \"org.grails.orm.hibernate.FooSpec.my feature name\"\n\n# Force rerun even if Gradle thinks it is up-to-date\n.\u002Fgradlew :grails-data-hibernate7-core:test --rerun-tasks\n```\n\n---\n\n## Test Source Layout\n\n| Source set | Directory | Task |\n|------------|-----------|------|\n| Unit tests | `src\u002Ftest\u002Fgroovy\u002F` | `test` |\n| Integration tests | `src\u002Fintegration-test\u002Fgroovy\u002F` | `integrationTest` |\n\nMost specs in grails-core are unit tests (`src\u002Ftest\u002Fgroovy\u002F`) run by the `test` task. A small number of modules use `integrationTest` for full Spring context tests.\n\n---\n\n## Parallel Test Execution\n\nTests run in parallel (`maxParallelForks` defaults to `4` on CI and to `availableProcessors * 3\u002F4` otherwise; override with `-PmaxTestParallel`). This can cause:\n\n- Static state pollution: one test mutating a static field that another test reads.\n- Port conflicts: multiple test JVMs binding the same port.\n- `@Shared` field contamination: shared state not properly cleaned up between feature methods.\n\nTo diagnose flaky failures, rerun with forced serial execution:\n\n```bash\n.\u002Fgradlew :module:test -PmaxTestParallel=1 --rerun-tasks\n```\n\n---\n\n## Test Configuration Flags\n\n| Property | Effect |\n|----------|--------|\n| `skipTests` | Skips all `Test` tasks (build only) |\n| `maxTestParallel=N` | Override parallel fork count |\n| `onlyFunctionalTests` | Run only functional test suites |\n| `skipHibernate7Tests` | Skip H7-specific test suites |\n| `onlyMongodbTests` | Run only MongoDB test suites |\n| `onlyCoreTests` | Run only core module tests |\n\n---\n\n## XML Report Location\n\nGradle writes JUnit XML test results to:\n\n```text\n\u003Cmodule>\u002Fbuild\u002Ftest-results\u002F\n├── test\u002F\n│   └── TEST-org.grails.SomeSpec.xml\n└── integrationTest\u002F\n    └── TEST-org.grails.SomeIntegrationSpec.xml\n```\n",{"name":5,"license":15,"description":7},"8.0.x","8803d54c23f742d11efb3e01eeee86489bb4ba95",".agents\u002Fskills\u002Ftest-fixer",979,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core","https:\u002F\u002Fgrails.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-15 03:12:29",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add apache\u002Fgrails-core --skill test-fixer",{"tool":56,"command":57},"bunx","bunx skills add apache\u002Fgrails-core --skill test-fixer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add apache\u002Fgrails-core --skill test-fixer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.agents\u002Fskills\u002Ftest-fixer\u002FSKILL.md",true,[],[65,72,77,83,89,95],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"01M7B5APRW1EKGNHWGDMK15JE5","violation-fixer","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.claude\u002Fskills\u002Fviolation-fixer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":73,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":71},"01M7B5AMFA8A8560CGDCFHW3SK","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.claude\u002Fskills\u002Ftest-fixer\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":71},"01M7B5AKHFJW84NSXM8BZBAA9C","mono-repo-integration","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.claude\u002Fskills\u002Fmono-repo-integration\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":71},"01M7B5AJHPW5ADFJNKM5KVFKSE","hibernate-developer","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.claude\u002Fskills\u002Fhibernate-developer\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":6,"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":94,"publishedAt":71},"01M7B5AHGRTVSKFD4M3KMHWZRZ","grails-8-upgrade","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.claude\u002Fskills\u002Fgrails-8-upgrade\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":71},"01M7B5AG2FWXSXCK1ESCBWB2X9","gradle-developer","https:\u002F\u002Fgithub.com\u002Fapache\u002Fgrails-core\u002Fblob\u002F8.0.x\u002F.claude\u002Fskills\u002Fgradle-developer\u002FSKILL.md",[],[]]