<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhammad Moeed</title>
    <description>The latest articles on DEV Community by Muhammad Moeed (@muhammad_moeed).</description>
    <link>https://dev.to/muhammad_moeed</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3912830%2F5374218f-156e-4bbc-be08-c9bea48d2ee0.png</url>
      <title>DEV Community: Muhammad Moeed</title>
      <link>https://dev.to/muhammad_moeed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muhammad_moeed"/>
    <language>en</language>
    <item>
      <title>Claude Code Skills: A Practical Guide for 2026</title>
      <dc:creator>Muhammad Moeed</dc:creator>
      <pubDate>Mon, 04 May 2026 21:53:00 +0000</pubDate>
      <link>https://dev.to/muhammad_moeed/claude-code-skills-a-practical-guide-for-2026-3f6p</link>
      <guid>https://dev.to/muhammad_moeed/claude-code-skills-a-practical-guide-for-2026-3f6p</guid>
      <description>&lt;p&gt;If you have spent any real time with Claude Code, you have probably noticed the same problem I did. You write the same instructions in the prompt every other day. "Use four-space indentation here." "Always run the linter after edits." "Format commit messages this way." After the third or fourth repeat, it stops feeling like a prompt and starts feeling like missing config.&lt;/p&gt;

&lt;p&gt;Skills are how Claude Code fixes that. A skill is a small folder, with one markdown file inside, that Claude pulls into the conversation only when your request actually needs it. No setup screen. No plugin manager. Just a file in a folder and a one-line description telling Claude what it is for.&lt;/p&gt;

&lt;p&gt;This post is a clean walkthrough for 2026. What a skill actually is, how to write your first one, where to put it, and how it compares to the two things people often confuse it with: slash commands and subagents.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a Claude Code Skill actually is
&lt;/h2&gt;

&lt;p&gt;At the most basic level, a skill is a directory with a single file called &lt;strong&gt;SKILL.md&lt;/strong&gt; inside it. The file has two parts.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A short YAML frontmatter at the top, with a &lt;code&gt;name&lt;/code&gt; and a &lt;code&gt;description&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A markdown body underneath, with the instructions Claude follows when the skill is triggered.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is the whole spec. Everything else, examples, supporting scripts, templates, helper files, is optional and lives in the same directory.&lt;/p&gt;

&lt;p&gt;Here is the smallest valid skill you can write:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.claude/skills/run-tests/
└── SKILL.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;run-tests&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Run&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;project's&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;test&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;suite&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;using&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Makefile&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;target.&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;Use&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;this&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;whenever&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;asks&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;to&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;run&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;tests,&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;check&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;tests,&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;or&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;verify&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;the&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;test&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;suite&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;is&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;passing."&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;

Run &lt;span class="sb"&gt;`make test`&lt;/span&gt; from the repo root. If the command fails, read the failing test
output, point out the specific assertion that broke, and ask before changing
anything in the source files.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is a working skill. Drop it in &lt;code&gt;.claude/skills/run-tests/&lt;/code&gt;, restart Claude Code, and the next time you say "run the tests" Claude will use this instead of guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Claude actually picks up a skill
&lt;/h2&gt;

&lt;p&gt;This is the part that confuses people most. Skills are not always-on. They are &lt;strong&gt;auto-discovered&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is what happens when you send a message:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Claude reads the descriptions of every skill it can see.&lt;/li&gt;
&lt;li&gt;It compares your message to those descriptions.&lt;/li&gt;
&lt;li&gt;If one matches, it pulls that skill's full content into the conversation.&lt;/li&gt;
&lt;li&gt;If nothing matches, no skill is loaded and you get the default behavior.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is why the &lt;strong&gt;description does most of the heavy lifting&lt;/strong&gt; in any skill. It is the only thing Claude has to decide whether the skill applies. A vague description ("Helps with tests") will rarely fire. A specific one ("Runs the project's pytest suite when the user asks to run, check, or verify tests") will fire reliably.&lt;/p&gt;

&lt;p&gt;A simple test: read your description out loud. If it does not start with a clear verb and end with a clear trigger, rewrite it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where skills live
&lt;/h2&gt;

