ai-feature-template

Scaffold xAI Grok features with Next.js route templates and frontend handlers.

1|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/AppleLamps/xpic2 --skill ai-feature-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-feature-template
Source: https://github.com/AppleLamps/xpic2/tree/main/.claude/skills/ai-feature-template
Command: npx skills add https://github.com/AppleLamps/xpic2 --skill ai-feature-template

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a ready-to-adapt blueprint for creating new AI-powered features using xAI Grok, including route scaffolding, prompts, and a frontend handler.

Core Features & Use Cases

  • Reusable Grok templates: quick-start prompts and system/user prompts for new features
  • API route scaffold: standard Next.js route.ts for easy integration
  • Frontend handler pattern: consistent fetch/UX integration for results

Quick Start

Create app/api/feature-name/route.ts using the template, then implement the frontend handler to call the API and display results.