Skip to content

autonomy.fsm.scaffold.scaffold_skill

Scaffold skill from an FSM

SkillConfigUpdater Objects

class SkillConfigUpdater()

Update the skill configuration according to the Abci classes.

__init__

def __init__(ctx: Context, skill_dir: Path, dfa: DFA) -> None

Initialize the skill config updater.

Arguments:

  • ctx: the AEA CLI context object.
  • skill_dir: the directory of the AEA skill package.
  • dfa: the DFA object.

update

def update() -> None

Update the skill configuration file.

ScaffoldABCISkill Objects

class ScaffoldABCISkill()

Utility class that implements the scaffolding of the ABCI skill.

__init__

def __init__(ctx: Context, skill_name: str, spec_path: Path) -> None

Initialize the utility class.

skill_dir

@property
def skill_dir() -> Path

Get the directory to the skill.

skill_test_dir

@property
def skill_test_dir() -> Path

Get the directory to the skill tests.

do_scaffolding

def do_scaffolding() -> None

Do the scaffolding.

Back to top