UNPKG

mcp-ai-agent-guidelines

Version:

A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices

352 lines 12.3 kB
import { z } from "zod"; declare const SparkPromptSchema: z.ZodObject<{ title: z.ZodString; summary: z.ZodString; experienceQualities: z.ZodOptional<z.ZodArray<z.ZodObject<{ quality: z.ZodString; detail: z.ZodString; }, "strip", z.ZodTypeAny, { quality: string; detail: string; }, { quality: string; detail: string; }>, "many">>; complexityLevel: z.ZodString; complexityDescription: z.ZodOptional<z.ZodString>; primaryFocus: z.ZodOptional<z.ZodString>; features: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; functionality: z.ZodString; purpose: z.ZodString; trigger: z.ZodString; progression: z.ZodArray<z.ZodString, "many">; successCriteria: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; functionality: string; purpose: string; trigger: string; progression: string[]; successCriteria: string; }, { name: string; functionality: string; purpose: string; trigger: string; progression: string[]; successCriteria: string; }>, "many">>; edgeCases: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; handling: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; handling: string; }, { name: string; handling: string; }>, "many">>; designDirection: z.ZodString; colorSchemeType: z.ZodString; colorPurpose: z.ZodString; primaryColor: z.ZodString; primaryColorPurpose: z.ZodString; secondaryColors: z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; oklch: z.ZodString; usage: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; oklch: string; usage: string; }, { name: string; oklch: string; usage: string; }>, "many">>; accentColor: z.ZodString; accentColorPurpose: z.ZodString; foregroundBackgroundPairings: z.ZodOptional<z.ZodArray<z.ZodObject<{ container: z.ZodString; containerColor: z.ZodString; textColor: z.ZodString; ratio: z.ZodString; }, "strip", z.ZodTypeAny, { container: string; containerColor: string; textColor: string; ratio: string; }, { container: string; containerColor: string; textColor: string; ratio: string; }>, "many">>; fontFamily: z.ZodString; fontIntention: z.ZodString; fontReasoning: z.ZodString; typography: z.ZodOptional<z.ZodArray<z.ZodObject<{ usage: z.ZodString; font: z.ZodString; weight: z.ZodString; size: z.ZodString; spacing: z.ZodString; }, "strip", z.ZodTypeAny, { usage: string; font: string; weight: string; size: string; spacing: string; }, { usage: string; font: string; weight: string; size: string; spacing: string; }>, "many">>; animationPhilosophy: z.ZodString; animationRestraint: z.ZodString; animationPurpose: z.ZodString; animationHierarchy: z.ZodString; techniques: z.ZodOptional<z.ZodArray<z.ZodEnum<["zero-shot", "few-shot", "chain-of-thought", "self-consistency", "in-context-learning", "generate-knowledge", "prompt-chaining", "tree-of-thoughts", "meta-prompting", "rag", "react", "art"]>, "many">>; includeTechniqueHints: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; autoSelectTechniques: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; provider: z.ZodDefault<z.ZodOptional<z.ZodEnum<["gpt-4.1", "gpt-5", "gpt-5.1", "gpt-5.2", "gpt-5-codex", "gpt-5.1-codex", "gpt-5.1-codex-mini", "gpt-5-mini", "claude-opus-4.1", "claude-haiku-4.5", "claude-sonnet-4.5", "claude-sonnet-4", "gemini-2.5-pro", "gemini-2.0-flash", "grok-code-fast-1", "qwen2.5", "raptor-mini", "other"]>>>; style: z.ZodOptional<z.ZodEnum<["markdown", "xml"]>>; components: z.ZodOptional<z.ZodArray<z.ZodObject<{ type: z.ZodString; usage: z.ZodString; variation: z.ZodOptional<z.ZodString>; styling: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodString>; functionality: z.ZodOptional<z.ZodString>; purpose: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: string; usage: string; functionality?: string | undefined; purpose?: string | undefined; variation?: string | undefined; styling?: string | undefined; state?: string | undefined; }, { type: string; usage: string; functionality?: string | undefined; purpose?: string | undefined; variation?: string | undefined; styling?: string | undefined; state?: string | undefined; }>, "many">>; customizations: z.ZodOptional<z.ZodString>; states: z.ZodOptional<z.ZodArray<z.ZodObject<{ component: z.ZodString; states: z.ZodArray<z.ZodString, "many">; specialFeature: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { component: string; states: string[]; specialFeature?: string | undefined; }, { component: string; states: string[]; specialFeature?: string | undefined; }>, "many">>; icons: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; spacingRule: z.ZodString; spacingContext: z.ZodString; mobileLayout: z.ZodString; mode: z.ZodDefault<z.ZodOptional<z.ZodString>>; model: z.ZodDefault<z.ZodOptional<z.ZodString>>; tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; includeFrontmatter: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; includeDisclaimer: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; includeReferences: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; includeMetadata: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; inputFile: z.ZodOptional<z.ZodString>; forcePromptMdStyle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { title: string; includeFrontmatter: boolean; mode: string; model: string; tools: string[]; includeReferences: boolean; includeMetadata: boolean; forcePromptMdStyle: boolean; includeDisclaimer: boolean; includeTechniqueHints: boolean; autoSelectTechniques: boolean; provider: "gpt-4.1" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5-codex" | "gpt-5.1-codex" | "gpt-5.1-codex-mini" | "gpt-5-mini" | "claude-opus-4.1" | "claude-haiku-4.5" | "claude-sonnet-4.5" | "claude-sonnet-4" | "gemini-2.5-pro" | "gemini-2.0-flash" | "grok-code-fast-1" | "qwen2.5" | "raptor-mini" | "other"; summary: string; complexityLevel: string; designDirection: string; colorSchemeType: string; colorPurpose: string; primaryColor: string; primaryColorPurpose: string; accentColor: string; accentColorPurpose: string; fontFamily: string; fontIntention: string; fontReasoning: string; animationPhilosophy: string; animationRestraint: string; animationPurpose: string; animationHierarchy: string; spacingRule: string; spacingContext: string; mobileLayout: string; inputFile?: string | undefined; techniques?: ("zero-shot" | "few-shot" | "chain-of-thought" | "self-consistency" | "in-context-learning" | "generate-knowledge" | "prompt-chaining" | "tree-of-thoughts" | "meta-prompting" | "rag" | "react" | "art")[] | undefined; style?: "markdown" | "xml" | undefined; experienceQualities?: { quality: string; detail: string; }[] | undefined; complexityDescription?: string | undefined; primaryFocus?: string | undefined; features?: { name: string; functionality: string; purpose: string; trigger: string; progression: string[]; successCriteria: string; }[] | undefined; edgeCases?: { name: string; handling: string; }[] | undefined; secondaryColors?: { name: string; oklch: string; usage: string; }[] | undefined; foregroundBackgroundPairings?: { container: string; containerColor: string; textColor: string; ratio: string; }[] | undefined; typography?: { usage: string; font: string; weight: string; size: string; spacing: string; }[] | undefined; components?: { type: string; usage: string; functionality?: string | undefined; purpose?: string | undefined; variation?: string | undefined; styling?: string | undefined; state?: string | undefined; }[] | undefined; customizations?: string | undefined; states?: { component: string; states: string[]; specialFeature?: string | undefined; }[] | undefined; icons?: string[] | undefined; }, { title: string; summary: string; complexityLevel: string; designDirection: string; colorSchemeType: string; colorPurpose: string; primaryColor: string; primaryColorPurpose: string; accentColor: string; accentColorPurpose: string; fontFamily: string; fontIntention: string; fontReasoning: string; animationPhilosophy: string; animationRestraint: string; animationPurpose: string; animationHierarchy: string; spacingRule: string; spacingContext: string; mobileLayout: string; includeFrontmatter?: boolean | undefined; mode?: string | undefined; model?: string | undefined; tools?: string[] | undefined; includeReferences?: boolean | undefined; includeMetadata?: boolean | undefined; inputFile?: string | undefined; forcePromptMdStyle?: boolean | undefined; includeDisclaimer?: boolean | undefined; techniques?: ("zero-shot" | "few-shot" | "chain-of-thought" | "self-consistency" | "in-context-learning" | "generate-knowledge" | "prompt-chaining" | "tree-of-thoughts" | "meta-prompting" | "rag" | "react" | "art")[] | undefined; includeTechniqueHints?: boolean | undefined; autoSelectTechniques?: boolean | undefined; provider?: "gpt-4.1" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5-codex" | "gpt-5.1-codex" | "gpt-5.1-codex-mini" | "gpt-5-mini" | "claude-opus-4.1" | "claude-haiku-4.5" | "claude-sonnet-4.5" | "claude-sonnet-4" | "gemini-2.5-pro" | "gemini-2.0-flash" | "grok-code-fast-1" | "qwen2.5" | "raptor-mini" | "other" | undefined; style?: "markdown" | "xml" | undefined; experienceQualities?: { quality: string; detail: string; }[] | undefined; complexityDescription?: string | undefined; primaryFocus?: string | undefined; features?: { name: string; functionality: string; purpose: string; trigger: string; progression: string[]; successCriteria: string; }[] | undefined; edgeCases?: { name: string; handling: string; }[] | undefined; secondaryColors?: { name: string; oklch: string; usage: string; }[] | undefined; foregroundBackgroundPairings?: { container: string; containerColor: string; textColor: string; ratio: string; }[] | undefined; typography?: { usage: string; font: string; weight: string; size: string; spacing: string; }[] | undefined; components?: { type: string; usage: string; functionality?: string | undefined; purpose?: string | undefined; variation?: string | undefined; styling?: string | undefined; state?: string | undefined; }[] | undefined; customizations?: string | undefined; states?: { component: string; states: string[]; specialFeature?: string | undefined; }[] | undefined; icons?: string[] | undefined; }>; export type SparkPromptInput = z.infer<typeof SparkPromptSchema>; export declare function sparkPromptBuilder(args: unknown): Promise<import("../shared/error-handler.js").McpResponse | { content: { type: string; text: string; }[]; }>; export {}; //# sourceMappingURL=spark-prompt-builder.d.ts.map