SkillCommand constructor

const SkillCommand({
  1. required String name,
  2. required String description,
  3. String? whenToUse,
  4. String type = 'prompt',
  5. String source = 'local',
  6. String? loadedFrom,
  7. String? kind,
  8. String? context,
  9. bool disableModelInvocation = false,
  10. List<String> aliases = const [],
  11. String? model,
  12. String? effort,
  13. List<String>? allowedTools,
  14. PluginInfo? pluginInfo,
  15. String? userFacingName,
  16. bool isEnabled = true,
  17. bool isHidden = false,
  18. int? contentLength,
  19. String? progressMessage,
  20. String? skillRoot,
  21. 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,
});