frontend-prompt-generator

Generate structured frontend development prompts for React/Next.js projects.

Updated Oct 17, 2025
One-click install
npx skills add https://github.com/gharam1234/trip --skill frontend-prompt-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-prompt-generator
Source: https://github.com/gharam1234/trip/tree/main/.claude/skills/frontend-prompt-generator
Command: npx skills add https://github.com/gharam1234/trip --skill frontend-prompt-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you generate structured, repeatable prompts for frontend tasks (wireframes, UI implementation, data binding, and routing), reducing drafting time and ensuring consistency.

Core Features & Use Cases

  • Generate four prompt types: Wireframe, UI Implementation, Data Binding, and Routing.
  • Enforce a standardized format suitable for React/Next.js projects and tests.
  • Use cases include preparing prompts for component wiring, design-to-code, and API integration.

Quick Start

Use this skill to create a prompt for wiring a Wireframe for a "Boards" component in the page at src/app/boards/page.tsx.

Frequently Asked Questions about frontend-prompt-generator

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

FAQPage Schema
How do I generate structured prompts for React and Next.js frontend tasks?

Generate structured prompts for frontend tasks by defining the task type (wireframe, UI implementation, data binding, or routing), component name, and file path. The skill formats prompts with standardized dividers, indentation levels, cursor rules, and testing directives to ensure consistency across React and Next.js projects.

What's the best way to create consistent wireframe and UI implementation prompts?

Use standardized prompt templates that enforce consistent formatting: 46-character dividers, 16-space indentations for subitems, 20-space indentations for nested levels, and correct src/components file paths. This ensures all prompts follow the same structure for component wiring and design-to-code tasks.

Can I use prompt generation for data binding and routing in Next.js projects?

Yes. The skill generates prompts for data binding and routing scenarios, including GraphQL API integration cases. Each prompt type incorporates role-specific cursor rules and testing directives tailored to your project's technical requirements.

Do I need to manually format frontend prompts, or can this be automated?

Prompt generation automates formatting entirely. Instead of manually applying dividers, indentations, and file path conventions, the skill reads centralized templates and produces ready-to-use prompts with all formatting requirements and TDD directives pre-applied.

How does this approach reduce drafting time for frontend development prompts?

By encoding standardized formatting rules, file path conventions, and cursor role specifications into reusable templates, the skill eliminates repetitive manual formatting and ensures every prompt meets your team's consistency standards without rework.

What file structure and conventions does the skill expect?

The skill expects React/Next.js projects with components organized under src/components/[component]/ directories and pages under src/app/. It reads these paths, applies standardized formatting with strict indentation and divider rules, and generates prompts ready for TDD workflows.