frontend-views

Standardize Drumr React view components with routing, layouts, and GraphQL types.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/slingr-stack/qa-test-drumr --skill frontend-views
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-views
Source: https://github.com/slingr-stack/qa-test-drumr/tree/main/project-management-app/.agents/skills/frontend-views
Command: npx skills add https://github.com/slingr-stack/qa-test-drumr --skill frontend-views

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the guesswork from building Drumr Framework frontend views by giving developers a single, consistent guide for routing, layout selection, headers, toolbars, and model-bound UI rendering.

Core Features & Use Cases

  • Unified View Patterns: Explains how to build TableView, CreateView, EditView, ReadView, ActionView, and Custom View components the framework expects.
  • Route and Layout Wiring: Shows how to register routes in app configuration and assign the right layout and menu behavior without mixing concerns into the view itself.
  • UI API and Typed Data Binding: Covers generated GraphQL types, DataForm, DataTable, DataField, and DataComponent usage so views stay validated, reusable, and framework-native.
  • Practical Example: Use this skill when adding a new task page, a record editor, a read-only details screen with nested related data, or a modal action flow.

Quick Start

Use this skill to design or refactor a Drumr frontend view so it follows the framework’s routing, layout, typing, and toolbar conventions.

Frequently Asked Questions about frontend-views

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

FAQPage Schema
How do I standardize React frontend views with consistent routing and layouts?

To standardize React frontend views, you register view components in the application configuration and assign routes with dedicated layouts. This separates routing concerns from the view itself, ensuring headers, navigation, and menus behave consistently across all pages.

What are the standard React view patterns for building CRUD pages and modals?

Standard React view patterns for CRUD pages include TableView, CreateView, EditView, ReadView, ActionView, and CustomView. These structured components cover pages, modals, headers, toolbars, nested views, and shell layouts to maintain consistent frontend architecture.

How do I bind generated GraphQL types to React tables and forms?

You bind generated GraphQL types to React tables and forms using framework primitives like DataForm, DataTable, DataField, and DataComponent. This UI API binding ensures your views stay type-safe, validated, and reusable across different data scenarios.

Do I need generated GraphQL types before building frontend view components?

Yes, generated GraphQL types are required before building frontend view components. You also need UI API binding and framework primitives for forms, tables, toolbars, and navigation to ensure views remain validated and framework-native.

When should I use a CustomView instead of standard TableView or EditView components?

Use a CustomView instead of standard TableView or EditView components when your page requirements fall outside standard CRUD operations, such as building specialized shell layouts or nested views that need unique toolbar configurations beyond default patterns.

How do I configure headers and toolbars for Drumr Framework frontend views?

You configure headers and toolbars for Drumr Framework frontend views by utilizing built-in framework primitives during component setup. This approach keeps toolbar logic standardized and prevents layout inconsistencies across different application routes.