SkillCommand constructor
const
SkillCommand({
- required String name,
- required String description,
- String? whenToUse,
- String type = 'prompt',
- String source = 'local',
- String? loadedFrom,
- String? kind,
- String? context,
- bool disableModelInvocation = false,
- List<
String> aliases = const [], - String? model,
- String? effort,
- List<
String> ? allowedTools, - PluginInfo? pluginInfo,
- String? userFacingName,
- bool isEnabled = true,
- bool isHidden = false,
- int? contentLength,
- String? progressMessage,
- String? skillRoot,
- String? agent,
Implementation
const SkillCommand({
required this.name,
required this.description,
this.whenToUse,
this.type = 'prompt',
this.source = 'local',
this.loadedFrom,
this.kind,
this.context,
this.disableModelInvocation = false,
this.aliases = const [],
this.model,
this.effort,
this.allowedTools,
this.pluginInfo,
this.userFacingName,
this.isEnabled = true,
this.isHidden = false,
this.contentLength,
this.progressMessage,
this.skillRoot,
this.agent,
});