@skillkit/core 1.7.5 → 1.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +128 -8
- package/dist/index.js +1194 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const AgentType: z.ZodEnum<["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "amp", "clawdbot", "droid", "github-copilot", "goose", "kilo", "kiro-cli", "roo", "trae", "windsurf", "universal"]>;
|
|
3
|
+
declare const AgentType: z.ZodEnum<["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "amp", "clawdbot", "droid", "github-copilot", "goose", "kilo", "kiro-cli", "roo", "trae", "windsurf", "universal", "cline", "codebuddy", "commandcode", "continue", "crush", "factory", "mcpjam", "mux", "neovate", "openhands", "pi", "qoder", "qwen", "vercel", "zencoder"]>;
|
|
4
4
|
type AgentType = z.infer<typeof AgentType>;
|
|
5
5
|
declare const GitProvider: z.ZodEnum<["github", "gitlab", "bitbucket", "local"]>;
|
|
6
6
|
type GitProvider = z.infer<typeof GitProvider>;
|
|
@@ -14,7 +14,7 @@ declare const SkillFrontmatter: z.ZodObject<{
|
|
|
14
14
|
version: z.ZodOptional<z.ZodString>;
|
|
15
15
|
author: z.ZodOptional<z.ZodString>;
|
|
16
16
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17
|
-
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "amp", "clawdbot", "droid", "github-copilot", "goose", "kilo", "kiro-cli", "roo", "trae", "windsurf", "universal"]>, "many">>;
|
|
17
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "amp", "clawdbot", "droid", "github-copilot", "goose", "kilo", "kiro-cli", "roo", "trae", "windsurf", "universal", "cline", "codebuddy", "commandcode", "continue", "crush", "factory", "mcpjam", "mux", "neovate", "openhands", "pi", "qoder", "qwen", "vercel", "zencoder"]>, "many">>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
name: string;
|
|
20
20
|
description: string;
|
|
@@ -25,7 +25,7 @@ declare const SkillFrontmatter: z.ZodObject<{
|
|
|
25
25
|
version?: string | undefined;
|
|
26
26
|
author?: string | undefined;
|
|
27
27
|
tags?: string[] | undefined;
|
|
28
|
-
agents?: ("claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal")[] | undefined;
|
|
28
|
+
agents?: ("claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal" | "cline" | "codebuddy" | "commandcode" | "continue" | "crush" | "factory" | "mcpjam" | "mux" | "neovate" | "openhands" | "pi" | "qoder" | "qwen" | "vercel" | "zencoder")[] | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
name: string;
|
|
31
31
|
description: string;
|
|
@@ -36,7 +36,7 @@ declare const SkillFrontmatter: z.ZodObject<{
|
|
|
36
36
|
version?: string | undefined;
|
|
37
37
|
author?: string | undefined;
|
|
38
38
|
tags?: string[] | undefined;
|
|
39
|
-
agents?: ("claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal")[] | undefined;
|
|
39
|
+
agents?: ("claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal" | "cline" | "codebuddy" | "commandcode" | "continue" | "crush" | "factory" | "mcpjam" | "mux" | "neovate" | "openhands" | "pi" | "qoder" | "qwen" | "vercel" | "zencoder")[] | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
type SkillFrontmatter = z.infer<typeof SkillFrontmatter>;
|
|
42
42
|
declare const SkillMetadata: z.ZodObject<{
|
|
@@ -156,7 +156,7 @@ declare const Skill: z.ZodObject<{
|
|
|
156
156
|
type Skill = z.infer<typeof Skill>;
|
|
157
157
|
declare const SkillkitConfig: z.ZodObject<{
|
|
158
158
|
version: z.ZodLiteral<1>;
|
|
159
|
-
agent: z.ZodDefault<z.ZodEnum<["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "amp", "clawdbot", "droid", "github-copilot", "goose", "kilo", "kiro-cli", "roo", "trae", "windsurf", "universal"]>>;
|
|
159
|
+
agent: z.ZodDefault<z.ZodEnum<["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "amp", "clawdbot", "droid", "github-copilot", "goose", "kilo", "kiro-cli", "roo", "trae", "windsurf", "universal", "cline", "codebuddy", "commandcode", "continue", "crush", "factory", "mcpjam", "mux", "neovate", "openhands", "pi", "qoder", "qwen", "vercel", "zencoder"]>>;
|
|
160
160
|
skillsDir: z.ZodOptional<z.ZodString>;
|
|
161
161
|
enabledSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
162
|
disabledSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -166,7 +166,7 @@ declare const SkillkitConfig: z.ZodObject<{
|
|
|
166
166
|
defaultTimeout: z.ZodOptional<z.ZodNumber>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
168
|
version: 1;
|
|
169
|
-
agent: "claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal";
|
|
169
|
+
agent: "claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal" | "cline" | "codebuddy" | "commandcode" | "continue" | "crush" | "factory" | "mcpjam" | "mux" | "neovate" | "openhands" | "pi" | "qoder" | "qwen" | "vercel" | "zencoder";
|
|
170
170
|
autoSync: boolean;
|
|
171
171
|
skillsDir?: string | undefined;
|
|
172
172
|
enabledSkills?: string[] | undefined;
|
|
@@ -176,7 +176,7 @@ declare const SkillkitConfig: z.ZodObject<{
|
|
|
176
176
|
defaultTimeout?: number | undefined;
|
|
177
177
|
}, {
|
|
178
178
|
version: 1;
|
|
179
|
-
agent?: "claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal" | undefined;
|
|
179
|
+
agent?: "claude-code" | "codex" | "cursor" | "antigravity" | "opencode" | "gemini-cli" | "amp" | "clawdbot" | "droid" | "github-copilot" | "goose" | "kilo" | "kiro-cli" | "roo" | "trae" | "windsurf" | "universal" | "cline" | "codebuddy" | "commandcode" | "continue" | "crush" | "factory" | "mcpjam" | "mux" | "neovate" | "openhands" | "pi" | "qoder" | "qwen" | "vercel" | "zencoder" | undefined;
|
|
180
180
|
skillsDir?: string | undefined;
|
|
181
181
|
enabledSkills?: string[] | undefined;
|
|
182
182
|
disabledSkills?: string[] | undefined;
|
|
@@ -8237,4 +8237,124 @@ declare function generateSkillsConfig(skills: Skill[], targetAgent: AgentType):
|
|
|
8237
8237
|
declare const getAgentSkillsDir: typeof getSkillsDir;
|
|
8238
8238
|
declare const getAgentConfigFile: typeof getConfigFile;
|
|
8239
8239
|
|
|
8240
|
-
export { AGENT_CLI_CONFIGS, AGENT_CONFIG, AGENT_DISCOVERY_PATHS, AGENT_FORMAT_MAP, AGENT_SKILL_FORMATS, type AIConfig, type AIGenerateOptions, AIManager, type AIProvider, AISearch, type AISearchOptions, type AISearchResult, AISkillGenerator, ALL_AGENT_DISCOVERY_PATHS, APIBasedCompressor, type APICompressionConfig, type ActivatedSkill, type AgentAdapterInfo, type AgentCLIConfig, type AgentCommandFormat, AgentConfig, type AgentDirectoryConfig, type AgentExecutionResult, type AgentFormatCategory, AgentFrontmatter, AgentHook, type AgentHookFormat, type AgentInstance, AgentLocation, AgentMetadata, AgentPermissionMode, type AgentSkillFormat, type AgentStatus, type AgentTranslationOptions, type AgentTranslationResult, AgentType, type AssertionResult, type AuditEvent, type AuditEventType, type AuditExportOptions, AuditLogger, type AuditQuery, type AuditStats, BaseAIProvider, BitbucketProvider, type BundleManifest, CIRCLECI_CONFIG_TEMPLATE, CONTEXT_DIR, CONTEXT_FILE, CUSTOM_AGENT_FORMAT_MAP, type CanonicalAgent, type CanonicalSkill, type CheckpointHandler, type CheckpointResponse, type CloneOptions, type CloneResult, type CommandArg, type CommandBundle, type CommandContext, type CommandEvent, type CommandEventListener, CommandGenerator, type CommandGeneratorOptions, type CommandHandler, type CommandPlugin, CommandRegistry, type CommandRegistryOptions, type CommandResult, type CommandSearchOptions, type CommandValidationResult, type CompressedLearning, type CompressionEngine, type CompressionOptions, type CompressionResult, type ContextCategory, type ContextExportOptions, type ContextImportOptions, type ContextLoadOptions, ContextLoader, ContextManager, ContextSync, type ContextSyncOptions, CopilotTranslator, type CrossAgentSkill, type CurrentExecution, CursorTranslator, type CustomAgent, DEFAULT_CACHE_TTL, DEFAULT_CONTEXT_CATEGORIES, DEFAULT_MEMORY_CONFIG, DEFAULT_SCORING_WEIGHTS, DEFAULT_SKILL_SOURCES, DependencyInfo, Detection, type DetectionSource, type DiscoveredSkill, type ExecutableSkill, type ExecutableTask, type ExecutableTaskType, type ExecutionHistory, type ExecutionOptions, type ExecutionProgressCallback, type ExecutionProgressEvent, type ExecutionStrategy, type ExecutionTaskStatus, type FormatCategory, type FormatTranslator, type FreshnessResult, GITHUB_ACTION_TEMPLATE, GITLAB_CI_TEMPLATE, type GenerateOptions, type GeneratedSkill, GitHubProvider, GitLabProvider, GitProvider, type GitProviderAdapter, type HookConfig, type HookContext, type HookError, type HookEvent, type HookEventListener, HookManager, type HookManagerOptions, type HookTriggerResult, INDEX_CACHE_HOURS, INDEX_PATH, type ImportOptions, type IndexSource, type InjectedMemory, type InjectionMode, type InjectionOptions, type InjectionResult, type InstallOptions, type InstallResult, type InstalledPackInfo, type InstalledSkillInfo, type IssueSeverity, KNOWN_SKILL_REPOS, type Learning, LearningConsolidator, LearningStore, type LearningStoreData, type LoadedContext, LocalProvider, MARKETPLACE_CACHE_FILE, MarketplaceAggregator, type MarketplaceConfig, type MarketplaceIndex, type MarketplaceSearchOptions, type MarketplaceSearchResult, type MarketplaceSkill, type MatchCategory, type MatchReason, type MatcherFunction, MemoryCompressor, type MemoryConfig, MemoryEnabledEngine, type MemoryEnabledEngineOptions, type MemoryFull, type MemoryIndex, MemoryIndexStore, MemoryInjector, MemoryObserver, type MemoryObserverConfig, type MemoryPaths, type MemoryPreview, type MemorySearchOptions, type MemorySearchResult, type MemoryStatus, type MemorySummary, type MessageHandler, type MessageType, MethodologyLoader, MethodologyManager, type MethodologyManagerOptions, type MethodologyPack, type MethodologySearchQuery, type MethodologySearchResult, type MethodologySkill, type MethodologySkillMetadata, type MethodologyState, type MethodologySyncResult, MockAIProvider, type ObservableEvent, type ObservableEventType, type Observation, type ObservationContent, ObservationStore, type ObservationStoreData, type ObservationType, type OrchestratorOptions, type OrchestratorTaskStatus, type OrchestratorTeamConfig, PRE_COMMIT_CONFIG_TEMPLATE, PRE_COMMIT_HOOK_TEMPLATE, PROJECT_TYPE_HINTS, type ParseOptions, type PlanEvent, type PlanEventListener, type PlanExecutionOptions, type PlanExecutionResult, PlanExecutor, PlanGenerator, PlanParser, type PlanResult, type PlanStatus, type PlanStep, type PlanTask, type PlanTaskFiles, type PlanTaskResult, type PlanValidationResult, PlanValidator, type Plugin, type PluginConfig, type PluginContext, type PluginHooks, PluginLoader, PluginManager, type PluginMetadata, ProjectContext, ProjectDetector, ProjectPatterns, type ProjectProfile, ProjectStack, type ProviderPlugin, type RecommendOptions, RecommendationEngine, type RecommendationResult, type RegisteredCommand, type RegistrySkill, type ReviewIssue, type ReviewResult, type ReviewStage, type ReviewStageName, RuleBasedCompressor, SESSION_FILE, SKILL_DISCOVERY_PATHS, type ScoredSkill, type ScoringWeights, type SearchOptions, type SearchResult, type SearchableSkill, type SessionDecision, SessionManager, type SessionState, type SessionTask, type ShareOptions, type SharedSkill, Skill, SkillBundle, type SkillExample, SkillExecutionEngine, type SkillExecutionEvent, type SkillExecutionResult, type SkillExecutor, type SkillExecutorOptions, SkillFrontmatter, type SkillHook, type SkillIndex, SkillLocation, SkillMdTranslator, SkillMetadata, SkillPreferences, type SkillSource, SkillSummary, type SkillTestCase, type SkillTestSuite, type SkillTranslationOptions, type SkillTranslationResult, SkillTriggerEngine, SkillkitConfig, type SlashCommand, type SlashCommandResult, type StepExecutor, type StepType, type StructuredPlan, type SyncOptions, type SyncReport, type SyncResult, TAG_TO_TECH, TASK_TEMPLATES, type Task, type TaskEvent, type TaskEventListener, type TaskExecutionResult, type TaskFiles, type TaskFilter, TaskManager, type TaskPlan, type TaskResult, type TaskStatus, type TaskStep, type TaskTemplate, type Team, type TeamConfig, type TeamEvent, type TeamEventListener, TeamManager, type TeamMember, type TeamMessage, TeamMessageBus, TeamOrchestrator, type TeamRegistry, type TeamStatus, type TestAssertion, type TestAssertionType, type TestCaseResult, type TestProgressEvent, type TestResult, type TestRunnerOptions, type TestSuiteResult, TranslatableSkillFrontmatter, type TranslationOptions, type TranslationPath, type TranslationResult, type TranslatorPlugin, TranslatorRegistry, type TriggerEngineOptions, type UpdateOptions, type ValidationError, type ValidationIssue, type ValidationResult, type ValidationWarning, type ValidatorOptions, type VerificationRule, WORKFLOWS_DIR, WORKFLOW_EXTENSION, type WaveExecutionStatus, WindsurfTranslator, type Workflow, type WorkflowExecution, type WorkflowExecutionStatus, WorkflowOrchestrator, type WorkflowProgressCallback, type WorkflowSkill, type WorkflowWave, agentExists, analyzeProject, buildSkillIndex, canTranslate, copilotTranslator, createAPIBasedCompressor, createCommandGenerator, createCommandRegistry, createContextLoader, createContextManager, createContextSync, createExecutionEngine, createHookManager, createMarketplaceAggregator, createMemoryCompressor, createMemoryEnabledEngine, createMemoryInjector, createMemoryObserver, createMessageBus, createMethodologyLoader, createMethodologyManager, createPlanExecutor, createPlanGenerator, createPlanParser, createPlanValidator, createPluginManager, createRecommendationEngine, createRuleBasedCompressor, createSessionManager, createSimulatedSkillExecutor, createSkillBundle, createSkillExecutor, createTaskManager, createTeamManager, createTeamOrchestrator, createTestSuiteFromFrontmatter, createTriggerEngine, createWorkflowOrchestrator, createWorkflowTemplate, cursorTranslator, detectProvider, detectSkillFormat, discoverAgents, discoverAgentsForAgent, discoverAgentsFromPath, discoverAgentsRecursive, discoverGlobalAgents, discoverSkills, dryRunExecutor, estimateTokens, executeWithAgent, exportBundle, extractAgentContent, extractAgentFrontmatter, extractField, extractFrontmatter, extractSkillMetadata, fetchSkillsFromRepo, findAgent, findAllAgents, findAllSkills, findSkill, formatSkillAsPrompt, fromCanonicalAgent, generateSkillsConfig, getAgentCLIConfig, getAgentConfigFile, getAgentConfigPath, getAgentDirectoryConfig, getAgentFilename, getAgentFormat, getAgentSkillsDir, getAgentStats, getAgentTargetDirectory, getAgentsDirectory, getAllProviders, getAllSkillsDirs, getAvailableCLIAgents, getBuiltinPacksDir, getCICDTemplate, getConfigFile, getConfigFormat, getExecutionStrategy, getGlobalConfigPath, getGlobalSkillsDir, getIndexStatus, getInstallDir, getManualExecutionInstructions, getMemoryPaths, getMemoryStatus, getProjectConfigPath, getProvider, getSearchDirs, getSkillsDir, getStackTags, getSupportedTranslationAgents, getTechTags, globalMemoryDirectoryExists, importBundle, initContext, initProject, initializeMemoryDirectory, isAgentCLIAvailable, isAgentCompatible, isGitUrl, isIndexStale, isLocalPath, isPathInside, listCICDTemplates, listWorkflows, loadAgentMetadata, loadConfig, loadContext, loadIndex, loadMetadata, loadPlugin, loadPluginsFromDirectory, loadSkillMetadata, loadWorkflow, loadWorkflowByName, memoryDirectoryExists, parseAgentDir, parseAgentFile, parseShorthand, parseSkill, parseSkillContent, parseSkillContentToCanonical, parseSkillToCanonical, parseSource, parseWorkflow, readAgentContent, readSkillContent, runTestSuite, saveConfig, saveIndex, saveSkillMetadata, saveWorkflow, serializeWorkflow, setSkillEnabled, shellExecutor, skillMdTranslator, supportsAutoDiscovery, supportsSlashCommands, syncToAgent, syncToAllAgents, toCanonicalAgent, translateAgent, translateAgentContent, translateAgents, translateCanonicalAgent, translateSkill, translateSkillFile, translateSkillToAgent, translateSkillToAll, translatorRegistry, validateAgent, validateBuiltinPacks, validatePackDirectory, validatePackManifest, validatePlan, validateSkill, validateSkillContent, validateWorkflow, windsurfTranslator, wrapProgressCallbackWithMemory, writeTranslatedSkill };
|
|
8240
|
+
interface SkillEntry {
|
|
8241
|
+
source: string;
|
|
8242
|
+
skills?: string[];
|
|
8243
|
+
agents?: string[];
|
|
8244
|
+
enabled?: boolean;
|
|
8245
|
+
}
|
|
8246
|
+
interface SkillsManifest {
|
|
8247
|
+
version: number;
|
|
8248
|
+
skills: SkillEntry[];
|
|
8249
|
+
agents?: string[];
|
|
8250
|
+
installMethod?: 'symlink' | 'copy';
|
|
8251
|
+
updatedAt?: string;
|
|
8252
|
+
}
|
|
8253
|
+
declare function findManifestPath(startDir?: string): string | null;
|
|
8254
|
+
declare function loadManifest(manifestPath?: string): SkillsManifest | null;
|
|
8255
|
+
declare function saveManifest(manifest: SkillsManifest, manifestPath?: string): void;
|
|
8256
|
+
declare function addToManifest(source: string, options?: {
|
|
8257
|
+
skills?: string[];
|
|
8258
|
+
agents?: string[];
|
|
8259
|
+
}, manifestPath?: string): SkillsManifest;
|
|
8260
|
+
declare function removeFromManifest(source: string, manifestPath?: string): SkillsManifest | null;
|
|
8261
|
+
declare function initManifest(options?: {
|
|
8262
|
+
agents?: string[];
|
|
8263
|
+
installMethod?: 'symlink' | 'copy';
|
|
8264
|
+
}, manifestPath?: string): SkillsManifest;
|
|
8265
|
+
declare function generateManifestFromInstalled(installedSkills: Array<{
|
|
8266
|
+
name: string;
|
|
8267
|
+
source: string;
|
|
8268
|
+
agents?: string[];
|
|
8269
|
+
}>): SkillsManifest;
|
|
8270
|
+
|
|
8271
|
+
/**
|
|
8272
|
+
* Benchmark quality scores against category leaders
|
|
8273
|
+
*/
|
|
8274
|
+
|
|
8275
|
+
interface BenchmarkResult {
|
|
8276
|
+
skill: string;
|
|
8277
|
+
score: number;
|
|
8278
|
+
grade: string;
|
|
8279
|
+
categoryAvg: number;
|
|
8280
|
+
topSkillScore: number;
|
|
8281
|
+
percentile: number;
|
|
8282
|
+
comparisonNotes: string[];
|
|
8283
|
+
recommendations: string[];
|
|
8284
|
+
}
|
|
8285
|
+
interface CategoryStats {
|
|
8286
|
+
category: string;
|
|
8287
|
+
avgScore: number;
|
|
8288
|
+
topScore: number;
|
|
8289
|
+
topSkills: string[];
|
|
8290
|
+
count: number;
|
|
8291
|
+
distribution: {
|
|
8292
|
+
A: number;
|
|
8293
|
+
B: number;
|
|
8294
|
+
C: number;
|
|
8295
|
+
D: number;
|
|
8296
|
+
F: number;
|
|
8297
|
+
};
|
|
8298
|
+
}
|
|
8299
|
+
declare function getGrade(score: number): string;
|
|
8300
|
+
declare function detectCategory(skillName: string, tags?: string[]): string;
|
|
8301
|
+
declare function calculatePercentile(score: number, categoryStats: CategoryStats): number;
|
|
8302
|
+
declare function generateComparisonNotes(quality: QualityScore, categoryStats: CategoryStats): string[];
|
|
8303
|
+
declare function generateRecommendations(quality: QualityScore, categoryStats: CategoryStats): string[];
|
|
8304
|
+
declare function benchmarkSkill(skillName: string, quality: QualityScore, tags?: string[], customCategoryStats?: CategoryStats): BenchmarkResult;
|
|
8305
|
+
declare function getCategoryStats(category: string): CategoryStats | null;
|
|
8306
|
+
declare function getAllCategories(): string[];
|
|
8307
|
+
|
|
8308
|
+
interface QualityScore {
|
|
8309
|
+
overall: number;
|
|
8310
|
+
structure: StructureScore;
|
|
8311
|
+
clarity: ClarityScore;
|
|
8312
|
+
specificity: SpecificityScore;
|
|
8313
|
+
advanced: AdvancedScore;
|
|
8314
|
+
warnings: string[];
|
|
8315
|
+
suggestions: string[];
|
|
8316
|
+
}
|
|
8317
|
+
interface AdvancedScore {
|
|
8318
|
+
score: number;
|
|
8319
|
+
deprecatedPatterns: string[];
|
|
8320
|
+
conflictingInstructions: string[];
|
|
8321
|
+
securityIssues: string[];
|
|
8322
|
+
completeness: CompletenessResult;
|
|
8323
|
+
}
|
|
8324
|
+
interface CompletenessResult {
|
|
8325
|
+
score: number;
|
|
8326
|
+
hasTodos: boolean;
|
|
8327
|
+
todoCount: number;
|
|
8328
|
+
emptySections: string[];
|
|
8329
|
+
exampleCoverage: number;
|
|
8330
|
+
}
|
|
8331
|
+
interface StructureScore {
|
|
8332
|
+
score: number;
|
|
8333
|
+
hasMetadata: boolean;
|
|
8334
|
+
hasDescription: boolean;
|
|
8335
|
+
hasTriggers: boolean;
|
|
8336
|
+
hasExamples: boolean;
|
|
8337
|
+
hasBoundaries: boolean;
|
|
8338
|
+
hasWhenToUse: boolean;
|
|
8339
|
+
}
|
|
8340
|
+
interface ClarityScore {
|
|
8341
|
+
score: number;
|
|
8342
|
+
lineCount: number;
|
|
8343
|
+
tokenCount: number;
|
|
8344
|
+
avgSentenceLength: number;
|
|
8345
|
+
hasHeaders: boolean;
|
|
8346
|
+
}
|
|
8347
|
+
interface SpecificityScore {
|
|
8348
|
+
score: number;
|
|
8349
|
+
hasConcreteCommands: boolean;
|
|
8350
|
+
hasFilePatterns: boolean;
|
|
8351
|
+
hasCodeExamples: boolean;
|
|
8352
|
+
vagueTermCount: number;
|
|
8353
|
+
}
|
|
8354
|
+
declare function evaluateSkillContent(content: string): QualityScore;
|
|
8355
|
+
declare function evaluateSkillFile(filePath: string): QualityScore | null;
|
|
8356
|
+
declare function evaluateSkillDirectory(dirPath: string): QualityScore | null;
|
|
8357
|
+
declare function getQualityGrade(score: number): string;
|
|
8358
|
+
declare function isHighQuality(score: QualityScore): boolean;
|
|
8359
|
+
|
|
8360
|
+
export { AGENT_CLI_CONFIGS, AGENT_CONFIG, AGENT_DISCOVERY_PATHS, AGENT_FORMAT_MAP, AGENT_SKILL_FORMATS, type AIConfig, type AIGenerateOptions, AIManager, type AIProvider, AISearch, type AISearchOptions, type AISearchResult, AISkillGenerator, ALL_AGENT_DISCOVERY_PATHS, APIBasedCompressor, type APICompressionConfig, type ActivatedSkill, type AdvancedScore, type AgentAdapterInfo, type AgentCLIConfig, type AgentCommandFormat, AgentConfig, type AgentDirectoryConfig, type AgentExecutionResult, type AgentFormatCategory, AgentFrontmatter, AgentHook, type AgentHookFormat, type AgentInstance, AgentLocation, AgentMetadata, AgentPermissionMode, type AgentSkillFormat, type AgentStatus, type AgentTranslationOptions, type AgentTranslationResult, AgentType, type AssertionResult, type AuditEvent, type AuditEventType, type AuditExportOptions, AuditLogger, type AuditQuery, type AuditStats, BaseAIProvider, type BenchmarkResult, BitbucketProvider, type BundleManifest, CIRCLECI_CONFIG_TEMPLATE, CONTEXT_DIR, CONTEXT_FILE, CUSTOM_AGENT_FORMAT_MAP, type CanonicalAgent, type CanonicalSkill, type CategoryStats, type CheckpointHandler, type CheckpointResponse, type ClarityScore, type CloneOptions, type CloneResult, type CommandArg, type CommandBundle, type CommandContext, type CommandEvent, type CommandEventListener, CommandGenerator, type CommandGeneratorOptions, type CommandHandler, type CommandPlugin, CommandRegistry, type CommandRegistryOptions, type CommandResult, type CommandSearchOptions, type CommandValidationResult, type CompletenessResult, type CompressedLearning, type CompressionEngine, type CompressionOptions, type CompressionResult, type ContextCategory, type ContextExportOptions, type ContextImportOptions, type ContextLoadOptions, ContextLoader, ContextManager, ContextSync, type ContextSyncOptions, CopilotTranslator, type CrossAgentSkill, type CurrentExecution, CursorTranslator, type CustomAgent, DEFAULT_CACHE_TTL, DEFAULT_CONTEXT_CATEGORIES, DEFAULT_MEMORY_CONFIG, DEFAULT_SCORING_WEIGHTS, DEFAULT_SKILL_SOURCES, DependencyInfo, Detection, type DetectionSource, type DiscoveredSkill, type ExecutableSkill, type ExecutableTask, type ExecutableTaskType, type ExecutionHistory, type ExecutionOptions, type ExecutionProgressCallback, type ExecutionProgressEvent, type ExecutionStrategy, type ExecutionTaskStatus, type FormatCategory, type FormatTranslator, type FreshnessResult, GITHUB_ACTION_TEMPLATE, GITLAB_CI_TEMPLATE, type GenerateOptions, type GeneratedSkill, GitHubProvider, GitLabProvider, GitProvider, type GitProviderAdapter, type HookConfig, type HookContext, type HookError, type HookEvent, type HookEventListener, HookManager, type HookManagerOptions, type HookTriggerResult, INDEX_CACHE_HOURS, INDEX_PATH, type ImportOptions, type IndexSource, type InjectedMemory, type InjectionMode, type InjectionOptions, type InjectionResult, type InstallOptions, type InstallResult, type InstalledPackInfo, type InstalledSkillInfo, type IssueSeverity, KNOWN_SKILL_REPOS, type Learning, LearningConsolidator, LearningStore, type LearningStoreData, type LoadedContext, LocalProvider, MARKETPLACE_CACHE_FILE, MarketplaceAggregator, type MarketplaceConfig, type MarketplaceIndex, type MarketplaceSearchOptions, type MarketplaceSearchResult, type MarketplaceSkill, type MatchCategory, type MatchReason, type MatcherFunction, MemoryCompressor, type MemoryConfig, MemoryEnabledEngine, type MemoryEnabledEngineOptions, type MemoryFull, type MemoryIndex, MemoryIndexStore, MemoryInjector, MemoryObserver, type MemoryObserverConfig, type MemoryPaths, type MemoryPreview, type MemorySearchOptions, type MemorySearchResult, type MemoryStatus, type MemorySummary, type MessageHandler, type MessageType, MethodologyLoader, MethodologyManager, type MethodologyManagerOptions, type MethodologyPack, type MethodologySearchQuery, type MethodologySearchResult, type MethodologySkill, type MethodologySkillMetadata, type MethodologyState, type MethodologySyncResult, MockAIProvider, type ObservableEvent, type ObservableEventType, type Observation, type ObservationContent, ObservationStore, type ObservationStoreData, type ObservationType, type OrchestratorOptions, type OrchestratorTaskStatus, type OrchestratorTeamConfig, PRE_COMMIT_CONFIG_TEMPLATE, PRE_COMMIT_HOOK_TEMPLATE, PROJECT_TYPE_HINTS, type ParseOptions, type PlanEvent, type PlanEventListener, type PlanExecutionOptions, type PlanExecutionResult, PlanExecutor, PlanGenerator, PlanParser, type PlanResult, type PlanStatus, type PlanStep, type PlanTask, type PlanTaskFiles, type PlanTaskResult, type PlanValidationResult, PlanValidator, type Plugin, type PluginConfig, type PluginContext, type PluginHooks, PluginLoader, PluginManager, type PluginMetadata, ProjectContext, ProjectDetector, ProjectPatterns, type ProjectProfile, ProjectStack, type ProviderPlugin, type QualityScore, type RecommendOptions, RecommendationEngine, type RecommendationResult, type RegisteredCommand, type RegistrySkill, type ReviewIssue, type ReviewResult, type ReviewStage, type ReviewStageName, RuleBasedCompressor, SESSION_FILE, SKILL_DISCOVERY_PATHS, type ScoredSkill, type ScoringWeights, type SearchOptions, type SearchResult, type SearchableSkill, type SessionDecision, SessionManager, type SessionState, type SessionTask, type ShareOptions, type SharedSkill, Skill, SkillBundle, type SkillEntry, type SkillExample, SkillExecutionEngine, type SkillExecutionEvent, type SkillExecutionResult, type SkillExecutor, type SkillExecutorOptions, SkillFrontmatter, type SkillHook, type SkillIndex, SkillLocation, SkillMdTranslator, SkillMetadata, SkillPreferences, type SkillSource, SkillSummary, type SkillTestCase, type SkillTestSuite, type SkillTranslationOptions, type SkillTranslationResult, SkillTriggerEngine, SkillkitConfig, type SkillsManifest, type SlashCommand, type SlashCommandResult, type SpecificityScore, type StepExecutor, type StepType, type StructureScore, type StructuredPlan, type SyncOptions, type SyncReport, type SyncResult, TAG_TO_TECH, TASK_TEMPLATES, type Task, type TaskEvent, type TaskEventListener, type TaskExecutionResult, type TaskFiles, type TaskFilter, TaskManager, type TaskPlan, type TaskResult, type TaskStatus, type TaskStep, type TaskTemplate, type Team, type TeamConfig, type TeamEvent, type TeamEventListener, TeamManager, type TeamMember, type TeamMessage, TeamMessageBus, TeamOrchestrator, type TeamRegistry, type TeamStatus, type TestAssertion, type TestAssertionType, type TestCaseResult, type TestProgressEvent, type TestResult, type TestRunnerOptions, type TestSuiteResult, TranslatableSkillFrontmatter, type TranslationOptions, type TranslationPath, type TranslationResult, type TranslatorPlugin, TranslatorRegistry, type TriggerEngineOptions, type UpdateOptions, type ValidationError, type ValidationIssue, type ValidationResult, type ValidationWarning, type ValidatorOptions, type VerificationRule, WORKFLOWS_DIR, WORKFLOW_EXTENSION, type WaveExecutionStatus, WindsurfTranslator, type Workflow, type WorkflowExecution, type WorkflowExecutionStatus, WorkflowOrchestrator, type WorkflowProgressCallback, type WorkflowSkill, type WorkflowWave, addToManifest, agentExists, analyzeProject, benchmarkSkill, buildSkillIndex, calculatePercentile, canTranslate, copilotTranslator, createAPIBasedCompressor, createCommandGenerator, createCommandRegistry, createContextLoader, createContextManager, createContextSync, createExecutionEngine, createHookManager, createMarketplaceAggregator, createMemoryCompressor, createMemoryEnabledEngine, createMemoryInjector, createMemoryObserver, createMessageBus, createMethodologyLoader, createMethodologyManager, createPlanExecutor, createPlanGenerator, createPlanParser, createPlanValidator, createPluginManager, createRecommendationEngine, createRuleBasedCompressor, createSessionManager, createSimulatedSkillExecutor, createSkillBundle, createSkillExecutor, createTaskManager, createTeamManager, createTeamOrchestrator, createTestSuiteFromFrontmatter, createTriggerEngine, createWorkflowOrchestrator, createWorkflowTemplate, cursorTranslator, detectCategory, detectProvider, detectSkillFormat, discoverAgents, discoverAgentsForAgent, discoverAgentsFromPath, discoverAgentsRecursive, discoverGlobalAgents, discoverSkills, dryRunExecutor, estimateTokens, evaluateSkillContent, evaluateSkillDirectory, evaluateSkillFile, executeWithAgent, exportBundle, extractAgentContent, extractAgentFrontmatter, extractField, extractFrontmatter, extractSkillMetadata, fetchSkillsFromRepo, findAgent, findAllAgents, findAllSkills, findManifestPath, findSkill, formatSkillAsPrompt, fromCanonicalAgent, generateComparisonNotes, generateManifestFromInstalled, generateRecommendations, generateSkillsConfig, getAgentCLIConfig, getAgentConfigFile, getAgentConfigPath, getAgentDirectoryConfig, getAgentFilename, getAgentFormat, getAgentSkillsDir, getAgentStats, getAgentTargetDirectory, getAgentsDirectory, getAllCategories, getAllProviders, getAllSkillsDirs, getAvailableCLIAgents, getBuiltinPacksDir, getCICDTemplate, getCategoryStats, getConfigFile, getConfigFormat, getExecutionStrategy, getGlobalConfigPath, getGlobalSkillsDir, getGrade, getIndexStatus, getInstallDir, getManualExecutionInstructions, getMemoryPaths, getMemoryStatus, getProjectConfigPath, getProvider, getQualityGrade, getSearchDirs, getSkillsDir, getStackTags, getSupportedTranslationAgents, getTechTags, globalMemoryDirectoryExists, importBundle, initContext, initManifest, initProject, initializeMemoryDirectory, isAgentCLIAvailable, isAgentCompatible, isGitUrl, isHighQuality, isIndexStale, isLocalPath, isPathInside, listCICDTemplates, listWorkflows, loadAgentMetadata, loadConfig, loadContext, loadIndex, loadManifest, loadMetadata, loadPlugin, loadPluginsFromDirectory, loadSkillMetadata, loadWorkflow, loadWorkflowByName, memoryDirectoryExists, parseAgentDir, parseAgentFile, parseShorthand, parseSkill, parseSkillContent, parseSkillContentToCanonical, parseSkillToCanonical, parseSource, parseWorkflow, readAgentContent, readSkillContent, removeFromManifest, runTestSuite, saveConfig, saveIndex, saveManifest, saveSkillMetadata, saveWorkflow, serializeWorkflow, setSkillEnabled, shellExecutor, skillMdTranslator, supportsAutoDiscovery, supportsSlashCommands, syncToAgent, syncToAllAgents, toCanonicalAgent, translateAgent, translateAgentContent, translateAgents, translateCanonicalAgent, translateSkill, translateSkillFile, translateSkillToAgent, translateSkillToAll, translatorRegistry, validateAgent, validateBuiltinPacks, validatePackDirectory, validatePackManifest, validatePlan, validateSkill, validateSkillContent, validateWorkflow, windsurfTranslator, wrapProgressCallbackWithMemory, writeTranslatedSkill };
|