 Welcome! This is Microsoft Soundbites. We're doing a short series to get you started on Microsoft skill development. I am Gez. I'm Stratus. The last video we looked at the Microsoft skills kit and creating a really basic template skill and this video we're going to have a look at what files that created for us and that'll show us the anatomy of a very simple Microsoft skill. So we're going to hop on over to the command line now and we'll pick it up over there. So here we are in... we're currently in slash op slash microft slash skills and we can see that we have half dozen files and a single directory. The license.md was automatically generated based on the license we picked. The readme.md was automatically generated with all of the input that we put into the Microsoft skills kit. So if you missed that video jump there or there or I have no idea where it's going to show up. So the bulk of our skill lives in emit.py. This is where our Python code lives. So by default because it's a simple skill it's all going to be in one file. Here we can see we import the Microsoft skill class. We import an intent file handler which is a decorator. We set up our particular skill, the class for our particular skill and inherit from the Microsoft skills class and then we create our just one intent for this simple skill using that decorator with the intent file passed into it. So that intent file contains sample phrases that we put into Microsoft MSK. Do you like flavor ice cream? So anytime someone says something like do you like chocolate ice cream? Do you like mint ice cream? It should trigger this intent. The other file in locale was our dialogue file which is what Microsoft will say in response. So coming right up for chocolate sure thing are our two possible responses at the moment. So if we jump back into emit.py, you can see our intent handler gets set up. We grab the flavor from the message object that gets passed in and then we report that back. So we pass that flavor variable back to the dialogue so that it can use that if it wants to in the dialogue. And then we create skill and that lets Microsoft pick it up and load it. So it's all good to go. That's all that you would require for basic skill. There's two other files that we have here that we might use. So settingsmeta.yaml is how we can define our skill settings. So there are things that a user might want to configure and particularly if they're difficult to configure via voice, then we can use settingsmeta to create fields that will show up under home.microsoft.ai slash skills. And if you haven't used Microsoft before, then jump in there and you'll see all your skills and the ones that have something that you might configure. And then the other file we have in there is our manifest. This is where we can define some dependencies. So if as we build out our skill to do more and more things, we might realize that we need some Python packages or some system packages or even another skill that needs to be installed on the device for our skill to be able to work properly. So we can define all those in there. And then when people install them, the Microsoft skills manager, we're going to make sure that those dependencies are all installed correctly as well. And that's it. That's our skill. So that was short and sweet just to compliment the first video. In the first video we just used MSK to set up a skill and kind of a hello world ice cream shop skill. And in this one, we just touched on some of the files that it creates for us. So it creates manifest files and it creates the settings meta file. But most importantly, it sets the intent file and the dialogue file and initial Python file that can be loaded in red by mycroft. So for all intents and purposes, we have a working skill right now that simply replies to what type of flavor of ice cream that you like. And so that's kind of it for this one and that that kind of ties off the mycroft MSK bit. And if you have mycroft running on the device already, it should be able to respond to whatever your sample phrase was right now. There's obviously a lot more that goes in the skill development. We're going to cover a bit more in future videos, but also check out docs.microft.ai to find out more about intent files, dependencies, all the different files that go into building a more detailed skill. Sounds good. So we'll see you in another mycroft sound bite. See you next week.