def format_skills(text: str, ents: list) -> list:
    """
    Get the list of skills according to the HrFlow.ai Job format
    @param text: text description of the job
    @param ents: list of entities in the text
    @return: list of skills
    """
    skills = [{ "name": text[ent["start"]:ent["end"]].lower(), "value": None,
                "type": "hard" if ent["label"] == "HardSkill" else "soft"}
              for ent in ents if ent["label"].endswith("Skill")]
    return list({v["name"]:v for v in skills}.values())