UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

46 lines 1.66 kB
/** * CommandSmith Usage Examples * * Demonstrates how to generate and deploy platform-aware commands. */ /** * Example 1: Generate a simple utility command */ export declare function generateSimpleUtility(projectPath: string): Promise<import("./types.js").GeneratedCommand>; /** * Example 2: Generate a transformation pipeline */ export declare function generateTransformationPipeline(projectPath: string): Promise<import("./types.js").CommandDeploymentResult>; /** * Example 3: Generate an orchestration workflow */ export declare function generateOrchestrationWorkflow(projectPath: string): Promise<import("./types.js").CommandDeploymentResult>; /** * Example 4: Deploy to multiple platforms */ export declare function deployMultiPlatform(projectPath: string): Promise<{ platform: "claude" | "cursor" | "factory"; success: boolean; path: string; }[]>; /** * Example 5: Validate before deploying */ export declare function validateBeforeDeploy(projectPath: string): Promise<import("./types.js").CommandDeploymentResult | null>; /** * Example 6: List existing commands */ export declare function showExistingCommands(projectPath: string): Promise<void>; /** * Example 7: Dry run (preview without deploying) */ export declare function previewCommand(projectPath: string): Promise<import("./types.js").CommandDeploymentResult>; /** * Example 8: Generate Cursor-specific JSON command */ export declare function generateCursorCommand(projectPath: string): Promise<import("./types.js").GeneratedCommand>; /** * Run all examples */ export declare function runAllExamples(): Promise<void>; //# sourceMappingURL=example.d.ts.map