def should_skip()

in src/cli/utils/template.py [0:0]


    def should_skip(path: pathlib.Path) -> bool:
        """Determine if a file/directory should be skipped during copying."""
        if path.suffix in [".pyc"]:
            return True
        if "__pycache__" in str(path) or path.name == "__pycache__":
            return True
        if agent_name is not None and should_exclude_path(path, agent_name):
            return True
        return False