I have been doing Skill development on Windows machines the last several months. I backup the top level directory that contains the various Skill projects to a thumb drive and deploy them on other Windows systems that I use (yes, primitive compared to doing it via the cloud - I do backup the projects to a non-public personal S3 bucket for safe keeping via "aws s3 sync").
I finally decided to put a Skill development and deployment environment on my MacBook as I travel with that and my Windows systems are desktops that do not travel. I extracted the contents of the thumb drive and got my project root all set up. Of course the first problem I ran into was the skill.json having "lambda\\custom" defined instead of "lambda/custom" as the endpoint sourceDir. Simple enough to fix and the missing directory error went away from "ask deploy". However, the skill fails to run with CloudWatch reporting that the index module could not be found. I checked permissions and anything else relevant and found no problems. I decided to clone the Skill into an empty directory and see what it returned. Low and behold, it creates a "lambda/us-east-1_ask-custom-Skill-Name-default" (Skill-Name is the Skill's name) directory, which is empty, and no "custom" directory. Frustrated I went to my Windows system and re-deployed the Skill, which has a "custom" directory, and it started working again. I went back to the MacBook and cloned the Skill to another empty directory and again the "us-east-1_ask-custom-Skill-Name-default" was created but this time it was populated with my files.
My question is, why is the lambda code directory name different on my MacBook versus the Windows system's? "lambda/custom" is correctly defined in the skill.json file but it is being ignored by "ask deploy" v1.4.1. "ask clone" is not creating a "custom" directory but instead the "us-east-1_ask..." directory. I executed the same command under Windows to test and "custom" is still being created. If this is standard behavior it is definitely pain for development across different platforms.