serverpod/relic/relic-app-setup

Claude Code and agent skill by serverpod/relic

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Bootstrap a Relic web server, configure RelicApp, start serving, and enable hot reload. Use when creating a new Relic project, setting up a server, or configuring the development workflow.

Install

npx vskill@latest install serverpod/relic/relic-app-setup

SKILL.md

The same SKILL.md was published earlier as serverpod/relic/relic-app-setup.

Relic App Setup

Relic is a Dart web server framework. Requires Dart SDK 3.7+. Single import: package:relic/relic.dart.

Installation

bash
dart create -t console-full my_server
cd my_server
dart pub add relic

Minimal server

dart
import 'package:relic/relic.dart';
Future<void> main() async {
final app = RelicApp()
..get('/hello/:name', (Request req) {
final name = req.rawPathParameters[#name];
return Response.ok(
body: Body.fromString('Hello, $name!'),
);
})
..use('/', logRequests())
..fallback = respondWith(
(_) => Response.notFound(
body: Body.fromString('Not found'),
),
);
await app.serve();
}

Serve options

dart
await app.serve(); // defaults to 0.0.0.0:8080
await app.serve(
address: InternetAddress.loopbackIPv4,
port: 3000,
);

Fallback handler

The fallback handles requests that don't match any route. Default is 404 with an empty body.

dart
app.fallback = respondWith(
(_) => Response.notFound(
body: Body.fromString('Page not found'),
),
);

Hot reload

Relic supports hot reload of route handlers without server restart.

IDE: Start the server in Debug mode. Enable "Hot Reload On Save" in your Dart plugin settings (typically set it to manual).

CLI:

bash
dart run --enable-vm-service bin/main.dart

When a hot reload is triggered, RelicApp automatically reconfigures its internal router with the latest route definitions. Changes to server state or global variables may still require a full restart.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
126
Repository forks
14
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/serverpod/relic/relic-app-setup/badge)](https://verified-skill.com/skills/serverpod/relic/relic-app-setup)

Something wrong with this skill or its page? Tell us.