Agent skill · Design & Presentation

ai-feature-template

Create new AI-powered features using xAI Grok. Use when user mentions "new AI feature", "add Grok", "create prompt", "AI analysis", or "generate with AI".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ai-feature-template-applelamps-xpic2-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-llm/ai-feature-template-applelamps-xpic2-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Creating AI Features with xAI Grok This project uses xAI's Grok model for AI-powered features with X (Twitter) search capabilities. ## Instructions 1. **Create API route** at `app/api/<feature-name>/route.ts` 2. **Use this template for Grok with X search**: ```typescript import { NextRequest, NextResponse } from 'next/server'; const corsHeaders = { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type', }; // Define your AI persona and instructions const systemPrompt = `You are [PERSONA NAME], a [ROLE DESCRIPTION]. Your task is to [WHAT TO DO] based on the X account data. Output Requirements: - [REQUIREMENT 1] - [REQUIREMENT 2] - [FORMAT INSTRUCTIONS] CRITICAL: Output ONLY the result. No preamble, no explanations.`; export async function OPTIONS() { return NextResponse.json(null, { headers: corsHeaders }); } export async function POST(req: NextRequest) { try { const { handle } = await req.json(); const HANDLE_REGEX = /^[a-zA-Z0-9_]{1,15}$/; if (!handle || !HANDLE_REGEX.test(handle)) { return NextResponse.json( { error: 'Invalid X handle format.' }, { status: 400, headers: corsHeaders } ); } const xaiApiKey = proces

What's inside
Steps it walks through
  1. Instructions
  2. Existing AI Prompts (Reference)
  3. Prompt Best Practices
  4. Examples
  5. Guardrails
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the ai-feature-template skill do?

Create new AI-powered features using xAI Grok. Use when user mentions "new AI feature", "add Grok", "create prompt", "AI analysis", or "generate with AI".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ai-feature-template-applelamps-xpic2-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going