&lt;p&gt;Skills sit in one of three places. The location decides who sees them.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Location&lt;/th&gt;
&lt;th&gt;Scope&lt;/th&gt;
&lt;th&gt;When to use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;.claude/skills/&amp;lt;name&amp;gt;/&lt;/code&gt; inside a repo&lt;/td&gt;
&lt;td&gt;Project&lt;/td&gt;
&lt;td&gt;Workflows specific to one codebase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;~/.claude/skills/&amp;lt;name&amp;gt;/&lt;/code&gt; in your home directory&lt;/td&gt;
&lt;td&gt;Personal&lt;/td&gt;
&lt;td&gt;Workflows you want everywhere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Plugins or shared packages&lt;/td&gt;
&lt;td&gt;Team&lt;/td&gt;
&lt;td&gt;Skills you want to ship to others&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Project skills win when there is a conflict. So if your repo has a &lt;code&gt;run-tests&lt;/code&gt; skill and your personal folder has one too, the project one is used while you are inside that repo. That is almost always what you want.&lt;/p&gt;

&lt;p&gt;A small but important detail: skills that live inside the repo are checked into git by default. That is fine. They are usually short, they help every collaborator, and they are easier to review than long CLAUDE.md files.&lt;/p&gt;

&lt;h2&gt;
  
  
  A walkthrough: build a skill from scratch
&lt;/h2&gt;

&lt;p&gt;Let us write something slightly more useful than &lt;code&gt;run-tests&lt;/code&gt;. Say you have a personal habit of starting every commit message with a Conventional Commit type (&lt;code&gt;feat:&lt;/code&gt;, &lt;code&gt;fix:&lt;/code&gt;, &lt;code&gt;chore:&lt;/code&gt;). You want Claude to do the same when it commits.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: make the directory
&lt;/h3&gt;

&lt;p&gt;From the root of your project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; .claude/skills/conventional-commit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: write SKILL.md
&lt;/h3&gt;

&lt;p&gt;Open &lt;code&gt;.claude/skills/conventional-commit/SKILL.md&lt;/code&gt; and put this inside:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;conventional-commit&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Use this skill any time the user asks for a git commit, to commit changes, or to write a commit message. It writes the message in Conventional Commit format.&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;

When you create a git commit, follow these rules.
&lt;span class="p"&gt;
1.&lt;/span&gt; Start the subject line with one of: feat, fix, chore, docs, refactor, test, perf.
&lt;span class="p"&gt;2.&lt;/span&gt; Add a colon and a space, then a short imperative summary, no period.
&lt;span class="p"&gt;3.&lt;/span&gt; Keep the subject under 70 characters.
&lt;span class="p"&gt;4.&lt;/span&gt; If the change touches more than two files, add a one-line body that says why.

Example:

  feat: add IndexNow ping to publish workflow

  Auto-pings Bing on every push to main so new posts get indexed faster.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3: try it
&lt;/h3&gt;

&lt;p&gt;Restart Claude Code (or just open a new conversation). Say "commit these changes". Claude should pull in the skill, follow the format, and you should see a commit subject that matches the rules.&lt;/p&gt;

&lt;p&gt;If it does not fire, the description is the first thing to fix. Make the trigger words match what you actually say to Claude.&lt;/p&gt;

&lt;h2&gt;
  
  
  Skills vs slash commands vs subagents
&lt;/h2&gt;

&lt;p&gt;This is the question I get most often, and the line is genuinely fuzzy because the three features have grown closer over time. Here is how I think about them in practice.&lt;/p&gt;

&lt;h3&gt;
  
  
  Skills
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Auto-discovered. Claude decides when to use them based on your message.&lt;/li&gt;
&lt;li&gt;Live inside the main conversation, so the work stays visible and you can intervene.&lt;/li&gt;
&lt;li&gt;Best for: repeated workflows you do not want to type out, like commit formatting, test running, or PR conventions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Slash commands
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You invoke them by hand, with &lt;code&gt;/command-name&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Same file format as skills now, in fact a single skill file gives you both an auto-trigger and a &lt;code&gt;/run-tests&lt;/code&gt; slash command for free.&lt;/li&gt;
&lt;li&gt;Best for: explicit triggers when you want full control over when something runs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Subagents
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Spawned by Claude into a &lt;strong&gt;separate, fresh context&lt;/strong&gt; with their own tools and memory.&lt;/li&gt;
&lt;li&gt;They do not see your conversation. They get a brief from Claude and report back.&lt;/li&gt;
&lt;li&gt;Best for: heavy or noisy work you want to keep out of your main context, like searching the whole repo, running long evals, or summarising a large diff.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A useful rule of thumb. If the work is small and should stay in front of you, that is a skill. If the work is big and should run in a side process, that is a subagent. If you specifically want a typed entry point, slash command.&lt;/p&gt;

&lt;p&gt;For more on the subagent side, the &lt;a href="https://dev.to/posts/claude-code-hooks-complete-guide"&gt;hooks guide on this site&lt;/a&gt; covers the shell-level lifecycle that pairs well with skill-based workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three small skills that pay for themselves
&lt;/h2&gt;

&lt;p&gt;These are skills I have on most of my repos. None of them are clever. All of them save real time.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;code&gt;lint-after-edit&lt;/code&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;lint-after-edit&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Run the project's linter after any code edit. Use any time the user asks Claude to edit, refactor, fix, or modify a source file.&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;

After completing any edit to a .ts, .tsx, .js, or .py file, run &lt;span class="sb"&gt;`npm run lint`&lt;/span&gt;
(or &lt;span class="sb"&gt;`ruff check .`&lt;/span&gt; for Python). If the lint fails, fix the warnings before
reporting that the edit is done.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reason this works is that "edit a source file" is a very common trigger. The skill fires almost every coding session and you stop seeing lint failures land in commits.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. &lt;code&gt;pr-description&lt;/code&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pr-description&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Write a pull request description from the current branch's commits. Use any time the user asks for a PR description, PR body, or pull request summary.&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;

Read &lt;span class="sb"&gt;`git log main..HEAD`&lt;/span&gt; and write a PR description in this format.

&lt;span class="gu"&gt;## Summary&lt;/span&gt;
One short paragraph, no marketing language.

&lt;span class="gu"&gt;## Changes&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; One bullet per logical change, not per commit.

&lt;span class="gu"&gt;## Test plan&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; A checklist a reviewer can run.

Do not include emojis, do not start lines with "This PR".
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The "do not" lines matter. Negative instructions are how you stop Claude from drifting back to its defaults.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. &lt;code&gt;clean-imports&lt;/code&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;clean-imports&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Remove unused imports and sort the rest. Use any time the user asks to clean imports, sort imports, or tidy imports in a file.&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;

For each file the user asks to clean:
&lt;span class="p"&gt;
1.&lt;/span&gt; Remove imports that are not referenced anywhere in the file.
&lt;span class="p"&gt;2.&lt;/span&gt; Sort what remains by: standard library, then third-party, then local.
&lt;span class="p"&gt;3.&lt;/span&gt; Group each section with a blank line between them.

Do not touch import side effects (imports with no name).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Skill, slash command, and auto-trigger all in one file. Same content. Three ways to invoke it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Best practices that actually matter
&lt;/h2&gt;

&lt;p&gt;After writing dozens of skills for myself and clients, three rules stand out.&lt;/p&gt;

&lt;h3&gt;
  
  
  One skill, one job
&lt;/h3&gt;

&lt;p&gt;The most common mistake is the mega-skill. A single SKILL.md trying to handle commits, PRs, branch naming, and changelog updates all at once. Mega-skills load late, fire less reliably, and confuse Claude when two parts conflict. Split them. A skill should fit on one screen.&lt;/p&gt;

&lt;h3&gt;
  
  
  Write the description like a trigger, not a label
&lt;/h3&gt;

&lt;p&gt;Bad:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A skill for working with tests.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Good:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run the project's pytest suite when the user asks to run tests, check tests, or verify the test suite is passing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The good version names the verbs Claude needs to spot. "Run", "check", "verify" — those are the words a user actually types.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keep instructions imperative
&lt;/h3&gt;

&lt;p&gt;Skills that read like documentation ("This skill is responsible for...") fire less reliably than skills that read like instructions ("Run X. Then Y. If Z, do W.") Direct verbs map cleanly to actions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Resist the urge to over-script
&lt;/h3&gt;

&lt;p&gt;You can ship Python or shell scripts inside a skill folder, and sometimes that is right. But for most workflows, plain markdown instructions are enough and easier to maintain. Use scripts when the work is genuinely deterministic, not just because you can.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;A few patterns I see again and again.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Description is too generic.&lt;/strong&gt; If yours starts with "A skill that helps with...", it will rarely fire. Rewrite it to start with a verb.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skill is in the wrong folder.&lt;/strong&gt; &lt;code&gt;~/.claude/skills/&lt;/code&gt; is for personal skills across all projects. &lt;code&gt;.claude/skills/&lt;/code&gt; is for the current project only. Mixing them up is the most common reason a skill "is not picked up."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trying to replace CLAUDE.md.&lt;/strong&gt; Skills are for repeated, triggered workflows. CLAUDE.md is for always-on context like project conventions. They complement each other.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Forgetting to restart Claude Code.&lt;/strong&gt; Skills are loaded on session start. If you add one mid-conversation, end the session and start a new one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Putting secrets inside SKILL.md.&lt;/strong&gt; Skills are committed to git in most setups. Treat them like source code, not config.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Where exactly do project skills go?&lt;/strong&gt;&lt;br&gt;
Inside your repo at &lt;code&gt;.claude/skills/&amp;lt;skill-name&amp;gt;/SKILL.md&lt;/code&gt;. The folder is committed to git unless you ignore it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How is this different from a slash command?&lt;/strong&gt;&lt;br&gt;
A skill file is a slash command. The same file gives you both auto-discovery and a &lt;code&gt;/skill-name&lt;/code&gt; invocation. Slash commands are the manual entry point. Skills are the auto-discovered side of the same thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How is it different from a subagent?&lt;/strong&gt;&lt;br&gt;
Subagents run in a fresh, isolated context. Skills run inside your current conversation. Use a skill when you want the work in front of you. Use a subagent when you want it offloaded.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need to restart Claude Code after adding a skill?&lt;/strong&gt;&lt;br&gt;
Yes. New skills are picked up when a session starts. End the conversation and open a new one to load them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can a skill use external scripts?&lt;/strong&gt;&lt;br&gt;
Yes. You can include shell or Python scripts in the skill folder and reference them from SKILL.md. For most workflows, plain markdown instructions are enough.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does this work in Claude Chat or only in Claude Code?&lt;/strong&gt;&lt;br&gt;
The same SKILL.md format works across Claude Code, Claude Chat, and Claude Cowork. Each product looks for skills in its own location, but the file format is identical.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Should I put skills in CLAUDE.md instead?&lt;/strong&gt;&lt;br&gt;
No. CLAUDE.md is for always-on project context. Skills are for triggered workflows. Loading every workflow into CLAUDE.md bloats the main context and slows the model down.&lt;/p&gt;

&lt;h2&gt;
  
  
  A short closing thought
&lt;/h2&gt;

&lt;p&gt;The reason skills matter is not that they are clever. It is that they remove the small, repeated friction of telling Claude the same thing every day. A good skill is short, targeted, and almost invisible: you stop noticing it because the work just gets done the way you wanted.&lt;/p&gt;

&lt;p&gt;Start with one. The smallest one you can think of. A commit format, a lint rule, a PR template. Once one is working, write the next one. Within a week or two you will have a folder of small files that quietly shape how Claude works on your project, and you will wonder how you ever managed without them.&lt;/p&gt;

&lt;p&gt;If you are extending Claude Code with &lt;a href="https://dev.to/posts/claude-code-hooks-complete-guide"&gt;hooks for shell-level enforcement&lt;/a&gt; or &lt;a href="https://dev.to/posts/build-your-first-mcp-server"&gt;building MCP servers for richer integrations&lt;/a&gt;, skills sit comfortably between the two: lighter than a server, more flexible than a hook, and easier to share across a team than either.&lt;br&gt;
&lt;a href="https://dev.tourl"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>claudecode</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
