freetool-controller-authoring

Generate and update Freetool ASP.NET Core API controllers in F# with command-handler patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/wonderlydotcom/freetool --skill freetool-controller-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: freetool-controller-authoring
Source: https://github.com/wonderlydotcom/freetool/tree/main/.agents/skills/freetool-controller-authoring
Command: npx skills add https://github.com/wonderlydotcom/freetool --skill freetool-controller-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and updating of ASP.NET Core API controllers for Freetool applications, ensuring consistency and adherence to established patterns.

Core Features & Use Cases

  • Standardized Controller Structure: Provides a template for defining controllers using command-handler patterns.
  • DTO Definition & Validation: Guides the creation of request and response Data Transfer Objects with built-in validation.
  • JSON Conversion: Details how to implement custom JSON converters for specific data types.
  • Authorization & Error Handling: Enforces consistent authorization checks and domain error mapping.
  • Use Case: When adding a new feature that requires user management, use this Skill to generate the UserController with appropriate DTOs, command handlers, and authorization logic.

Quick Start

Use the freetool-controller-authoring skill to create a new Freetool API controller for managing user profiles.

Frequently Asked Questions about freetool-controller-authoring

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

FAQPage Schema
How do I create an ASP.NET Core API controller in F#?

To create an ASP.NET Core API controller in F#, generate the controller structure using established command-handler patterns, define request and response DTOs with validation, and implement domain error mapping.

What is the command-handler pattern for F# API controllers?

The command-handler pattern for F# API controllers separates request handling logic into distinct command handlers, ensuring standardized controller structure, consistent authorization checks, and centralized domain error mapping.

How do I add custom JSON converters to an F# ASP.NET Core controller?

Add custom JSON converters to an F# ASP.NET Core controller by implementing specific conversion logic for targeted data types, ensuring custom serialization patterns are consistently applied during request and response processing.

Does this approach support built-in DTO validation for F# backend APIs?

Yes, this approach supports built-in DTO validation for F# backend APIs by guiding the creation of Data Transfer Objects with integrated validation rules to ensure data integrity before command execution.

How do I map domain errors in an F# ASP.NET Core API?

Map domain errors in an F# ASP.NET Core API by enforcing consistent error mapping patterns within the controller layer, translating backend domain failures into standardized HTTP responses.