#!/usr/bin/env node /** * Forgen — Intent Classifier Hook * * Claude Code UserPromptSubmit 훅으로 등록. * 사용자 프롬프트를 분석하여 의도를 분류하고, 의도별 가이드를 주입합니다. * * stdin: JSON { prompt: string, ... } * stdout: JSON { result: "approve", message?: string } */ export type Intent = 'implement' | 'debug' | 'refactor' | 'explain' | 'review' | 'explore' | 'design' | 'general'; export declare function classifyIntent(prompt: string): Intent;