Skip to contentমূল লেখায় যান

Part 10পর্ব 10 · Extend

Skills & Commands

A skill turns a testing procedure that you repeat, such as a bug hunt or a test design pass, into a /name command that Claude can also use by itself. This page shows the SKILL.md format, six example QA skills, and the built-in commands that a tester uses most.

15 min read15 মিনিটে পড়া যায় · 9 sections9টি সেকশন · 3 sources3টি সোর্স · updated Nov 2026আপডেট: Nov 2026

A skill loads only when it is usedস্কিল ব্যবহার হলেই তবে লোড হয়

Watch skill descriptions sit in context at the start, and the full SKILL.md load only on use.শুরুতে স্কিলের বিবরণ কনটেক্সটে থাকে, আর পুরো SKILL.md লোড হয় শুধু ব্যবহারের সময়। নিজে দেখুন।

2 min2 মিনিট7 steps7টি ধাপ
  • Descriptionsবিবরণ3 / 3
  • Context linesকনটেক্সট লাইন3
1 line1 লাইন1 line1 লাইন1 line1 লাইনyouআপনিClaudeClaudecontextকনটেক্সট3 descriptions3টি বিবরণfind-bugfind-bugtest-designtest-designanalyze-securityanalyze-securityClaude context (example lines)Claude কনটেক্সট (নমুনা লাইন)description, 1 line eachবিবরণ, প্রতিটা 1 লাইনfull body, loaded on useপুরো বডি, ব্যবহারে লোড

You’ll learnআপনি শিখবেন

  • A description is always in contextবিবরণ সবসময় কনটেক্সটে থাকে✓
  • disable-model-invocation hides the descriptiondisable-model-invocation বিবরণ লুকায়
  • The full body loads only on useপুরো বডি লোড হয় শুধু ব্যবহারে
  • allowed-tools skips prompts for one turnallowed-tools এক টার্নের প্রম্পট বাদ দেয়

What a skill is

A skill is a SKILL.md file with instructions. Claude uses a skill when it is relevant, or you invoke it directly with /skill-name. Source 1সোর্স 1

Skills and commands

Custom commands have been merged into skills. A file at .claude/commands/deploy.md and a skill at .claude/skills/deploy/SKILL.md both create /deploy and work the same way. Source 1সোর্স 1

Legacy format

Older tutorials, including earlier versions of this one, put qa-agent.md and sdet-agent.md in .claude/commands/. Those files still work. Source 1সোর্স 1 The section Run a skill in a subagent shows the current form.

Skill, CLAUDE.md, or hook?

Put it inWhen
CLAUDE.mdClaude must always know it, for example the test command. See CLAUDE.md & Memory.
A skillClaude needs it only for some tasks, for example a bug-hunt checklist. Source 1সোর্স 1
A hookThe rule must hold every time. If Claude skips a rule that must always hold, move the rule into a hook. Source 1সোর্স 1 See Hooks.

সহজ English

A skill is a SKILL.md file with instructions. Claude uses a skill when it is relevant. You can also start it yourself with /skill-name. Source 1সোর্স 1 The body of a skill loads only when someone uses the skill. Thus, long reference text in a skill costs almost nothing until you need it. This is not true for CLAUDE.md content. Source 1সোর্স 1

Custom commands are now part of skills. A file at .claude/commands/deploy.md and a skill at .claude/skills/deploy/SKILL.md both make /deploy, and they work the same way. Source 1সোর্স 1 Your old .claude/commands/ files keep working. For new work, use a skill. If a skill and a command file have the same name, the skill wins. Source 1সোর্স 1

Where to put an instruction:

  • CLAUDE.md: Claude must always know it, for example the test command.
  • A skill: Claude needs it only for some tasks, for example a bug-hunt checklist. Source 1সোর্স 1
  • A hook: the rule must hold every time. If Claude skips such a rule, move the rule into a hook. Source 1সোর্স 1

বাংলা ব্যাখ্যা

Skill হলো instruction-সহ একটি SKILL.md file। কোনো skill প্রাসঙ্গিক হলে Claude নিজেই সেটি ব্যবহার করে, অথবা আপনি /skill-name দিয়ে সরাসরি সেটি চালাতে পারেন। Source 1সোর্স 1 Skill ব্যবহার হলে তবেই তার body load হয়। তাই CLAUDE.md-এর content-এর মতো নয়, skill-এর ভেতরের লম্বা reference লেখা দরকার না পড়া পর্যন্ত প্রায় কোনো খরচ করে না। Source 1সোর্স 1 Claude Code-এর skill-গুলো Agent Skills open standard মেনে চলে। Source 1সোর্স 1

Custom command-গুলো এখন skill-এর সঙ্গে মিশে গেছে। .claude/commands/deploy.md file এবং .claude/skills/deploy/SKILL.md skill, দুটোই /deploy তৈরি করে এবং একইভাবে কাজ করে। Source 1সোর্স 1 আপনার পুরোনো .claude/commands/ file-গুলো কাজ করতেই থাকবে। নতুন কাজের জন্য skill বেছে নিন। একই নামের skill আর command file থাকলে skill জেতে। Source 1সোর্স 1

কোন জিনিস কোথায় রাখবেন:

  • CLAUDE.md: যা Claude-এর সবসময় জানা দরকার, যেমন test command।
  • Skill: যা শুধু কিছু task-এ দরকার, যেমন একটি bug-hunt checklist। Source 1সোর্স 1
  • Hook: যে rule প্রতিবার মানতেই হবে। Claude এমন rule বাদ দিলে rule-টি hook-এ সরিয়ে নিন। Source 1সোর্স 1

Where skills live

LocationPathWho gets it
Personal~/.claude/skills/<skill-name>/SKILL.mdYou, in all your projects on this machine Source 1সোর্স 1
Project.claude/skills/<skill-name>/SKILL.mdSessions in this repository. Commit it so your team gets it too. Source 1সোর্স 1
Plugin<plugin>/skills/<skill-name>/SKILL.mdWherever the plugin is enabled, as /plugin-name:skill-name Source 1সোর্স 1
  • Other locations are enterprise (managed settings), nested <subdir>/.claude/skills/ folders, and folders that you add with --add-dir. Source 1সোর্স 1
  • If two skills have the same name, enterprise wins over personal, and personal wins over project. Plugin skills have a namespace, so they do not clash. Source 1সোর্স 1
  • In a monorepo, skills in a .claude/skills/ folder below the start folder do not load at startup. They load when Claude reads or edits a file in that part of the tree. Source 1সোর্স 1
  • Cowork and cloud sessions do not read ~/.claude/skills/ on your machine. Source 1সোর্স 1

সহজ English

You can keep a skill in three main places: Source 1সোর্স 1

  • Personal: ~/.claude/skills/<skill-name>/SKILL.md. You get it in all your projects on this machine.
  • Project: .claude/skills/<skill-name>/SKILL.md. Sessions in this repository get it. Commit it, and your team gets it too.
  • Plugin: <plugin>/skills/<skill-name>/SKILL.md. You get it where the plugin is enabled, as /plugin-name:skill-name.

Other places are enterprise (managed settings), nested <subdir>/.claude/skills/ folders, and folders that you add with --add-dir. Source 1সোর্স 1

If two skills have the same name, enterprise wins over personal, and personal wins over project. Plugin skills have a namespace, so their names do not clash. Source 1সোর্স 1

In a monorepo, a .claude/skills/ folder below the start folder does not load at startup. Its skills load when Claude reads or edits a file in that part of the tree. Source 1সোর্স 1 Cowork and cloud sessions do not read ~/.claude/skills/ on your machine. Source 1সোর্স 1

বাংলা ব্যাখ্যা

Skill রাখার তিনটি প্রধান জায়গা আছে: Source 1সোর্স 1

  • Personal: ~/.claude/skills/<skill-name>/SKILL.md। এই মেশিনে আপনার সব project-এ আপনি এটি পাবেন।
  • Project: .claude/skills/<skill-name>/SKILL.md। এই repository-র session-গুলো এটি পায়। এটি commit করলে আপনার team-ও পাবে।
  • Plugin: <plugin>/skills/<skill-name>/SKILL.md। Plugin যেখানে enabled, সেখানে এটি /plugin-name:skill-name হিসেবে পাওয়া যায়।

এছাড়া আরও জায়গা আছে: enterprise (managed settings), nested <subdir>/.claude/skills/ folder, এবং --add-dir দিয়ে যোগ করা folder। Source 1সোর্স 1

একই নামের দুটি skill থাকলে enterprise জেতে personal-এর ওপর, আর personal জেতে project-এর ওপর। Plugin skill-এর namespace থাকে, তাই তাদের নামে সংঘাত হয় না। Source 1সোর্স 1

Monorepo-তে start folder-এর নিচের কোনো .claude/skills/ folder startup-এ load হয় না। Claude যখন tree-এর ওই অংশের কোনো file পড়ে বা edit করে, তখন সেই skill-গুলো load হয়। Source 1সোর্স 1 Cowork এবং cloud session আপনার মেশিনের ~/.claude/skills/ পড়ে না। Source 1সোর্স 1

Write a SKILL.md

Each skill is a folder. The SKILL.md file is required. Other files are optional, for example: Source 1সোর্স 1

.claude/skills/find-bug/
├── SKILL.md          ← instructions and frontmatter
├── reference.md      ← details Claude reads when needed
├── examples.md
└── scripts/
    └── helper.py

Keep SKILL.md under 500 lines. Move detailed reference material to separate files. Source 1সোর্স 1

The frontmatter sits between two --- lines. Claude Code reads the frontmatter only when the opening --- is the first line of the file. Source 1সোর্স 1 All fields are optional. Only description is recommended. Source 1সোর্স 1

Example: a find-bug skill in .claude/skills/find-bug/SKILL.md.

---
description: Finds high-probability bugs with evidence in code or a diff. Use after code changes or before test design.
allowed-tools: Read Grep Glob
argument-hint: [file-or-commit]
---

You are a senior QA bug hunter. Find high-probability bugs in: $ARGUMENTS

## Steps
1. Read the code. Trace the execution flow and the surrounding functions.
2. Find broken assumptions.

## Output per bug
- Probability: High / Medium
- Type: Functional / Security / Performance / Concurrency
- Why: evidence from the code, as file:line
- Steps to trigger, expected vs actual, impact

## Rules
- 5 to 8 bugs at most. No generic guesses. Evidence required.

Note: on macOS, Linux, and WSL, Claude Code leaves Glob and Grep out of the default tool set. Claude searches with find and grep through the Bash tool. These searches reach your permission rules as Bash calls. Source 2সোর্স 2 The Grep and Glob entries in this page's allowed-tools examples apply where those tools are present, for example on Windows. Source 2সোর্স 2

Common mistake: a misspelled field

A field name must match the documented name exactly, hyphens included. Claude Code ignores a field that it does not recognize and reports no error. Source 1সোর্স 1 Check the spelling yourself. To find SKILL.md files whose frontmatter does not parse, run claude plugin validate .claude/skills (Claude Code v2.1.233 or later). Source 1সোর্স 1

Write the description

The description says what the skill does and when to use it. Claude uses it to decide when to apply the skill. Source 1সোর্স 1

  • Put the key use case first. The combined description and when_to_use text is cut at 1,536 characters in the skill listing. Source 1সোর্স 1
  • By default, the description is always in context, and the full skill loads when someone invokes it. Source 1সোর্স 1

Doকরুন: Says what and when

description: Ranks likely root causes from an error, log, or failing test. Use when the user pastes a stack trace or log.

Don'tকরবেন না: Says only what

description: Analyze logs/errors and identify root cause

It says what the skill does, but not when to use it.

Who can invoke a skill

FrontmatterYou can invokeClaude can invokeContext cost
(default)YesYesDescription always in context, full skill loads when invoked Source 1সোর্স 1
disable-model-invocation: trueYesNot on its ownDescription not in context, full skill loads when invoked Source 1সোর্স 1

Use disable-model-invocation: true for a workflow that you want to start yourself with /name. It also stops the skill from being preloaded into subagents. Source 1সোর্স 1

Use user-invocable: false when only Claude should invoke the skill. Claude Code then hides it from the / menu and does not run it when you type /name. Source 1সোর্স 1

সহজ English

Each skill is a folder. Only the SKILL.md file is required. Source 1সোর্স 1 Keep SKILL.md under 500 lines. Move long reference text to other files. Source 1সোর্স 1 The frontmatter is the block between two --- lines at the top of the file. All fields are optional. Only description is recommended. Source 1সোর্স 1 Claude Code ignores a misspelled field name and shows no error. Source 1সোর্স 1

The main parts:

বাংলা ব্যাখ্যা

প্রতিটি skill একটি folder। এর মধ্যে শুধু SKILL.md file থাকা বাধ্যতামূলক, বাকি file ঐচ্ছিক। Source 1সোর্স 1 SKILL.md 500 line-এর নিচে রাখুন এবং বিস্তারিত reference আলাদা file-এ সরিয়ে দিন। Source 1সোর্স 1 Frontmatter থাকে দুটি --- line-এর মাঝে। Opening --- file-এর প্রথম line হলে তবেই Claude Code frontmatter পড়ে। সব field ঐচ্ছিক, শুধু description দেওয়ার পরামর্শ দেওয়া হয়। Source 1সোর্স 1 Field-এর নামের বানান ভুল হলে Claude Code সেই field ignore করে এবং কোনো error দেখায় না। Source 1সোর্স 1

মূল অংশগুলো:

  • description: skill কী করে এবং কখন ব্যবহার করতে হবে। Claude এটি দেখে ঠিক করে কখন skill প্রয়োগ করবে। মূল use case শুরুতে লিখুন। Source 1সোর্স 1
  • disable-model-invocation: true দিলে শুধু আপনি skill চালাতে পারবেন। user-invocable: false দিলে শুধু Claude পারবে। Source 1সোর্স 1

Pre-approve tools

allowed-tools lists tools that Claude can use without asking for permission during the turn that invokes the skill. The grant clears when you send your next message. Source 1সোর্স 1 The value is a space- or comma-separated string, or a YAML list. Source 1সোর্স 1 An example from the docs: Source 1সোর্স 1

allowed-tools: Bash(git add *) Bash(git commit *) Bash(git status *)

Common mistake: allowed-tools as a sandbox

allowed-tools does not restrict which tools are available. Every tool stays callable, and your permission settings still apply to the tools that are not listed. Source 1সোর্স 1 To remove tools while the skill is active, use disallowed-tools. Source 1সোর্স 1

Review skills in a repository you did not write

A skill can grant itself broad tool access. Review the allowed-tools of skills checked into a repository before you run Claude Code there. Source 1সোর্স 1 Claude Code applies a project skill's allowed-tools even in a -p run in a folder that you never trusted. Source 1সোর্স 1

Arguments

The text after the skill name is the arguments. $ARGUMENTS in the skill body is replaced with that text. Source 1সোর্স 1 If the body has no placeholder, Claude Code adds ARGUMENTS: <your input> to the end of the skill content. Source 1সোর্স 1

  • $0, $1, and so on are single arguments, counted from 0. Arguments use shell-style quotes: /my-skill "hello world" second gives $0 = hello world. Source 1সোর্স 1
  • The arguments field gives names to positions, for $name substitution. argument-hint shows a hint such as [issue-number] in autocomplete. Source 1সোর্স 1
  • Type the skill name at the start of your message. There, /test-design src/checkout.js runs the skill directly. Source 1সোর্স 1 Claude Code recognizes a command only at the start of a message. Source 3সোর্স 3

Inject live data

!`<command>` runs a shell command before Claude sees the skill. The output replaces the placeholder. Source 1সোর্স 1 Injected commands also go through your permission rules first, and allowed-tools can pre-approve them. Source 1সোর্স 1

Example: a skill that reviews the current change.

---
description: Reviews the uncommitted change for bugs. Use before a commit.
allowed-tools: Bash(git diff *)
---

## The change
!`git diff HEAD`

Find bugs in this change. Give file:line evidence for each one.

A failed command stops the whole skill, and Claude never sees the skill content for that call. Add || true to a command that can exit with a non-zero code. Source 1সোর্স 1

Run a skill in a subagent

context: fork runs the skill in a forked subagent. The agent field selects the subagent: Explore, Plan, general-purpose, or a custom subagent from .claude/agents/. The default is general-purpose. Source 1সোর্স 1

Example: .claude/skills/qa-task/SKILL.md replaces the old .claude/commands/qa-agent.md file. It sends a task to the qa-agent subagent from the Subagents page.

---
description: Sends a QA task to the qa-agent subagent.
context: fork
agent: qa-agent
background: false
disable-model-invocation: true
argument-hint: [task]
---

Do this QA task and return a short report with evidence:

$ARGUMENTS

Run it as /qa-task Find bugs and design test cases for src/payment.js.

ApproachSystem promptTask
Skill with context: forkFrom the agent typeThe skill content Source 1সোর্স 1
Subagent with skills:The subagent bodyClaude's request. The skills are reference material. Source 1সোর্স 1

সহজ English

বাংলা ব্যাখ্যা

  • allowed-tools: skill চালু করার turn-এ কোন tool permission prompt ছাড়া চলবে। এটি অন্য tool বন্ধ করে না। Tool সরাতে disallowed-tools ব্যবহার করুন। Source 1সোর্স 1 যে repository আপনি লেখেননি, সেখানে Claude Code চালানোর আগে skill-গুলোর allowed-tools review করুন। Source 1সোর্স 1
  • $ARGUMENTS: skill-এর নামের পরে আপনি যে text লেখেন। Source 1সোর্স 1
  • !`<command>`: Claude skill দেখার আগে একটি shell command চলে, আর তার output placeholder-এর জায়গা নেয়। Command fail করলে পুরো skill থেমে যায়। Source 1সোর্স 1
  • context: fork: skill-টি একটি forked subagent-এ চালায়। Subagent আপনার conversation history দেখে না। Source 1সোর্স 1

Six example QA skills

This tutorial uses six example skills. They are examples, not a required set. Each one below uses the current format: a description that says when to use it, and allowed-tools instead of a "Tool Usage (MANDATORY)" section.

analyze-requirement
---
description: Analyzes a requirement or Jira ticket for scope, risks, gaps, and edge cases. Use when the user shares a ticket, story, or spec.
argument-hint: [ticket-key-or-text]
---

You are a senior SDET and QA engineer. Analyze: $ARGUMENTS

If the input is a Jira key, read the ticket through the Jira MCP server.
If it is plain text, analyze the text directly.

## Output
1. Summary: feature, user, goal
2. Business flow: main flow, key conditions, input to output
3. Scope: in scope, out of scope
4. System impact: UI, API, DB, services, roles
5. Risks: functional, data, security, performance
6. Gaps: missing requirements, assumptions, questions
7. Edge cases: 3 to 5 boundary conditions or failure paths

## Rules
- Bullet points only. No test cases. No deep code explanation.
explain-code
---
description: Explains the flow and logic of a file or change. Use when the user asks what code does or what a change affects.
allowed-tools: Read Grep Glob Bash(git show *)
argument-hint: [file-or-commit]
---

You are a senior SDET. Explain: $ARGUMENTS

For a commit hash or "latest change", read it with git show.
For a symbol, find it with search, then read the file.

## Output
1. Purpose
2. Flow: entry point, function calls, exit
3. Logic: conditions and decisions
4. Components: functions, APIs, DB
5. Data flow: input, transform, store or return
6. Dependencies
7. Risks: logic, data, concurrency

## Rules
- No test cases. No requirement analysis. Be concise.
find-bug

The full find-bug example is in Write a SKILL.md. To check data or state, add a read-only database MCP server. See MCP Servers.

test-design
---
description: Designs test cases for a feature or change using named techniques. Use when the user asks for test cases or coverage.
disable-model-invocation: true
argument-hint: [requirement-or-file]
---

Design test cases for: $ARGUMENTS

Pick the techniques, build the test model, show it, and stop for review.
After approval, write one test case for each coverage item.

The Test Design with Claude page has the full skill with the techniques and the output format.

analyze-security
---
description: Reviews code for real, relevant security issues with attack steps. Use for auth, payment, or data-handling changes.
allowed-tools: Read Grep Glob
argument-hint: [file-or-commit]
---

You are a security-focused SDET. Review: $ARGUMENTS

## Output
1. Context: what the feature does, and if it touches auth, payment, or personal data
2. Issues, for each one: severity, evidence, attack steps, impact, fix

## Focus
Auth and access, input validation, data exposure, logic bypass, API misuse.

## Rules
- No generic OWASP list. Only real, relevant issues. Be concise.
analyze-rootcause
---
description: Ranks likely root causes from an error, log, or failing test. Use when the user pastes a stack trace or log.
allowed-tools: Read Grep Glob
argument-hint: [log-file]
---

You are a senior SDET debugger. Find the most probable root cause of: $ARGUMENTS

If the log points to data, check it with the read-only database MCP server.

## Output
1. Error: what failed, where
2. Root cause: up to 3 causes, ranked by confidence, with evidence
3. Flow: what happened before the failure
4. Reproduction: inputs, state, environment
5. Impact: system, data, user
6. Fix: immediate fix and prevention

## Rules
- No guessing without evidence. Be concise.

See it in practice

In the case study, a find-bug skill feeds a review gate in Bug Hunting with a Review Gate. A pr-review skill with a supporting prompt file is in From Issue to Reviewed PR.

সহজ English

This tutorial uses six example skills. They are examples. You do not have to use all of them. Each one uses the current format: a description that says when to use the skill, and allowed-tools in place of a "Tool Usage (MANDATORY)" section.

  • analyze-requirement: checks a requirement or Jira ticket for scope, risks, gaps, and edge cases.
  • explain-code: explains the flow and logic of a file or a change.
  • find-bug: finds high-probability bugs, with evidence in the code or a diff.
  • test-design: designs test cases with named techniques.
  • analyze-security: finds real, relevant security issues in code, with attack steps.
  • analyze-rootcause: ranks the likely root causes of an error, a log, or a failing test.

In the case study, a find-bug skill feeds a review gate. A pr-review skill uses a supporting prompt file.

বাংলা ব্যাখ্যা

এই tutorial ছয়টি উদাহরণ skill ব্যবহার করে। এগুলো শুধু উদাহরণ, বাধ্যতামূলক কোনো set নয়। প্রতিটি skill বর্তমান format মেনে চলে: একটি description, যা বলে কখন skill-টি ব্যবহার করতে হবে, আর "Tool Usage (MANDATORY)" section-এর বদলে allowed-tools।

  • analyze-requirement: একটি requirement বা Jira ticket-এর scope, risk, gap এবং edge case বিশ্লেষণ করে।
  • explain-code: একটি file বা change-এর flow আর logic ব্যাখ্যা করে।
  • find-bug: code বা diff-এ evidence-সহ উচ্চ সম্ভাবনার bug খোঁজে।
  • test-design: নির্দিষ্ট নামের technique দিয়ে test case design করে।
  • analyze-security: code-এ বাস্তব ও প্রাসঙ্গিক security issue খোঁজে, attack step-সহ।
  • analyze-rootcause: একটি error, log বা failing test থেকে সম্ভাব্য root cause-গুলো ক্রম অনুযায়ী সাজায়।

Case study-তে একটি find-bug skill একটি review gate-কে input দেয়। একটি pr-review skill একটি সহায়ক prompt file ব্যবহার করে।

Keep skills reliable

সহজ English

বাংলা ব্যাখ্যা

  • মূল rule-গুলো skill-এর শুরুতে রাখুন। Auto-compaction-এর পরে Claude Code প্রতিটি সাম্প্রতিক skill-এর প্রথম 5,000 token রাখে, মোট 25,000 token-এর একটি shared budget-এর মধ্যে। Source 1সোর্স 1
  • Description ছোট রাখুন। সব skill description মিলে model-এর context window-এর 1% listing budget ভাগ করে নেয়। Source 1সোর্স 1
  • Edit করার পরে restart লাগে না। Claude Code skill folder-গুলো নজরে রাখে, তাই edit একই session-এ কাজ করে। কোনো নতুন skill না দেখা গেলে /reload-skills চালান। Source 1সোর্স 1 Source 3সোর্স 3
  • যে rule সবসময় মানতেই হবে, তার জন্য hook ব্যবহার করুন। একটি skill তার hooks frontmatter-এ hook define করতে পারে। Source 1সোর্স 1
  • CI-তে claude plugin validate .claude/skills চালান। এটি সেই SKILL.md file-গুলো খুঁজে বের করে, যাদের frontmatter parse হয় না। Source 1সোর্স 1

Built-in commands for QA

A command is recognized only at the start of your message. The text after it is its arguments. Source 3সোর্স 3

CommandWhat it does
/initCreates a starter CLAUDE.md. With CLAUDE_CODE_NEW_INIT=1, an interactive flow also covers skills, hooks, and personal memory files. Source 3সোর্স 3
/memoryEdits CLAUDE.md files, turns auto memory on or off, and shows auto memory entries. Source 3সোর্স 3
/mcpManages MCP server connections and OAuth sign-in. Source 3সোর্স 3
/permissionsManages allow, ask, and deny rules. Alias: /allowed-tools. Source 3সোর্স 3
/plan [description]Enters plan mode from the prompt. Source 3সোর্স 3
/contextShows context usage as a colored grid. Source 3সোর্স 3
/compact [instructions]Summarizes the conversation to free context. Source 3সোর্স 3
/diffShows what changed in your working tree, including the edits that Claude made so far. Source 3সোর্স 3
/code-reviewChecks the current diff, a PR number, a branch, or a path for correctness bugs. --fix applies the findings and --comment posts them. /review is an alias. Source 3সোর্স 3
/security-reviewReviews the diff between your branch and the default branch of origin for risks such as injection, auth issues, and data exposure. It needs an origin remote. Source 3সোর্স 3
/verifyBuilds and runs your app to confirm that a code change does what it should, without falling back to tests or type checks. Source 1সোর্স 1
/skills, /hooks, /pluginList skills, show hooks, and manage plugins. Source 3সোর্স 3
/agentsPrints a reminder to ask Claude or to edit .claude/agents/ directly. Source 3সোর্স 3

A typical order: /init, then /memory, /mcp, and /permissions to set up. During a task: /plan, /context, and /compact. Before you ship: /diff, /code-review, and /security-review. Source 3সোর্স 3

সহজ English

Claude Code recognizes a command only at the start of your message. The text after the command is its arguments. Source 3সোর্স 3

A typical order: Source 3সোর্স 3

  • To set up: /init makes a starter CLAUDE.md. Then use /memory, /mcp, and /permissions.
  • During a task: /plan enters plan mode, /context shows context usage, and /compact summarizes the conversation to free context.
  • Before you ship: /diff shows what changed, /code-review checks for correctness bugs, and /security-review reviews the diff between your branch and the default branch for risks such as injection. /security-review needs an origin remote.

বাংলা ব্যাখ্যা

Command শুধু আপনার message-এর শুরুতে থাকলেই Claude Code সেটি চিনতে পারে। Command-এর পরের text হলো তার argument। Source 3সোর্স 3

একটি সাধারণ ক্রম: Source 3সোর্স 3

  • Setup-এর জন্য: /init একটি starter CLAUDE.md তৈরি করে। তারপর /memory, /mcp এবং /permissions ব্যবহার করুন।
  • Task চলার সময়: /plan plan mode-এ নিয়ে যায়, /context context usage দেখায়, আর /compact conversation summarize করে context খালি করে।
  • Ship করার আগে: /diff দেখায় কী বদলেছে, /code-review correctness bug খোঁজে, আর /security-review আপনার branch আর default branch-এর diff-এ injection, auth issue বা data exposure-এর মতো risk review করে। /security-review-এর জন্য একটি origin remote লাগে।

Bundled Skills and Overrides

Run your own check before each commit

If one of your own skills is named verify or simplify, Claude Code's commit instructions tell Claude to run it. They tell Claude to run it right before each commit, except for changes to docs or tests. This needs Claude Code v2.1.286 or later. Source 1সোর্স 1 These conditions apply: Source 1সোর্স 1

  • The skill is in an enterprise, personal, project, or --add-dir location, or in .claude/commands/.
  • Claude can invoke the skill, so it does not set disable-model-invocation: true.
  • includeGitInstructions is on.

সহজ English

/verify builds and runs your app to confirm that a code change does what it should. Source 1সোর্স 1

If your own skill has the same name as a built-in command, your skill replaces the command in a local terminal session. Source 1সোর্স 1

If one of your own skills is named verify or simplify, Claude Code's commit instructions tell Claude to run it right before each commit. Docs or test changes are an exception. This needs Claude Code v2.1.286 or later, and some conditions apply. Source 1সোর্স 1

বাংলা ব্যাখ্যা

/verify আপনার app build করে চালায়, যাতে নিশ্চিত হওয়া যায় যে code change ঠিক কাজ করছে। আপনি invoke করলে তবেই এটি চলে। Source 1সোর্স 1 /code-review, /doctor, /batch, /debug, /loop এবং /claude-api হলো bundled skill, যা Claude Code-এর সঙ্গেই আসে। Source 1সোর্স 1

আপনার নিজের skill-এর নাম কোনো built-in command-এর মতো হলে local terminal session-এ আপনার skill সেই command-এর জায়গা নেয়, কিন্তু তার alias-এর নয়। Source 1সোর্স 1

আপনার নিজের কোনো skill-এর নাম verify বা simplify হলে Claude Code-এর commit instruction Claude-কে প্রতিটি commit-এর ঠিক আগে সেটি চালাতে বলে, তবে docs বা test-এর change-এ নয়। এর জন্য Claude Code v2.1.286 বা পরের version লাগে, আর কিছু শর্ত পূরণ হতে হয়। Source 1সোর্স 1

Reference

Frontmatter fields

FieldWhat it does
nameCommand name in the / menu. Defaults to the folder name. Source 1সোর্স 1
descriptionWhat the skill does and when to use it. Source 1সোর্স 1
when_to_useShown with description in the skill listing. The two together are cut at 1,536 characters. Source 1সোর্স 1
allowed-toolsTools that need no permission prompt during the invoking turn. Source 1সোর্স 1
disallowed-toolsTools removed while the skill is active. Source 1সোর্স 1
disable-model-invocationtrue: only you can invoke the skill. Default false. Source 1সোর্স 1
user-invocablefalse: only Claude can invoke the skill. Default true. Source 1সোর্স 1
arguments, argument-hintNamed positional arguments, and the autocomplete hint. Source 1সোর্স 1
context, agent, backgroundRun the skill in a forked subagent. Source 1সোর্স 1
model, effortModel and effort level (low, medium, high, xhigh, max). Source 1সোর্স 1
hooksHooks that belong to the skill. Source 1সোর্স 1
shellbash or powershell Source 1সোর্স 1
paths, metadata, license, compatibilityOther fields. See the skills docs. Source 1সোর্স 1

Substitutions

PlaceholderValue
$ARGUMENTSAll arguments Source 1সোর্স 1
$ARGUMENTS[N], $NOne argument, counted from 0 Source 1সোর্স 1
$nameA named argument from arguments Source 1সোর্স 1

The docs also list ${CLAUDE_SESSION_ID}, ${CLAUDE_EFFORT}, ${CLAUDE_SKILL_DIR}, and ${CLAUDE_PROJECT_DIR}. Source 1সোর্স 1

You can stack skills at the start of one message. Claude Code expands the first skill plus up to five more after it. Source 1সোর্স 1

সহজ English

This section is a quick list of the frontmatter fields and the placeholders. Source 1সোর্স 1

You can stack skills at the start of one message. Claude Code expands the first skill plus up to five more after it. Source 1সোর্স 1

বাংলা ব্যাখ্যা

এই অংশে frontmatter field আর placeholder-গুলোর একটি সংক্ষিপ্ত তালিকা আছে। Source 1সোর্স 1

  • name হলো / menu-তে command-এর নাম। Default হিসেবে এটি folder-এর নাম। Source 1সোর্স 1
  • when_to_use skill listing-এ description-এর সঙ্গে দেখায়। দুটো মিলে 1,536 character-এ কেটে দেওয়া হয়। Source 1সোর্স 1
  • disallowed-tools skill চালু থাকার সময় tool সরিয়ে দেয়। Source 1সোর্স 1
  • model আর effort model এবং effort level (low, medium, high, xhigh, max) ঠিক করে। Source 1সোর্স 1
  • shell হতে পারে bash বা powershell। Source 1সোর্স 1
  • $ARGUMENTS মানে সব argument। $ARGUMENTS[N] বা $N মানে একটি argument, 0 থেকে গোনা। $name হলো arguments থেকে একটি নামযুক্ত argument। Source 1সোর্স 1

এক message-এর শুরুতে আপনি একাধিক skill পরপর রাখতে পারেন। Claude Code প্রথম skill এবং তার পরের সর্বোচ্চ পাঁচটি skill expand করে। Source 1সোর্স 1

  1. [1]
    Extend Claude with skills

    Anthropic (Claude Code docs) · accessed 2026-10-10দেখা হয়েছে: 2026-10-10

  2. [2]
    Tools reference

    Anthropic (Claude Code docs) · accessed 2026-10-10দেখা হয়েছে: 2026-10-10

  3. [3]
    Commands

    Anthropic (Claude Code docs) · accessed 2026-10-10দেখা হয়েছে: 2026-10-10