dx-block

Generate and modify Dextinity blocks across API, Admin, and Site layers.

50|9|Updated Mar 4, 2019
One-click install
npx skills add https://github.com/vivid-planet/comet --skill dx-block
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dx-block
Source: https://github.com/vivid-planet/comet/tree/main/skills/dx-block
Command: npx skills add https://github.com/vivid-planet/comet --skill dx-block

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dextinity block development often requires coordinating API, Admin, and Site layers, boilerplate wiring, and fixture setup. This skill automates the end-to-end process from natural-language prompts, reducing manual boilerplate and ensuring consistent block implementations.

Core Features & Use Cases

  • Parse prompts and discover project structure
  • Generate API block, Admin block, and Site block scaffolds
  • Create and wire fixtures, migrations, and registrations
  • Edit existing blocks, add/remove/change fields or child blocks

Quick Start

Describe the Dextinity block you want in natural language and I will generate the API, Admin, and Site definitions along with fixtures.

Frequently Asked Questions about dx-block

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

FAQPage Schema
How do I automate Dextinity block creation across API, Admin, and Site layers?

You can automate Dextinity block creation by providing a natural-language prompt to generate API, Admin, and Site scaffolds simultaneously. This enforces official block patterns and wires fixtures, migrations, and registrations automatically.

Can I modify existing Dextinity block fields and child blocks using natural language?

Yes, you can modify existing Dextinity blocks by describing the changes in natural language. The tool automatically adds, removes, or changes fields and child blocks while maintaining consistent BlockData and BlockInput patterns across all layers.

What is the best way to scaffold files and wire fixtures for a Dextinity project?

The best way to scaffold files and wire fixtures is through automated end-to-end generation from a natural-language description. This process creates the necessary block definitions and sets up fixtures without manual boilerplate coding.

Does generating Dextinity blocks automatically handle migrations and site renderers?

Yes, generating Dextinity blocks automatically handles migrations, loaders, and site renderers. The automation ensures that all necessary components and registrations are wired correctly across the API, Admin, and Site layers.

Why does manual Dextinity block development require coordinating multiple layers?

Manual Dextinity block development requires coordinating API, Admin, and Site layers because each block needs consistent definitions and wiring across all layers. Automating this process eliminates manual boilerplate and ensures consistent block implementations.

When do I need to enforce official block patterns like createBlock during block development?

You need to enforce official block patterns like createBlock whenever you create or modify blocks in a Dextinity project. Automating this enforcement ensures consistent BlockData and BlockInput structures and proper registration across all layers.