Vai al contenuto
TakoAPI
Torna alle skill

feature-forge

di guifav

Transportation
—Non ancora valutato
La tua valutazione

Sintesi

Generates complete features from natural language — components, API routes, migrations, types, and tests.

Descrizione

Cosa fa questa skill

Implements complete Next.js App Router features from a natural language description. Generates the full vertical slice: database migration, data access layer, API routes, UI components, server actions, and tests. Targets projects using Supabase, Firebase Auth, and Tailwind CSS.

It reads the existing codebase before generating anything, so output matches current file structure and patterns rather than producing boilerplate that needs manual integration.

Quando usarla

  • Adding a user profile page to an existing Next.js app
  • Scaffolding a CRUD resource with RLS policies and typed Supabase functions
  • Building a comment system with auth checks and server actions
  • Generating a paginated list view with URL-based filter state
  • Adding a settings form that writes to a new database table

Esempio di workflow

INPUT

User asks: Add a task management feature where users can create, list, and delete their own tasks

AGENT
  1. 1

    Restates the feature and decomposes it into UI, schema, business rules, and auth requirements

  2. 2

    Surveys src/, existing components, supabase/migrations/, and package.json to understand current patterns

  3. 3

    Creates a Supabase migration with a tasks table, RLS policies, and indexes, then regenerates types

  4. 4

    Generates typed CRUD functions, an API route with Zod validation and auth checks, and a Server Component page paired with a Client Component list

  5. 5

    Writes tests for schema validation, data access layer, and the API route, then stages a commit

OUTPUT

Task management feature across 6 new or modified files, with migration ready to apply and commit message 'feat: add task-management'

Requisiti

  • NEXT_PUBLIC_SUPABASE_URL environment variable
  • NEXT_PUBLIC_SUPABASE_ANON_KEY environment variable
  • Supabase project
  • Firebase project with Authentication enabled

Installazione

clawhub install guifav/feature-forge

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link