fsd:create-block

Generate block files, exports, and tests in the flow-state-dev framework.

2|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/fixpoint-labs/flow-state-dev --skill fsd-create-block
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fsd:create-block
Source: https://github.com/fixpoint-labs/flow-state-dev/tree/main/.agents/skills/create-block
Command: npx skills add https://github.com/fixpoint-labs/flow-state-dev --skill fsd-create-block

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of new blocks (handlers, generators, utilities, or routers) in the flow-state-dev framework, following project conventions. It produces the block file, exports, and a matching test file, significantly reducing the time and effort required to write new blocks.

Core Features & Use Cases

  • Automated Block Creation: Generates the block file, exports, and a matching test file.
  • Customizable Block Types: Supports creation of handlers, generators, utilities, or routers.
  • Code Generation Best Practices: Ensures blocks follow established patterns and best practices, including reading reference examples, writing the block, adding exports, writing tests, and verifying.
  • Use Case: If you need to create a new utility block that analyzes sentiment, use this Skill to generate the block and its test file following the project's conventions.

Quick Start

Generate a sentiment analysis utility block by running the 'fsd:create-block' skill with the argument 'utility generator for sentiment analysis'.

Frequently Asked Questions about fsd:create-block

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

FAQPage Schema
How do I generate a new block in the flow-state-dev framework?

To generate a new block in the flow-state-dev framework, use a code generation skill to automatically create the block file, exports, and matching test file. This ensures your handler, generator, utility, or router follows project conventions.

What types of blocks can I create for flow-state-dev projects?

You can create handlers, generators, utilities, and routers for flow-state-dev projects. Block generation automates file creation and exports while ensuring each specific block type follows established code generation best practices.

How do I add a test file when creating a utility block?

To add a test file when creating a utility block, use an automated block generation tool that produces both the implementation and a matching test file. This ensures your utility block is verified according to framework conventions.

Does automated block generation ensure my code follows framework conventions?

Automated block generation ensures code follows framework conventions by reading reference examples and applying established patterns. It generates the block file, manages exports, writes tests, and verifies the output for best practices.

What is the best way to create a sentiment analysis utility block?

The best way to create a sentiment analysis utility block is running an automated block generation skill with the argument 'utility generator for sentiment analysis'. This generates the block file and test file instantly following project conventions.

Can I use block generation for routers and handlers or just utility blocks?

You can use block generation for routers and handlers as well as utility blocks and generators. The automated process supports multiple block types, ensuring each one generates with proper exports and a matching test file.