fragno-author

Scaffold Fragno fragment packages with type-safe routes and client entrypoints.

60|6|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/rejot-dev/fragno --skill fragno-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fragno-author
Source: https://github.com/rejot-dev/fragno/tree/main/.agents/skills/fragno-author
Command: npx skills add https://github.com/rejot-dev/fragno --skill fragno-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create or extend Fragno fragments (library-author workflow): scaffold a fragment package, define fragment config/schema, add dependencies/services, declare routes, build server instantiation, and export client builders plus per-framework client entrypoints. Use when asked to build a new fragment, add routes/hooks, or set up fragment packaging/code-splitting for authors.

Core Features & Use Cases

  • Scaffold a new fragment package with type-safe routes, server and client entry points, and framework-specific client hooks.
  • Define fragment config/schema, wire dependencies/services, declare routes, and build server bootstrap.
  • Use cases include authoring new fragments, extending existing ones, or setting up packaging and code-splitting for multi-framework support.

Quick Start

Run the Fragno CLI to scaffold a new fragment package, then customize routes, config, and client entrypoints.

Frequently Asked Questions about fragno-author

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

FAQPage Schema
How do I scaffold a type-safe fragment package for library authors?

To scaffold a type-safe fragment package, use the Fragno CLI to generate the base structure with server and client entry points. This automates fragment config and schema setup, ensuring type-safe definitions for library authors.

What is the best way to add routes and hooks to an existing fragment?

The best way to add routes and hooks to an existing fragment is through the Fragno authoring workflow. It updates routes, schemas, and framework-specific client entrypoints while maintaining server and client separation.

Can I set up code-splitting for multi-framework client entrypoints?

Yes, you can set up code-splitting for multi-framework client entrypoints. The Fragno CLI generates per-framework client builders and exports, allowing optional code-splitting when packaging fragments for different frameworks.

How do I wire dependencies and services when building a fragment server?

To wire dependencies and services for a fragment server, define the fragment config and schema. The workflow builds the server bootstrap, declares routes, and injects services while keeping type-safe definitions intact.

Do I need to manually separate server and client code when extending fragments?

No, manual server and client code separation is unnecessary. The Fragno CLI workflow enforces server/client separation automatically, generating type-safe definitions and distinct entrypoints for both environments.