SkillManifest class

Represents a parsed agentskills.io compatible SKILL.md manifest.

Constructors

SkillManifest({required String name, String description = '', String version = '1.0.0', String? author, String systemPrompt = '', List<SkillPromptStep> promptSteps = const [], List<SkillToolDeclaration> tools = const [], McpPlaygroundSkillMetadata? mcpPlaygroundMeta, bool isMultiTurn = false, String? bodyMarkdown, Map<String, Uint8List> extraFiles = const {}})
const
SkillManifest.fromJson(Map<String, dynamic> json)
factory

Properties

author → String?
final
bodyMarkdown → String?
Raw markdown body content after the YAML frontmatter.
final
description → String
final
extraFiles → Map<String, Uint8List>
Extra files bundled in the ZIP (filename → bytes).
final
hashCode → int
The hash code for this object.
no setterinherited
isMultiTurn → bool
Whether this skill represents a multi-turn workflow.
final
mcpPlaygroundMeta → McpPlaygroundSkillMetadata?
mcp_playground custom metadata.
final
name → String
final
promptSteps → List<SkillPromptStep>
Multi-step prompts with per-step tool bindings.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
systemPrompt → String
System prompt / instructions for the assistant.
final
tools → List<SkillToolDeclaration>
Tools declared with runtime/install info for portability.
final
version → String
final

Methods

copyWith({String? name, String? description, String? version, String? author, String? systemPrompt, List<SkillPromptStep>? promptSteps, List<SkillToolDeclaration>? tools, McpPlaygroundSkillMetadata? mcpPlaygroundMeta, bool? isMultiTurn, String? bodyMarkdown, Map<String, Uint8List>? extraFiles}) → SkillManifest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited