grails-developer

Guide developers in building Grails 7 web applications and REST APIs.

2.9k|973|Updated Feb 10, 2010
One-click install
npx skills add https://github.com/apache/grails-core --skill grails-developer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grails-developer
Source: https://github.com/apache/grails-core/tree/main/.agents/skills/grails-developer
Command: npx skills add https://github.com/apache/grails-core --skill grails-developer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, practical guide for building Grails 7 web applications, REST APIs, and related components, helping developers adopt best practices quickly.

Core Features & Use Cases

  • Comprehensive coverage of Grails 7 project structure, including GORM domain modeling, controllers, services, views, plugins, security, and deployment strategies.
  • Guidance for writing tests with Spock and Geb, and for integrating with Gradle-based builds.
  • Use Case: A new Grails project is started; follow the guide to scaffold domains, controllers, services, and test suites to deliver a production-ready app.

Quick Start

Start from a Grails 7 project skeleton and consult this Skill for best-practice patterns and example configurations.

Frequently Asked Questions about grails-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Grails 7 web application using Groovy 4 and Spring Boot 3.5.x?

To build a Grails 7 web application, use standard project conventions with Groovy 4, Spring Boot 3.5.x, and Gradle 8.x. Follow structured guides to scaffold domains, controllers, services, and test suites for a production-ready app.

How do I model domains and write tests for a Grails REST API?

Model domains and write tests for a Grails REST API by applying GORM for data modeling and using Spock and Geb for testing. Comprehensive guides cover controllers, services, views, and security configurations.

Does Grails 7 require any custom runtime environment beyond the standard ecosystem?

Grails 7 does not require any custom runtime beyond the standard Groovy and Grails ecosystem. It relies entirely on standard project conventions with Gradle-based builds and standard tooling.

What's the best way to integrate plugins and security configurations in Grails projects?

The best way to integrate plugins and security in Grails projects is by following best-practice patterns and example configurations. Comprehensive guides cover project structure, plugin integration, and deployment strategies.

Why use Grails 7 over other web frameworks for GORM domain modeling?

Use Grails 7 for GORM domain modeling to adopt best practices quickly with structured, practical guidance. It distinguishes itself by providing comprehensive end-to-end coverage for web applications and REST APIs.

Can I use Gradle 8.x builds with Spock and Geb for Grails testing?

Yes, you can use Gradle 8.x builds with Spock and Geb for Grails testing. The framework provides specific guidance for integrating Gradle-based builds and writing comprehensive test suites.