Property RelativePath
RelativePath
Gets the path of this resource relative to the skill root directory.
Example: scripts/validate.py or references/API.md
public string RelativePath { get; }
Property Value
Examples
Accessing the relative path:
var skill = AgentSkill.Load("./skills/code-review");
foreach (var resource in skill.Resources)
{
Console.WriteLine(resource.RelativePath);
// Output: "scripts/validate.py"
}