def METHOD_NAME(pack):
    """
    Create a pack with invalid spelled content.
    """
    misspelled_files = set()
    for i in range(3):
        rn = pack.create_release_notes(
            version=f"release-note-{i}",
            content="\n#### Scipt\n##### SciptName\n- Added the feature.",
        )
        misspelled_files.add(rn.path)
        integration = pack.create_integration(
            name=f"integration-{i}",
            yml={
                "display": "invalidd",
                "description": "invalidd",
                "category": "category",
            },
        )
        misspelled_files.add(integration.yml.path)
        pack.create_incident_field(
            name=f"incident-field-{i}", content={"invalidd": "invalidd"}
        )
        script = pack.create_script(
            name=f"script-{i}", yml={"comment": "invalidd", "script": "script"}
        )
        misspelled_files.add(script.yml.path)
        pack.create_layout(name=f"layout-{i}", content={"invalidd": "invalidd"})
    return pack, misspelled_files