Copilot commented on code in PR #15798: URL: https://github.com/apache/grails-core/pull/15798#discussion_r3502305403
########## .agents/skills/grails-8-upgrade/SKILL.md: ########## @@ -0,0 +1,336 @@ +--- +name: grails-8-upgrade +description: Guide for upgrading Grails applications from Grails 7.x to Grails 8, covering Java 21, Spring Boot 4.1, Spring Framework 7, dependency management, Micronaut, Jackson 3, Hibernate 7, TagLibs, testing, content negotiation, and validation behavior changes +license: Apache-2.0 +--- + +<!-- +SPDX-License-Identifier: Apache-2.0 + +Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. +--> + +## What I Do + +- Guide upgrades of Grails applications from Grails 7.x to Grails 8. +- Turn the Grails 8 upgrade guide into a practical migration checklist. +- Identify Spring Boot 4.1, Spring Framework 7, Jackson 3, Gradle platform, Micronaut, Hibernate, TagLib, testing, validation, and content negotiation changes that can break an application. +- Keep migration work focused on public application behavior, not internal Grails framework implementation details. + +## When to Use Me + +Activate this skill when: + +- Updating an application to Grails 8. +- Reviewing a Grails 8 upgrade branch or pull request. +- Fixing tests, build failures, runtime failures, or behavior changes after moving from Grails 7.x to Grails 8. +- Deciding whether an upgrade should remain on Hibernate 5 or opt in to Hibernate 7. +- Updating application build files, configuration, custom Spring Boot integration, TagLibs, JSON rendering, or content negotiation behavior for Grails 8. + +## Primary Sources + +Use these repository docs as the source of truth before changing an application: + +| Path | Use for | +|------|---------| +| `grails-doc/src/en/guide/upgrading/upgrading80x.adoc` | Main Grails 7 to Grails 8 upgrade guide | +| `grails-doc/src/en/guide/introduction/whatsNew.adoc` | Grails 8 feature and platform overview | +| `grails-doc/src/en/guide/introduction/whatsNew/dependencyUpgrades.adoc` | Current platform dependency baseline | +| `grails-doc/src/en/ref/Versions/Grails BOM.adoc` | Default BOM dependency matrix | +| `grails-doc/src/en/ref/Versions/Grails BOM Micronaut.adoc` | Micronaut BOM dependency matrix | +| `grails-doc/src/en/guide/conf/micronaut.adoc` | Micronaut BOM and JDK 25 requirements | Review Comment: The Primary Sources table references `grails-doc/src/en/ref/Versions/Grails BOM.adoc` and `.../Grails BOM Micronaut.adoc`, but `grails-doc/src/en/ref/Versions/` does not exist in this repo. The in-tree BOM reference doc is `grails-doc/src/en/ref/Dependency Versions.adoc`, and `grails-doc/src/en/guide/conf/micronaut.adoc` covers the Micronaut BOM usage (and links to the Micronaut dependency table). Updating these paths will keep the skill actionable for agents. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
