feature-builder

timequity 的头像作者 timequity

通过描述添加功能。用户说明做什么,AI想办法怎么做。使用场景:用户想要为现有应用添加功能。触发条件:"添加认证"、"添加支付"、"添加搜索"、"добавь"、"集成"、"连接"。

📖 中文导读:通过描述添加功能。用户说明做什么,AI想办法怎么做。使用场景:用户想要为现有应用添加功能。触发条件:"添加认证"、"添加支付"、"添加搜索"、"добавь"、"集成"、"连接"。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: feature-builder description: | Add features by description. User says WHAT, AI figures out HOW. Use when: user wants to add functionality to existing app. Triggers: "add auth", "add payments", "add search", "добавь", "integrate", "connect".

Feature Builder

Add complete features from simple descriptions.

Feature Patterns

Authentication

"Add login" / "Add auth" / "Users should sign in"

Generates:

  • Login/register pages
  • Auth context/hooks
  • Protected routes
  • Session management

Payments

"Add payments" / "Accept money" / "Stripe"

Generates:

  • Pricing page
  • Checkout flow
  • Stripe integration
  • Webhook handlers

"Add search" / "Find things"

Generates:

  • Search input component
  • Search API endpoint
  • Results display
  • Filters (if applicable)

CRUD

"Manage [items]" / "Add/edit/delete [things]"

Generates:

  • List view
  • Create/edit forms
  • Delete confirmation
  • API endpoints

Process

  1. Parse request

    • Identify feature type
    • Extract specifics (e.g., "Google auth")
  2. Plan implementation

    • Required components
    • API endpoints
    • Database changes
  3. Generate with TDD

    • Write tests first
    • Implement each part
    • Verify all tests pass
  4. Integrate

    • Add to existing routes
    • Update navigation
    • Connect to data layer
  5. Report

    • "✅ Added [feature]"
    • Show preview

User Experience

User: "Add Google login" ↓ "Adding Google authentication..." ↓ [Generate OAuth flow, buttons, callbacks] ↓ "✅ Google login added. Try it in preview."