How to create custom Claude Skill and use it in VS Code Terminal using Claude CLI?
Jul 17, 2026
Show More Show Less
View Video Transcript
0:07
Hello everyone. In this video, we are
0:09
going to see how to create custom clot
0:13
skill and use it for Salesforce
0:16
development.
0:17
With the help of clot skill, we can try
0:21
to automate repetative tasks. For
0:24
example, in this video, I'm going to
0:27
show how to automate deployment using
0:31
plot skill.
0:34
I'm I have created a plot skill for
0:37
Salesforce deployment and then I have
0:40
given all the instructions which I
0:43
usually do during Salesforce deployment.
0:48
Instead of manually verifying all the
0:50
things whenever we do the deployment,
0:53
I'm I'm going to make use of this custom
0:56
clot skill so that it can automate the
1:00
thoughts that I usually do and uh the
1:03
process whatever I follow before the
1:06
deployment and after the deployment.
1:11
You can add so many uh custom skills
1:14
like this. For example, if you are a
1:16
code reviewer, then you can make use of
1:20
clot skill. So that if you review a
1:23
code, what are all the things you look
1:25
at it all those information you can put
1:28
it in the custom clot skill and then you
1:30
can ask uh claude to verify uh with the
1:34
help of the uh cloud skill. So the the
1:38
biggest advantage of making use of clot
1:40
skill is you can avoid repetitive uh uh
1:43
tasks in your daily uh routine. The
1:46
first step is we have to create dot
1:50
cloud um and under that we should have a
1:54
folder called skills. So dotcloud is a
1:56
folder and under that it should have one
1:58
more folder called um uh skills. Um I'm
2:04
going to create a new project in VS
2:08
Code.
2:11
I'm going to give the name as training.
2:28
So the project is there
2:31
and for authorization
2:33
I'm going to use
2:37
the training org which I have already
2:40
authenticated.
2:43
So it is connected to this uh training
2:45
arc.
2:50
Go to terminal.
2:53
In the terminal, we have to
2:57
run this command. So this command will
3:00
create a folder similar to
3:02
cursor.husky.sf.
3:05
it will create a folder
3:08
and this folder is available only for
3:10
this Salesforce uh uh development. If
3:14
you wanted the same clot skill for all
3:16
the Salesforce development across all
3:18
the uh projects then you have to create
3:22
it in the global.clude
3:26
uh folder.
3:31
So here
3:32
I can search for
3:36
so this is the folder under which you
3:38
will have skills and this is dotclaw
3:41
which will be under your user and uh
3:44
under that skill you can create a folder
3:46
so that across all the Salesforce org
3:49
you should be able to make use of this
3:51
skill
3:53
but I'm going to create a local uh um
3:56
skill which will be applicable only to
3:58
this particular uh project.
4:01
So, dotcloud and under that skills is
4:04
created. The next step is we have to
4:07
create a skill folder. The name of the
4:10
skill I'm going to give it as SF -
4:12
deploy. So, I'm going to run this
4:14
command so that it will create SF deploy
4:17
folder under skills folder.
4:23
Okay. So, it created
4:25
a subd deploy folder. The next step is
4:28
I'm going to create a
4:31
uh skill md file so that I can make use
4:34
of sf deploy skill.
4:39
So this command will help you in
4:41
creating uh empty skill.md uh skill.md
4:44
file. Okay.
4:52
So it created it. So you can open the
4:55
skill.md file.
4:56
You can make use of this uh sample uh
5:01
skill.md file as a reference.
5:08
I have saved it. Now in the same
5:12
terminal you can use claude
5:18
and here I'm going to say a sample
5:22
prompt. Before that, let me create a
5:24
simple Apex class.
5:31
So this is a demo class
5:41
and I'm going to make use of the skill
5:43
whatever I have created so that it can
5:46
deploy this particular Apex class to the
5:48
Salesforce org. So here I don't have a
5:53
class with the name demo.
5:58
So you can make use of this sample
6:00
prompt as a reference.
6:13
So it loaded the skill SF deploy since I
6:17
have uh using it. It is asking whether
6:21
it can ask whether it can whether I'm I
6:24
can give permission to run SF uh DX
6:27
commands. I'm going to give yes.
6:36
So it is making use of this uh
6:38
particular skill to deploy it.
6:54
So I'm going to give the same training
6:58
org for deployment.
7:09
So it is making use of all the commands
7:12
whatever I have given here to deploy it.
7:16
So it was able to deploy.
7:19
So if I go here I should see that
7:22
particular demo class which was created.
7:27
So this is the class which got created.
7:32
I'm going to check the deployment
7:34
status.
7:36
So this is the latest deployment.
7:43
So this is the class and this is the
7:46
package.xml which was used to
7:49
deploy the apex class.
7:54
So in order to avoid repetitive tasks
7:58
make use of uh custom clot skill to
8:02
automate it.
8:11
Please check the video description. In
8:13
the video description I have given my
8:15
blog post. From the blog post, you
8:17
should be able to get all the commands
8:19
samples.m MD and also the prompt that
8:22
was used in this video for your
8:24
reference.
8:35
I hope it was helpful.
8:47
Thank you for watching.
#Internet Software
#Science
