Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

feature-forge

bởi guifav

Transportation
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install guifav/feature-forge

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết