dart-frog

Develop Dart Frog backend applications with routing, middleware, and dependency injection.

7|1|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ar4mirez/samuel --skill dart-frog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart-frog
Source: https://github.com/ar4mirez/samuel/tree/main/template/.claude/skills/dart-frog
Command: npx skills add https://github.com/ar4mirez/samuel --skill dart-frog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for developing backend applications using the Dart Frog framework, simplifying complex tasks and ensuring robust, scalable solutions.

Core Features & Use Cases

  • Framework Guardrails: Enforces project structure, code style, and error handling specific to Dart Frog.
  • Routing & Middleware: Details file-based routing, middleware cascades, and dependency injection patterns.
  • Use Case: When starting a new Dart Frog project, use this Skill to set up the optimal directory structure, configure global middleware for authentication and logging, and implement efficient route handlers for CRUD operations.

Quick Start

Use the dart-frog skill to generate a new Dart Frog project with a basic API structure.

Frequently Asked Questions about dart-frog

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

FAQPage Schema
How do I structure a Dart backend API using file-based routing?

Dart backend API file-based routing maps directory structures directly to endpoints. This Skill provides guardrails for optimal project structure and efficient route handlers for CRUD operations, ensuring robust, scalable solutions.

How does middleware work in Dart Frog for server-side applications?

Middleware in Dart Frog operates as cascading layers for request processing. This Skill details middleware cascades for global authentication and logging, alongside dependency injection patterns for server-side Dart projects.

Can I use Dart 3.x with Shelf to build REST APIs?

Yes, Dart 3.x and Shelf are utilized for building REST APIs. This Skill provides patterns and best practices to build Dart backends with confidence using the Dart Frog framework.

What is the best way to handle errors in a Dart Frog project?

Error handling in a Dart Frog project is enforced through framework guardrails. This Skill provides specific code style and error handling patterns to simplify complex tasks and ensure scalable backend solutions.

How do I set up dependency injection for Dart Frog routes?

Dependency injection for Dart Frog routes is implemented using specific framework patterns. This Skill details dependency injection patterns and middleware cascades to configure providers for route handlers.

Does Dart Frog provide testing patterns for server-side Dart projects?

Yes, Dart Frog provides testing patterns for server-side Dart projects. This Skill covers testing, error handling, and dependency injection to ensure robust backend application development.