@skillkit/cli 1.4.0 → 1.6.0
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/README.md +58 -0
- package/dist/index.d.ts +218 -1
- package/dist/index.js +3182 -16
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -101,6 +101,62 @@ skillkit workflow create # Create new workflow
|
|
|
101
101
|
skillkit cicd github-action # Generate GitHub Actions
|
|
102
102
|
skillkit cicd gitlab-ci # Generate GitLab CI
|
|
103
103
|
skillkit cicd pre-commit # Generate pre-commit hook
|
|
104
|
+
skillkit cicd init # Initialize CI/CD templates
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Team Collaboration
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
skillkit team init --name "Team" # Initialize team
|
|
111
|
+
skillkit team share <bundle> # Share skill bundle
|
|
112
|
+
skillkit team import <path> # Import bundle
|
|
113
|
+
skillkit team list # List team bundles
|
|
114
|
+
skillkit team sync # Sync with remote
|
|
115
|
+
skillkit team remove <bundle> # Remove bundle
|
|
116
|
+
skillkit team bundle-create # Create new bundle
|
|
117
|
+
skillkit team bundle-export <id> # Export bundle
|
|
118
|
+
skillkit team bundle-list # List all bundles
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Plugin System
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
skillkit plugin list # List installed plugins
|
|
125
|
+
skillkit plugin install <name> # Install plugin
|
|
126
|
+
skillkit plugin uninstall <name> # Uninstall plugin
|
|
127
|
+
skillkit plugin enable <name> # Enable plugin
|
|
128
|
+
skillkit plugin disable <name> # Disable plugin
|
|
129
|
+
skillkit plugin info <name> # Plugin details
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Methodologies & Plans
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
skillkit methodology list # List methodologies
|
|
136
|
+
skillkit methodology load <name> # Load methodology
|
|
137
|
+
skillkit methodology apply <name> # Apply to project
|
|
138
|
+
|
|
139
|
+
skillkit plan parse <file> # Parse plan file
|
|
140
|
+
skillkit plan validate <file> # Validate plan
|
|
141
|
+
skillkit plan execute <file> # Execute plan
|
|
142
|
+
skillkit plan status # Plan execution status
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Hooks & Automation
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
skillkit hook list # List registered hooks
|
|
149
|
+
skillkit hook register <event> # Register new hook
|
|
150
|
+
skillkit hook trigger <event> # Trigger hook manually
|
|
151
|
+
skillkit hook enable <id> # Enable hook
|
|
152
|
+
skillkit hook disable <id> # Disable hook
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Agent Commands
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
skillkit command generate <agent> # Generate agent-native commands
|
|
159
|
+
skillkit command list <agent> # List available commands
|
|
104
160
|
```
|
|
105
161
|
|
|
106
162
|
### Utilities
|
|
@@ -110,6 +166,8 @@ skillkit init # Initialize in project
|
|
|
110
166
|
skillkit init --agent cursor # Initialize for specific agent
|
|
111
167
|
skillkit validate ./skill # Validate skill format
|
|
112
168
|
skillkit create my-skill # Create new skill
|
|
169
|
+
skillkit settings # View all settings
|
|
170
|
+
skillkit settings --set key=value # Update setting
|
|
113
171
|
```
|
|
114
172
|
|
|
115
173
|
## Install Options
|
package/dist/index.d.ts
CHANGED
|
@@ -289,6 +289,8 @@ declare class WorkflowRunCommand extends Command {
|
|
|
289
289
|
continueOnError: boolean;
|
|
290
290
|
json: boolean;
|
|
291
291
|
projectPath: string | undefined;
|
|
292
|
+
agent: string | undefined;
|
|
293
|
+
simulate: boolean;
|
|
292
294
|
execute(): Promise<number>;
|
|
293
295
|
private showDryRun;
|
|
294
296
|
}
|
|
@@ -476,6 +478,221 @@ declare class MemoryCommand extends Command {
|
|
|
476
478
|
private generateSkillContent;
|
|
477
479
|
}
|
|
478
480
|
|
|
481
|
+
/**
|
|
482
|
+
* Settings command - view and modify SkillKit configuration
|
|
483
|
+
*/
|
|
484
|
+
declare class SettingsCommand extends Command {
|
|
485
|
+
static paths: string[][];
|
|
486
|
+
static usage: clipanion.Usage;
|
|
487
|
+
set: string | undefined;
|
|
488
|
+
get: string | undefined;
|
|
489
|
+
json: boolean;
|
|
490
|
+
global: boolean;
|
|
491
|
+
reset: boolean;
|
|
492
|
+
execute(): Promise<number>;
|
|
493
|
+
private getConfigValue;
|
|
494
|
+
private setConfigValue;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* CICD command - initialize CI/CD workflows for skill validation and testing
|
|
499
|
+
*/
|
|
500
|
+
declare class CICDCommand extends Command {
|
|
501
|
+
static paths: string[][];
|
|
502
|
+
static usage: clipanion.Usage;
|
|
503
|
+
provider: string;
|
|
504
|
+
all: boolean;
|
|
505
|
+
force: boolean;
|
|
506
|
+
targetPath: string | undefined;
|
|
507
|
+
execute(): Promise<number>;
|
|
508
|
+
private createWorkflow;
|
|
509
|
+
private createGitHubActions;
|
|
510
|
+
private createGitLabCI;
|
|
511
|
+
private createCircleCI;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
declare class TeamCommand extends Command {
|
|
515
|
+
static paths: string[][];
|
|
516
|
+
static usage: clipanion.Usage;
|
|
517
|
+
action: string;
|
|
518
|
+
name: string | undefined;
|
|
519
|
+
registry: string | undefined;
|
|
520
|
+
description: string | undefined;
|
|
521
|
+
tags: string | undefined;
|
|
522
|
+
skills: string | undefined;
|
|
523
|
+
output: string | undefined;
|
|
524
|
+
source: string | undefined;
|
|
525
|
+
overwrite: boolean | undefined;
|
|
526
|
+
dryRun: boolean | undefined;
|
|
527
|
+
execute(): Promise<number>;
|
|
528
|
+
private initTeam;
|
|
529
|
+
private shareSkill;
|
|
530
|
+
private importSkill;
|
|
531
|
+
private listSkills;
|
|
532
|
+
private syncTeam;
|
|
533
|
+
private removeSkill;
|
|
534
|
+
private createBundle;
|
|
535
|
+
private exportSkillBundle;
|
|
536
|
+
private importSkillBundle;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
declare class PluginCommand extends Command {
|
|
540
|
+
static paths: string[][];
|
|
541
|
+
static usage: clipanion.Usage;
|
|
542
|
+
action: string;
|
|
543
|
+
source: string | undefined;
|
|
544
|
+
name: string | undefined;
|
|
545
|
+
global: boolean | undefined;
|
|
546
|
+
execute(): Promise<number>;
|
|
547
|
+
private listPlugins;
|
|
548
|
+
/**
|
|
549
|
+
* Validate plugin name to prevent path traversal attacks
|
|
550
|
+
* Allows scoped npm names like @scope/name (mirrors loader.ts validation)
|
|
551
|
+
*/
|
|
552
|
+
private isValidPluginName;
|
|
553
|
+
private installPlugin;
|
|
554
|
+
private uninstallPlugin;
|
|
555
|
+
private enablePlugin;
|
|
556
|
+
private disablePlugin;
|
|
557
|
+
private pluginInfo;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
declare class MethodologyCommand extends Command {
|
|
561
|
+
static paths: string[][];
|
|
562
|
+
static usage: clipanion.Usage;
|
|
563
|
+
action: string;
|
|
564
|
+
target: string | undefined;
|
|
565
|
+
agent: string | undefined;
|
|
566
|
+
dryRun: boolean | undefined;
|
|
567
|
+
verbose: boolean | undefined;
|
|
568
|
+
execute(): Promise<number>;
|
|
569
|
+
private listPacks;
|
|
570
|
+
private installPacks;
|
|
571
|
+
private uninstallPack;
|
|
572
|
+
private syncSkills;
|
|
573
|
+
private searchSkills;
|
|
574
|
+
private showPackInfo;
|
|
575
|
+
private listInstalled;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
declare class HookCommand extends Command {
|
|
579
|
+
static paths: string[][];
|
|
580
|
+
static usage: clipanion.Usage;
|
|
581
|
+
action: string;
|
|
582
|
+
target: string | undefined;
|
|
583
|
+
skill: string | undefined;
|
|
584
|
+
pattern: string | undefined;
|
|
585
|
+
agent: string | undefined;
|
|
586
|
+
inject: string | undefined;
|
|
587
|
+
priority: string | undefined;
|
|
588
|
+
verbose: boolean | undefined;
|
|
589
|
+
execute(): Promise<number>;
|
|
590
|
+
private listHooks;
|
|
591
|
+
private addHook;
|
|
592
|
+
private removeHook;
|
|
593
|
+
private enableHook;
|
|
594
|
+
private disableHook;
|
|
595
|
+
private generateHooks;
|
|
596
|
+
private showHookInfo;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
declare class PlanCommand extends Command {
|
|
600
|
+
static paths: string[][];
|
|
601
|
+
static usage: clipanion.Usage;
|
|
602
|
+
action: string;
|
|
603
|
+
file: string | undefined;
|
|
604
|
+
output: string | undefined;
|
|
605
|
+
name: string | undefined;
|
|
606
|
+
goal: string | undefined;
|
|
607
|
+
tasks: string | undefined;
|
|
608
|
+
template: string | undefined;
|
|
609
|
+
techStack: string | undefined;
|
|
610
|
+
dryRun: boolean;
|
|
611
|
+
strict: boolean;
|
|
612
|
+
stopOnError: boolean;
|
|
613
|
+
verbose: boolean;
|
|
614
|
+
json: boolean;
|
|
615
|
+
execute(): Promise<number>;
|
|
616
|
+
private parsePlan;
|
|
617
|
+
private validatePlan;
|
|
618
|
+
private executePlan;
|
|
619
|
+
private generatePlan;
|
|
620
|
+
private listTemplates;
|
|
621
|
+
private createPlan;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
declare class CommandCmd extends Command {
|
|
625
|
+
static paths: string[][];
|
|
626
|
+
static usage: clipanion.Usage;
|
|
627
|
+
action: string;
|
|
628
|
+
skill: string | undefined;
|
|
629
|
+
name: string | undefined;
|
|
630
|
+
description: string | undefined;
|
|
631
|
+
agent: string | undefined;
|
|
632
|
+
output: string | undefined;
|
|
633
|
+
input: string | undefined;
|
|
634
|
+
category: string | undefined;
|
|
635
|
+
all: boolean;
|
|
636
|
+
json: boolean;
|
|
637
|
+
dryRun: boolean;
|
|
638
|
+
execute(): Promise<number>;
|
|
639
|
+
private listCommands;
|
|
640
|
+
private createCommand;
|
|
641
|
+
private generateCommands;
|
|
642
|
+
private validateCommands;
|
|
643
|
+
private exportCommands;
|
|
644
|
+
private importCommands;
|
|
645
|
+
private showInfo;
|
|
646
|
+
private loadCommandsFromConfig;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
declare class AICommand extends Command {
|
|
650
|
+
static paths: string[][];
|
|
651
|
+
static usage: clipanion.Usage;
|
|
652
|
+
subcommand: string;
|
|
653
|
+
query: string | undefined;
|
|
654
|
+
description: string | undefined;
|
|
655
|
+
fromCode: string | undefined;
|
|
656
|
+
additionalContext: string | undefined;
|
|
657
|
+
targetAgent: string | undefined;
|
|
658
|
+
skillName: string | undefined;
|
|
659
|
+
limit: string | undefined;
|
|
660
|
+
minRelevance: string | undefined;
|
|
661
|
+
json: boolean;
|
|
662
|
+
output: string | undefined;
|
|
663
|
+
execute(): Promise<number>;
|
|
664
|
+
private handleSearch;
|
|
665
|
+
private handleGenerate;
|
|
666
|
+
private handleSimilar;
|
|
667
|
+
private loadSkills;
|
|
668
|
+
private getAIConfig;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare class AuditCommand extends Command {
|
|
672
|
+
static paths: string[][];
|
|
673
|
+
static usage: clipanion.Usage;
|
|
674
|
+
subcommand: string;
|
|
675
|
+
type: string[] | undefined;
|
|
676
|
+
user: string | undefined;
|
|
677
|
+
resource: string | undefined;
|
|
678
|
+
success: boolean | undefined;
|
|
679
|
+
failed: boolean | undefined;
|
|
680
|
+
since: string | undefined;
|
|
681
|
+
until: string | undefined;
|
|
682
|
+
limit: string | undefined;
|
|
683
|
+
format: string | undefined;
|
|
684
|
+
output: string | undefined;
|
|
685
|
+
days: string | undefined;
|
|
686
|
+
json: boolean;
|
|
687
|
+
projectPath: string | undefined;
|
|
688
|
+
execute(): Promise<number>;
|
|
689
|
+
private handleLog;
|
|
690
|
+
private handleExport;
|
|
691
|
+
private handleStats;
|
|
692
|
+
private handleClear;
|
|
693
|
+
private buildQuery;
|
|
694
|
+
}
|
|
695
|
+
|
|
479
696
|
declare const loadSkillMetadata: typeof loadSkillMetadata$1;
|
|
480
697
|
declare const saveSkillMetadata: typeof saveSkillMetadata$1;
|
|
481
698
|
declare function getSearchDirs(agentType?: AgentType): string[];
|
|
@@ -483,4 +700,4 @@ declare function getInstallDir(global?: boolean, agentType?: AgentType): string;
|
|
|
483
700
|
declare function getAgentConfigPath(agentType?: AgentType): string;
|
|
484
701
|
declare function initProject(agentType?: AgentType): Promise<void>;
|
|
485
702
|
|
|
486
|
-
export { ContextCommand, CreateCommand, DisableCommand, EnableCommand, InitCommand, InstallCommand, ListCommand, MarketplaceCommand, MemoryCommand, PauseCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, StatusCommand, SyncCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|
|
703
|
+
export { AICommand, AuditCommand, CICDCommand, CommandCmd, ContextCommand, CreateCommand, DisableCommand, EnableCommand, HookCommand, InitCommand, InstallCommand, ListCommand, MarketplaceCommand, MemoryCommand, MethodologyCommand, PauseCommand, PlanCommand, PluginCommand, ReadCommand, RecommendCommand, RemoveCommand, ResumeCommand, RunCommand, SettingsCommand, StatusCommand, SyncCommand, TeamCommand, TestCommand, TranslateCommand, UICommand, UpdateCommand, ValidateCommand, WorkflowCreateCommand, WorkflowListCommand, WorkflowRunCommand, getAgentConfigPath, getInstallDir, getSearchDirs, initProject, loadSkillMetadata, saveSkillMetadata };
|