create_skill_dependency

Function create_skill_dependency 

Source
pub fn create_skill_dependency(
    resource_name: String,
    path: String,
    source: Option<String>,
    parent_dep: Option<&ResourceDependency>,
) -> (String, ResourceDependency)
Expand description

Create a detailed dependency for a skill.

This helper creates a properly formatted DetailedDependency for a skill resource, inheriting settings from the parent dependency if provided.

§Arguments

  • resource_name - The name of the skill resource
  • path - The path to the skill directory
  • source - Optional source name for Git-based skills
  • parent_dep - Optional parent dependency to inherit tool/target/flatten settings

§Returns

A ResourceDependency::Detailed variant configured for the skill