Agent skill

idea-generation

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/idea-generation

SKILL.md

Idea Generation

Pipeline

POST /api/generation/generate
  → IdeaGenerationService
    → PromptBuilder (YAML configs)
    → callAI() (Claude/Gemini)
    → parseAIResponse()
    → EmbeddingService (duplicate check)
    → IdeaRepository (save)
    → GenerationLogger (SSE logs)

API

typescript
POST /api/generation/generate
{
  "framework": "pain-point",  // optional, random if not specified
  "domain": "Healthcare",      // optional
  "sessionId": "uuid"          // for log tracking
}

AI Response Shape

json
{
  "name": "Idea Name (max 60 chars)",
  "domain": "Domain → Subdomain",
  "problem": "...",
  "solution": "...",
  "quickSummary": "Elevator pitch",
  "concreteExample": {
    "currentState": "How users handle this today",
    "yourSolution": "How they'd use your product",
    "keyImprovement": "Quantifiable improvement"
  },
  "evaluation": {
    "problemSeverity": { "score": 8, "reasoning": "..." }
  },
  "tags": ["tag1", "tag2"]
}

Scoring

  • Per-criterion: 1-10 scale
  • Weighted total: 0-100 scale
  • Config: evaluation-criteria.yaml

Duplicate Detection

  1. Exact: Same domain + problem + solution
  2. Semantic: Embedding similarity > 85%

SSE Logs

Stages: INITCONFIG_LOADPROMPT_BUILDAPI_CALLRESPONSE_PARSEDUPLICATE_CHECKDB_SAVECOMPLETE

Endpoint: GET /api/logs/stream/{sessionId}

Key Files

File Purpose
services/ideaGenerationService.ts Orchestration
services/promptBuilder.ts AI prompts
services/configService.ts YAML configs
lib/aiProvider.ts Claude/Gemini

Didn't find tool you were looking for?

Be as detailed as possible for better results