Skip to content

Create a SKILL build command #45

@curtisma

Description

@curtisma

Problem Statement

The virtue SKILL code takes a while to load. It also should have a way to include the package metadata in the SKILL code.

Proposed Solution

We will add a "build" command to the virtue CLI to build a SKILL package based on the project metadata contained in a toml file,
A "pyproject.toml" for projects using both SKILL and python or a "skillproject.toml" for projects only using SKILL.

The build command will do the following:

  • 1. Create a SKILL file for loading the project metadata based on the project toml file.
  • 2. Create a context file for the SKILL code to quickly load it. It will load the code based on the skill init file (project.init.ils / project.init.il)
  • 3. Replace the SKILL init file (project.init.ils / project.init.il) with a version that loads the init file.
  • 4. Generate the documentation

Alternatives Considered

Proposed Action Plan

  • 1. Implement the project metadata
  • 2. Build the context file
  • 3. Build the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions