/play-framework:play-frameworkfrom play-framework
Builds, debugs, tests and upgrades Play Framework 2.9/3.x web apps in Java or Scala. Use for conf/routes and reverse routes, app/controllers (play.mvc, CompletionStage, Action.async), Twirl templates, Guice DI, play-json or Jackson, WSClient, evolutions, CSRF and AllowedHosts filters, sbt stage/dist packaging, blocking JDBC stalling a Play server, a "not found: value controllers" routes error, and the Play 2.8/2.9 to 3.0 upgrade (Akka to Pekko, com.typesafe.play to org.playframework).
Ships in play-framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Verified on 2026-10-20 against playframework.com. Follow the app's existing API (Java or Scala), DI style and Play line; don't convert between them unless asked.
Not for: plain Java (java), plain Scala (scala), sbt mechanics such as scopes, cross-building and dependency conflicts (sbt), Spring (spring-boot).
Read project/plugins.sbt, project/build.properties and build.sbt before suggesting anything.
| Line | sbt plugin | Runtime | Java | Scala |
|---|---|---|---|---|
| 2.8 | com.typesafe.play sbt-plugin 2.8.x | Akka | 8+ | 2.12, 2.13 |
| 2.9 | com.typesafe.play sbt-plugin 2.9.x (last on this groupId) | Akka | 11+ | 2.13, 3.3 |
| 3.0 | org.playframework sbt-plugin 3.0.x | Apache Pekko | 11, 17 or 21 (docs: 11 is going away; prefer 17+) | 2.13, 3.3 |
enablePlugins(PlayJava) or PlayScala, and app/ holds .java or .scala controllers.javax.inject.javax.inject.Inject (Guice 6 also accepts jakarta.inject). Match what the existing code imports, and don't mix both in one class.conf/routes: one line per route, GET /clients/:id controllers.ClientController.show(id: Long). The compiler generates reverse routes (routes.ClientController.show(id)); use them in templates and redirects instead of string URLs. A Java action that takes Http.Request declares it in the route as well: controllers.ClientController.show(request: Request, id: Long). Routes compile with the app, so a routes error shows as a compile error.@Inject constructor, not objects or statics. Java extends play.mvc.Controller; Scala extends BaseController (or AbstractController with ControllerComponents).ForkJoinPool.commonPool (see the api references).Result or CompletionStage<Result>; Scala actions use Action { ... } or Action.async { ... } returning Future[Result].conf/application.conf (HOCON). Environment values come in with ${?VAR}; never commit secrets.play.http.secret.key must be set from the environment in production (play.http.secret.key = ${?APPLICATION_SECRET}). Don't ship changeme.play.filters.* config. Never remove CSRF to silence a 403; add the token (@helper.CSRF.formField) or call from a client that sends Csrf-Token.sbt run) reloads on request. If a change seems ignored, check the compile error in the browser or terminal before suspecting caching.sbt "testOnly controllers.ClientControllerTest", or sbt run plus curl. Don't run the whole suite first.conf/routes.CustomExecutionContext.sbt test. sbt compile alone doesn't prove routes and templates render.not found: value controllers in generated routes: the controller's package, a missing import in routesImport, or a compile error in the controller itself hides it. Fix the first real compile error.CompletableFuture.supplyAsync(() -> db.query()) with no executor runs on the common pool and can stall the server under load. Always pass the custom executor.CompletionStage callbacks need the request or context in scope; use thenApplyAsync(fn, executor) and read request data before the async hop.views.html.<name>; a stale target/ after renaming gives phantom errors, so run sbt clean compile once.1.sql with # --- !Ups and # --- !Downs. Never edit an applied file; add the next number. play.evolutions.autoApply is for dev only.sbt dist builds a zip; sbt stage builds target/universal/stage/bin/<app> for containers. Both need -Dplay.http.secret.key or env at runtime.Action.async, or compile-time DI.com.typesafe.play or akka.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin play-framework