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

Part 26পর্ব 26 · Agentic QA

QA Workspace & Tooling

A tester who uses Claude every day needs a workspace, not a blank chat. This page shows where each piece of a Claude Code setup lives, which mechanism fits which test task, and how to fence the agent in so that it cannot read secrets or change the application code by accident. It then looks at seven tools that testers often add, with what each one is good for and what it can cost you in evidence, privacy, or trust.

15 min read15 মিনিটে পড়া যায় · 11 sections11টি সেকশন · 19 sources19টি সোর্স · updated Nov 2026আপডেট: Nov 2026

Which rule wins: deny, ask, allowকোন রুল জেতে: deny, ask, allow

Send three tool calls through the rule list and see the first match decide.তিনটা টুল কল রুলের তালিকার ভেতর দিয়ে পাঠান আর দেখুন প্রথম মিল সিদ্ধান্ত নেয়।

2 min2 মিনিট7 steps7টি ধাপ
  • Rules checkedরুল দেখা হয়েছে0 / 3
  • Outcomeফলাফল…
  • Calls blockedআটকানো কল0
Claudeক্লডRead .envRead .envDenyডিনাইcheck 1ধাপ 1Read(./.env)Read(./.env)Edit(./src/**)Edit(./src/**)Askঅ্যাস্কcheck 2ধাপ 2Bash(git push *)Bash(git push *)Allowঅ্যালাউcheck 3ধাপ 3Bash(npx playwright test *)Bash(npx playwright test *)Toolটুল

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

  • The order: deny, ask, allowক্রম: deny, ask, allow
  • The first match winsপ্রথম মিলই জেতে
  • What an ask rule doesask রুল কী করে
  • Why allow cannot carve out a denyallow কেন deny-তে ফাঁক করতে পারে না

What goes where in a project

Claude Code reads its setup from your project and from ~/.claude in your home directory. Commit the project files to share them. Files in ~/.claude are personal and apply to all your projects. Source 1সোর্স 1

FileWhat it holdsCommit?
CLAUDE.md (or .claude/CLAUDE.md)Instructions loaded every session Source 1সোর্স 1 Source 2সোর্স 2Yes
CLAUDE.local.mdYour private preferences for this project; add it to .gitignore Source 1সোর্স 1No
.claude/settings.jsonPermissions, hooks, env vars, model defaults Source 1সোর্স 1Yes
.claude/settings.local.jsonYour personal overrides; gitignored when Claude Code saves a setting to it Source 1সোর্স 1No
.claude/rules/*.mdTopic-scoped instructions, optionally limited to some paths Source 1সোর্স 1Yes
.claude/skills/<name>/SKILL.mdReusable prompts that you run with /name, or that Claude loads by itself Source 1সোর্স 1Yes
.claude/commands/*.mdSingle-file prompts, the same mechanism as skills Source 1সোর্স 1Yes
.claude/agents/*.mdSubagents with their own prompt and tools Source 1সোর্স 1Yes
.claude/output-styles/*.mdHow Claude formats its responses Source 1সোর্স 1Yes
.mcp.json (project root)Team-shared MCP servers Source 1সোর্স 1Yes
~/.claude.jsonApp state, account details, personal MCP servers Source 1সোর্স 1No

Secrets. .mcp.json supports environment variable expansion, so a team can share a server entry without its API key. ${VAR} expands to the value of VAR. Source 3সোর্স 3 Transcripts are plain text: if a tool reads a .env file, the value goes into the transcript. The docs suggest permission rules that deny reads of credential files. Source 1সোর্স 1

Where these facts come from

The next paragraph comes from the files of the public dMoney practice repository at commit 51db34a. It has no cites, because a cite links to an official source.

The dMoney repo (Codebase Tour) is a real QA workspace. Its .claude/ folder has agents/, commands/, hooks/, skills/, and settings.json. Its .mcp.json names three servers: jira, playwright, and dmoney-db. Its reviewer subagent is read-only, with the tools Read, Grep, Glob, Skill. Its .gitignore keeps graphify-out/ and .serena/ out of git. Its settings.json holds one PreToolUse hook and no permissions block, so nothing denies reads of secrets.

সহজ English

Claude Code reads its setup from your project and from ~/.claude in your home folder. Commit the project files, so the team shares them. The home files are only yours. Source 1সোর্স 1

In .mcp.json, write ${VAR} instead of a key. Claude Code puts in the value of VAR. Source 3সোর্স 3 Transcripts are plain text, so deny reads of secret files. Source 1সোর্স 1

The dMoney practice repo has agents, commands, hooks, skills, and three MCP servers. But it has no rule that blocks reads of secrets.

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

Claude Code আপনার project আর home folder-এর ~/.claude থেকে setup পড়ে। Project file commit করুন, যাতে team শেয়ার করতে পারে। ~/.claude-এর file শুধু আপনার। Source 1সোর্স 1

  • CLAUDE.md-এ প্রতিটি session-এর নির্দেশনা থাকে। Source 2সোর্স 2 CLAUDE.local.md-এ আপনার ব্যক্তিগত পছন্দ, এটি .gitignore-এ দিন। Source 1সোর্স 1
  • .claude/settings.json-এ permission ও hook থাকে। .claude/settings.local.json আপনার নিজের override, commit করবেন না। Source 1সোর্স 1
  • .claude/rules/, skills/, agents/-এ rule, skill আর subagent থাকে। .mcp.json-এ team-এর MCP server থাকে। Source 1সোর্স 1

.mcp.json-এ key-এর বদলে ${VAR} লিখুন, Claude Code সেখানে VAR-এর মান বসায়। Source 3সোর্স 3 Transcript plain text-এ থাকে, তাই secret file পড়া deny করুন। Source 1সোর্স 1

dMoney practice repo-তে agents, commands, hooks, skills আর তিনটি MCP server আছে। কিন্তু secret পড়া আটকানোর কোনো permissions block নেই।

Pick the right mechanism for each QA job

The Claude Code docs compare the extension types. CLAUDE.md is persistent context loaded every conversation. A subagent is an isolated context that returns a summary. A hook is automation that must run on every matching event. MCP connects to external services. Source 4সোর্স 4

QA jobMechanismWhy
Test conventions: framework, folder, run commandCLAUDE.mdEvery session needs them. Source 4সোর্স 4
Rules only for test files or one folder.claude/rules/ with pathsFor directory-specific guidelines Source 4সোর্স 4
A test-design procedure, such as boundary valuesSkillA repeatable task that you run with /name Source 4সোর্স 4
An independent reviewer of bug reportsSubagent with tools: Read, Grep, GlobOwn context; Read, Grep, Glob are read-only tools, and the docs' code-improver example uses this list Source 5সোর্স 5
A block on edits to application codePreToolUse hook, Source 4সোর্স 4 or a deny rule Source 6সোর্স 6A hook that blocks the edit is enforcement. Source 4সোর্স 4
A lint or type check after each editPostToolUse hookThe docs example: run ESLint after every file edit Source 4সোর্স 4
Jira or database accessMCP server, plus a skill for how to use itMCP gives the tools, a skill the know-how Source 4সোর্স 4
Shorter or reformatted answersOutput styleSets role, tone, and response format Source 4সোর্স 4
The same setup in a second repoPluginBundles skills, hooks, subagents, and MCP servers Source 4সোর্স 4

Instructions are not guardrails. An instruction such as "never edit .env" in CLAUDE.md or a skill is a request, not a guarantee. Source 4সোর্স 4 Put anything that must always hold into a hook or a permission rule.

Skills with side effects. Set disable-model-invocation: true on a skill that writes to Jira or a database. Source 4সোর্স 4 Then it runs only when you type its name.

Project subagents live in .claude/agents/, checked into version control. Source 5সোর্স 5 The Subagents and Skills pages show how to write them.

সহজ English

Each extension type has one job: Source 4সোর্স 4

  • CLAUDE.md is always loaded. Put test conventions there.
  • A rule can apply only to some files, such as test files.
  • A skill is a saved procedure that you start with /name.
  • A subagent is a helper with its own context. A bug-report reviewer with only Read, Grep, Glob is a good one. Source 5সোর্স 5
  • A hook runs on every matching event. It can block edits to app code or run a linter.
  • MCP connects Claude to Jira or a database.
  • A plugin packs skills, hooks, subagents, and MCP servers for another repo.

An instruction in CLAUDE.md is a request, not a guarantee. If a rule must always hold, use a hook or a permission rule. If a skill writes to Jira, set disable-model-invocation: true. Source 4সোর্স 4

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

প্রতিটি extension-এর কাজ আলাদা: Source 4সোর্স 4

  • CLAUDE.md সবসময় load হয়, এখানে test convention রাখুন।
  • Rule (paths সহ) শুধু নির্দিষ্ট file-এর জন্য, যেমন test file।
  • Skill একটি procedure, যেমন boundary value দিয়ে test design। /name দিয়ে চালান।
  • Subagent নিজস্ব context-এ কাজ করে summary দেয়। শুধু Read, Grep, Glob সহ bug report reviewer এর ভালো উদাহরণ। Source 5সোর্স 5
  • Hook প্রতিটি মিলে যাওয়া event-এ চলে, যেমন app code edit আটকানো বা lint চালানো।
  • MCP Jira বা database-এর সাথে যুক্ত করে।
  • Plugin skill, hook, subagent আর MCP server bundle করে আরেকটি repo-তে নিয়ে যায়।

CLAUDE.md-এর নির্দেশনা অনুরোধ, guarantee নয়। জরুরি নিয়ম hook বা permission rule-এ রাখুন। Jira-তে লেখে এমন skill-এ disable-model-invocation: true দিন। Source 4সোর্স 4

CLAUDE.md and rules for test work

CLAUDE.md. A project CLAUDE.md can be ./CLAUDE.md or ./.claude/CLAUDE.md. Run /init to generate a first version. Source 2সোর্স 2 Claude treats CLAUDE.md as context, not enforced configuration. Target under 200 lines per file, because longer files use more context and reduce adherence. Source 2সোর্স 2 To confirm that it loaded, run /context all and check the list under Memory files. Source 2সোর্স 2

Rules. Put one topic in each file in .claude/rules/, for example testing.md. Claude Code finds all .md files there, in subfolders too. Source 2সোর্স 2 A rule without paths loads at launch. A rule with paths loads only when Claude reads, writes, or edits a matching file. Source 2সোর্স 2 paths is the only frontmatter field of a rule. Source 1সোর্স 1

An example rule for Playwright specs (the tutorial's own example):

---
paths:
  - "tests/**/*.spec.ts"
---

# Playwright test rules

- Use role-based locators first. Use a test ID only when no role fits.
- One behaviour per test. Name the test after the behaviour.
- Never hard-code a password. Read test users from environment variables.
- Do not add a fixed wait. Wait for a visible state instead.

Personal rules. Rules in ~/.claude/rules/ apply to every project on your machine. Source 2সোর্স 2

Audit. /doctor prompt-audit asks Claude to find outdated or conflicting instructions. It needs Claude Code v2.1.283 or later. Source 2সোর্স 2

The tutorial's advice

Write test rules that a reviewer can check: "use getByRole first" is checkable, "write good tests" is not. When Claude makes the same test mistake twice, add one line to the rule file.

সহজ English

Put CLAUDE.md at ./CLAUDE.md or ./.claude/CLAUDE.md. Run /init for a first version. Keep it under 200 lines, because Claude follows long files less well. Run /context all to check that it loaded. Source 2সোর্স 2

Rules are small files in .claude/rules/, one topic each. A rule with paths loads only when Claude works on a matching file. Source 2সোর্স 2 So a rule for tests/**/*.spec.ts loads only for your Playwright specs. The example rule on this page is the tutorial's own.

Your own rules go in ~/.claude/rules/. /doctor prompt-audit finds old or conflicting lines. Source 2সোর্স 2 The tutorial suggests rules that a reviewer can check.

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

CLAUDE.md ./CLAUDE.md বা ./.claude/CLAUDE.md-এ রাখুন, প্রথম version-এর জন্য /init চালান। ২০০ line-এর নিচে রাখুন, কারণ লম্বা file Claude কম মানে। Load হয়েছে কি না দেখতে /context all চালান। Source 2সোর্স 2

Rule হলো .claude/rules/-এ এক-একটি বিষয়ের ছোট file। paths থাকলে rule শুধু মিলে যাওয়া file-এ কাজের সময় load হয়। Source 2সোর্স 2 Frontmatter field একটিই: paths। Source 1সোর্স 1 উদাহরণের rule-টি tutorial-এর নিজের।

ব্যক্তিগত rule ~/.claude/rules/-এ রাখুন। /doctor prompt-audit পুরনো বা পরস্পরবিরোধী নির্দেশনা খোঁজে। Source 2সোর্স 2 Tutorial-এর পরামর্শ: এমন rule লিখুন, যা reviewer যাচাই করতে পারেন।

Permissions and the sandbox

Allow, ask, deny. An allow rule lets a tool run without approval, an ask rule prompts, and a deny rule blocks. Source 6সোর্স 6 Claude Code checks deny first, then ask, then allow, and the first match wins. An allow rule cannot carve an exception out of a deny rule. Source 6সোর্স 6 Claude Code enforces these rules, not the model. Source 6সোর্স 6

An example .claude/settings.json for a QA workspace (the tutorial's own example; the rule syntax is from the docs Source 6সোর্স 6):

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./secrets/**)",
      "Edit(./src/**)"
    ],
    "ask": ["Bash(git push *)"],
    "allow": ["Bash(npx playwright test *)"]
  }
}
  • Read(./.env) and Read(./secrets/**) are the docs examples for blocking reads. A Read deny rule also blocks Edit and Write on that path. Source 6সোর্স 6
  • A .claudeignore file has no effect. Source 6সোর্স 6
  • /permissions lists every rule and its file. When the approval saves permanently, such as for a Bash command, "Yes, and don't ask again" saves the rule to .claude/settings.local.json. Source 6সোর্স 6

Deny rules do not stop scripts

Read and Edit deny rules do not apply to a subprocess that opens files itself, such as a Python or Node script. For OS-level enforcement, the docs say to enable the sandbox. Source 6সোর্স 6

The sandbox. The Bash sandbox is an operating-system boundary around Claude's shell commands. Source 7সোর্স 7 It is off by default; turn it on with /sandbox. It runs on macOS, Linux, and WSL2. Source 7সোর্স 7 By default, sandboxed commands can still read most of the machine, including ~/.ssh, and the allowed network domains start empty. The file tools, MCP servers, and hooks run outside it. Source 7সোর্স 7

Modes. default (Manual) prompts on first use. plan explores and does not edit source files. bypassPermissions belongs only in isolated containers or VMs. Source 6সোর্স 6 See Permission Modes and Settings.

সহজ English

Allow rules let a tool run. Ask rules make Claude Code ask you. Deny rules block. Deny wins over ask and allow. Claude Code enforces the rules, not the model. Source 6সোর্স 6

The example on this page is the tutorial's own. It blocks reads of .env and secrets/, blocks edits to src/, asks before git push, and allows Playwright runs. A .claudeignore file does nothing. Source 6সোর্স 6

Deny rules do not stop a script that opens files by itself. For that, turn on the sandbox. Source 6সোর্স 6 The sandbox is a wall that the operating system puts around shell commands. It is off by default. By default, it still lets commands read most files, even ~/.ssh. Source 7সোর্স 7

Plan mode does not edit source files. Use bypassPermissions only in a container or a VM. Source 6সোর্স 6

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

Allow rule approval ছাড়া চালাতে দেয়, ask rule জিজ্ঞেস করে, deny rule আটকায়। আগে deny দেখা হয়, আর allow দিয়ে deny-তে ফাঁক তৈরি করা যায় না। Rule model নয়, Claude Code নিজে enforce করে। Source 6সোর্স 6

উদাহরণের settings.json tutorial-এর নিজের: .env ও secrets/ পড়া বন্ধ, src/-এ edit বন্ধ, git push-এর আগে প্রশ্ন, Playwright test চালানো allow। .claudeignore-এর কোনো প্রভাব নেই। Source 6সোর্স 6

সতর্ক থাকুন: Python বা Node script নিজে file খুললে deny rule আটকায় না, এর জন্য sandbox চালু করুন। Source 6সোর্স 6 Sandbox shell command-এর চারপাশে OS-এর boundary। এটি default-এ বন্ধ, /sandbox দিয়ে চালু করুন। Default-এ এটি ~/.ssh সহ বেশিরভাগ file পড়তে দেয়। File tool, MCP server আর hook এর বাইরে চলে। Source 7সোর্স 7

Plan mode source file edit করে না। bypassPermissions শুধু container বা VM-এ চালান। Source 6সোর্স 6

Hooks and untrusted content

A hook that protects application code

The hooks guide has a PreToolUse hook, registered in .claude/settings.json with the matcher Edit|Write. Its script exits with code 2 to block the edit, and Claude gets the reason as feedback. Source 8সোর্স 8 The script must be executable. Source 8সোর্স 8

The docs example protects .env, package-lock.json, and .git/. Source 8সোর্স 8 The tutorial suggests the same script with your application folders in the list, so that Claude writes tests and reports but does not "fix" the product. Claude can still change protected files with shell commands, so add an Edit deny rule for each path too. Source 8সোর্স 8 The Hooks page shows the format.

Prompt injection

Prompt injection is an attack that inserts text to override the assistant's instructions. Source 9সোর্স 9 The security docs list these safeguards and limits:

The tutorial's advice

In test work, much of what Claude reads is untrusted: a user bug report, a Jira comment, a page of the app under test, a log line. Treat it as data. Keep write tools behind an ask rule, and read every command before you approve it.

সহজ English

A PreToolUse hook can run a script before each edit. If the script exits with code 2, the edit is blocked, and Claude is told why. Source 8সোর্স 8 The tutorial suggests a list of your app folders, so Claude writes tests but does not change the product. Shell commands can still change files, so add Edit deny rules too. Source 8সোর্স 8

Prompt injection means inserted text that tries to override Claude's instructions. Source 9সোর্স 9 In Manual mode, risky actions need your approval. A -p session shows no trust prompts. Anthropic does not audit MCP servers. No system is fully safe. Source 9সোর্স 9

The tutorial's advice: bug reports, Jira comments, app pages, and logs are untrusted. Treat them as data.

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

PreToolUse hook প্রতিটি edit-এর আগে একটি script চালাতে পারে। Script code 2 দিয়ে exit করলে edit আটকে যায়, আর Claude কারণ জানতে পারে। Source 8সোর্স 8 Tutorial-এর পরামর্শ: তালিকায় app-এর folder দিন, যাতে Claude test লেখে কিন্তু product বদলায় না। Shell command দিয়ে তবুও file বদলানো যায়, তাই Edit deny rule-ও দিন। Source 8সোর্স 8

Prompt injection হলো text ঢুকিয়ে assistant-এর নির্দেশনা বদলানোর আক্রমণ। Source 9সোর্স 9 Manual mode-এ ঝুঁকির কাজে approval লাগে, তবে -p session-এ trust prompt আসে না। Anthropic MCP server audit করে না, আর কোনো system পুরোপুরি নিরাপদ নয়। Source 9সোর্স 9

Tutorial-এর পরামর্শ: bug report, Jira comment, app page আর log হলো untrusted, এগুলোকে data হিসেবে দেখুন।

Plugins and marketplaces

What a plugin is. A plugin is a directory of components, usually with a manifest at .claude-plugin/plugin.json. Source 10সোর্স 10 It bundles skills, hooks, subagents, and MCP servers. Its skills are namespaced, such as /my-plugin:review. Source 4সোর্স 4

Scopes. User scope: you, in every project. Project scope: everyone in the repo, through the committed .claude/settings.json; each collaborator still installs it. Local scope: you, in this repo only. Source 10সোর্স 10

Marketplaces. Install with the marketplace name after @, for example /plugin install commit-commands@claude-plugins-official. By default, Claude Code adds the official marketplace the first time you start an interactive terminal session. The Discover tab of /plugin lists the plugins. Source 11সোর্স 11 Anthropic does not review third-party marketplaces. Source 11সোর্স 11

Trust. A plugin can execute arbitrary code on your machine with your user privileges. Source 12সোর্স 12 Permission rules and the sandbox cover Claude's tool calls, not the code a plugin runs by itself. With auto-update on, the files you reviewed can change. Source 12সোর্স 12

Review a plugin before you install it: Source 12সোর্স 12

  1. In /plugin, select it and read the Will install section.
  2. Read its hooks/hooks.json, its .mcp.json, and every file in bin/.
  3. After the install, run claude plugin details <plugin name>.
  4. To remove it, run claude plugin uninstall <plugin> with the scope you used.

The Plugins page covers building and sharing one.

সহজ English

A plugin is a folder that packs skills, hooks, subagents, and MCP servers. Source 10সোর্স 10 Source 4সোর্স 4 Project scope shares it through .claude/settings.json, but each person still installs it. Source 10সোর্স 10

You install from a marketplace, with its name after @. Claude Code adds the official one by itself. Anthropic does not review third-party marketplaces. Source 11সোর্স 11

A plugin can run any code with your rights, and permission rules do not cover that code. So read its Will install list, its hooks, and its bin/ files first. Source 12সোর্স 12

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

Plugin হলো skill, hook, subagent আর MCP server-এর একটি package। Source 10সোর্স 10 Source 4সোর্স 4 Project scope-এ এটি .claude/settings.json দিয়ে শেয়ার হয়, তবে প্রত্যেককে নিজে install করতে হয়। Source 10সোর্স 10

@-এর পরে marketplace-এর নাম দিয়ে install করুন, যেমন /plugin install commit-commands@claude-plugins-official। Official marketplace Claude Code নিজেই যোগ করে। Third-party marketplace Anthropic review করে না। Source 11সোর্স 11

সতর্ক থাকুন: plugin আপনার privilege নিয়ে যেকোনো code চালাতে পারে, আর permission rule সেই code ঢাকে না। Install-এর আগে Will install, hooks/hooks.json, .mcp.json আর bin/ পড়ুন। Source 12সোর্স 12

Community tools: workflow, docs, and memory

Superpowers (obra/superpowers)

  • What it is. A software development methodology built on composable skills. Install it with /plugin install superpowers@claude-plugins-official. Source 13সোর্স 13
  • How it works. Its skills fire in order: brainstorming, git worktrees, writing plans, subagent-driven development, test-driven development, code review, and finishing the branch. The README calls them "Mandatory workflows, not suggestions." Source 13সোর্স 13
  • Tester use. systematic-debugging is a 4-phase root cause process. verification-before-completion checks that a fix really works. Source 13সোর্স 13
  • Cost or risk. The test-driven-development skill deletes code written before tests. The optional visual companion loads a logo from the authors' website; SUPERPOWERS_DISABLE_TELEMETRY turns that off. Source 13সোর্স 13

Context7 (upstash/context7)

  • What it is. It pulls up-to-date, version-specific library docs into the agent's context. Source 14সোর্স 14
  • Setup. npx ctx7 setup installs a CLI with a skill, or an MCP server. The CLI needs Node.js 22.13 or newer, and an API key is recommended. The MCP tools are resolve-library-id and query-docs. Source 14সোর্স 14
  • Tester use. Current API docs for Playwright or a test runner, when Claude suggests an old method.
  • Cost or risk. The README says that it cannot guarantee the accuracy, completeness, or security of the docs. Source 14সোর্স 14

CLAUDE.md management (Anthropic plugin)

  • What it is. An Anthropic plugin with two tools. The claude-md-improver skill audits CLAUDE.md files against the current codebase. /revise-claude-md captures what the session taught. Source 15সোর্স 15
  • Tester use. After Claude ran the wrong test command, capture the right one.
  • Cost or risk. /revise-claude-md writes what the session taught into CLAUDE.md, Source 15সোর্স 15 and a project CLAUDE.md holds team-shared instructions. Source 2সোর্স 2 The tutorial suggests that you review its diff like any other change.

সহজ English

Superpowers is a way of working built from skills. Source 13সোর্স 13 Its skills run in a fixed order: brainstorm, plan, build, test first, review. They are mandatory, not suggestions. The debugging skill is a 4-phase root cause process. But the test-first skill deletes code written before its tests. Source 13সোর্স 13

Context7 brings current library docs into Claude's context. Run npx ctx7 setup. It cannot promise that the docs are correct or safe. Source 14সোর্স 14

CLAUDE.md management is an Anthropic plugin. One skill checks CLAUDE.md against the code. /revise-claude-md saves what you learned in the session. Source 15সোর্স 15 Review its edits before you commit them.

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

Superpowers skill দিয়ে তৈরি একটি development পদ্ধতি, official marketplace থেকে install হয়। এর skill নির্দিষ্ট ক্রমে চলে, আর README বলে এগুলো বাধ্যতামূলক। systematic-debugging একটি ৪ ধাপের root cause process। সতর্ক থাকুন: test-driven-development skill test-এর আগে লেখা code মুছে দেয়। Source 13সোর্স 13

Context7 library-র হালনাগাদ docs Claude-এর context-এ আনে। npx ctx7 setup চালান। তবে docs-এর নির্ভুলতা বা নিরাপত্তার guarantee এটি দেয় না। Source 14সোর্স 14

CLAUDE.md management একটি Anthropic plugin। একটি skill CLAUDE.md-কে code-এর সাথে মিলিয়ে দেখে, আর /revise-claude-md session-এর শিক্ষা ধরে রাখে। Source 15সোর্স 15 Commit-এর আগে এর edit review করুন।

Community tools: tokens and code navigation

Caveman (JuliusBrussee/caveman)

  • What it is. A tool that makes the agent "say less and read less". npx @caveman-ai/cli@latest installs six parts, all on after install, and needs Node.js 22.13 or later. npx skills add JuliusBrussee/caveman -g installs only the short-answer skill. Source 16সোর্স 16
  • How it works. One part shrinks logs, JSON, CSV, and test output before the model reads them; the originals stay on disk. Security warnings and irreversible actions still get full sentences. Source 16সোর্স 16
  • Cost or risk. The CLI sends usage stats by default; caveman telemetry off stops them. caveman off <part> turns one part off. Source 16সোর্স 16 A shrunk log can drop the one line that a bug report needs, so the tutorial suggests turning input shrinking off during bug investigation.

graphify (safishamsi/graphify)

  • What it is. A Claude Code skill: /graphify reads your files and builds a knowledge graph in graphify-out/. Install it with uv tool install graphifyy && graphify install (or pipx install graphifyy; it needs Python 3.11.5 to 3.14). Source 17সোর্স 17
  • How it works. Code is parsed locally; docs and images go through Claude. Each edge is tagged EXTRACTED or INFERRED, so you know what was found and what was guessed. --update re-extracts changed files, and graphify hook install rebuilds after every commit. Source 17সোর্স 17
  • Cost or risk. A graph goes stale when the code changes. Source 17সোর্স 17 The tutorial suggests that you rerun it after the code changes, and that you never put an INFERRED edge in a bug report as a fact.

Serena (oraios/serena)

  • What it is. An MCP server with symbol-level code retrieval, editing, and refactoring tools, on language servers for over 40 languages. Source 18সোর্স 18
  • Setup. uv tool install -p 3.13 serena-agent, then serena init. The README says not to install it from an MCP or plugin marketplace. Source 18সোর্স 18
  • Cost or risk. Its editing tools can change code, and it keeps its own memory. Source 18সোর্স 18 Keep its edit tools behind deny or ask rules.

Code intelligence (LSP) plugins

Each plugin connects Claude Code to a language server for one language, from the official marketplace. The plugin does not include the server: for TypeScript, run npm install -g typescript-language-server typescript, then /plugin install typescript-lsp@claude-plugins-official. Source 19সোর্স 19 Claude then sees type errors after its edits and gets a read-only LSP tool. It works in terminal sessions, not cloud sessions. Source 19সোর্স 19

Compare the tools

ToolTypeA tester uses it forWatch out for
SuperpowersSkills pluginDebugging and verification disciplineMandatory process Source 13সোর্স 13
Context7CLI skill or MCPCurrent library docsNo accuracy guarantee Source 14সোর্স 14
CLAUDE.md managementAnthropic pluginKeeping CLAUDE.md currentEdits to a shared file Source 15সোর্স 15
CavemanCLI, skill, pluginShorter answers and outputsUsage stats on by default Source 16সোর্স 16
graphifySkillA knowledge graph of your filesStale graph, guessed edges Source 17সোর্স 17
SerenaMCP serverFinding symbols and referencesEdit tools, own memory Source 18সোর্স 18
LSP pluginsOfficial pluginsType errors in test codeTerminal only Source 19সোর্স 19

সহজ English

Caveman makes the agent say less and read less. It shrinks logs and test output before Claude reads them, and keeps the originals. Its CLI sends usage stats by default. Source 16সোর্স 16 The tutorial warns that a shrunk log can lose the line your bug report needs.

graphify reads your files and builds a knowledge graph. Source 17সোর্স 17 Each link is marked as found, guessed, or unclear. Source 17সোর্স 17 An old graph can mislead you.

Serena is an MCP server that finds and edits code by symbol. Its edit tools can change code. Source 18সোর্স 18

LSP plugins connect Claude to a language server. Then Claude sees type errors after each edit. Source 19সোর্স 19

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

Caveman agent-কে কম বলায় আর কম পড়ায়। এটি log ও test output ছোট করে, তবে মূল file রেখে দেয়। এর CLI default-এ usage stats পাঠায়। Source 16সোর্স 16 Tutorial-এর সতর্কতা: ছোট করা log থেকে bug report-এর দরকারি line হারাতে পারে।

graphify আপনার file থেকে graphify-out/-এ knowledge graph বানায়। প্রতিটি edge-এ EXTRACTED বা INFERRED tag থাকে। Source 17সোর্স 17 Update না করলে graph পুরনো হয়, আর INFERRED edge একটি অনুমান।

Serena একটি MCP server, যা symbol ধরে code খোঁজে ও edit করে। এর edit tool code বদলাতে পারে। Source 18সোর্স 18

LSP plugin Claude Code-কে language server-এর সাথে যুক্ত করে, ফলে প্রতিটি edit-এর পরে Claude type error দেখে। এটি শুধু terminal session-এ চলে। Source 19সোর্স 19

Practice

The tutorial's exercise

Build a minimal QA workspace in a scratch repository, or in a fresh clone of the dMoney practice app (Codebase Tour). Do not connect it to a shared database or a real Jira project.

  1. CLAUDE.md. Run /init. Source 2সোর্স 2 Keep the test command, the test folder, and the test-user rule. Run /context all and check the file under Memory files. Source 2সোর্স 2
  2. Deny rules. Create .claude/settings.json with the deny rules from "Permissions and the sandbox". Run /permissions and check each rule. Source 6সোর্স 6 Then type Read the .env file and tell me the database host. and expect the permission system to block the read.
  3. One rule. Save the Playwright rule as .claude/rules/tests.md. It loads when Claude reads or edits a matching spec. Source 2সোর্স 2 Ask: Open one spec in tests/ and list which of our test rules it breaks.
  4. One skill. Create .claude/skills/test-design/SKILL.md with your boundary-value checklist and disable-model-invocation: true. Source 4সোর্স 4 Run /test-design on one form field.
  5. A read-only reviewer. Create .claude/agents/qa-reviewer.md with tools: Read, Grep, Glob. Source 5সোর্স 5 Ask: Use the qa-reviewer subagent to check this draft bug report against the code.
  6. One plugin. Install the language server, then /plugin install typescript-lsp@claude-plugins-official. Source 19সোর্স 19 Read Will install first, and run claude plugin details typescript-lsp after. Source 12সোর্স 12
  7. Commit. Commit CLAUDE.md, .claude/settings.json, the rule, the skill, and the agent. Keep .claude/settings.local.json and CLAUDE.local.md out of git. Source 1সোর্স 1

Check the result. A fresh clone gets the conventions, the deny rules, the rule, the skill, and the reviewer. Each person still installs the plugin. Source 10সোর্স 10

সহজ English

This is the tutorial's exercise. Use a scratch repo, not a shared database or a real Jira project.

  1. Run /init, then /context all. Source 2সোর্স 2
  2. Add the deny rules and check them with /permissions. Source 6সোর্স 6 Ask Claude to read .env. It should be blocked.
  3. Save the Playwright rule in .claude/rules/. Source 2সোর্স 2
  4. Make a test-design skill with disable-model-invocation: true. Source 4সোর্স 4
  5. Make a reviewer subagent with only Read, Grep, Glob. Source 5সোর্স 5
  6. Install the typescript-lsp plugin, then run claude plugin details typescript-lsp. Source 19সোর্স 19 Source 12সোর্স 12
  7. Commit the shared files, not the local ones. Source 1সোর্স 1

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

এটি tutorial-এর অনুশীলন। Scratch repo ব্যবহার করুন, shared database বা আসল Jira project নয়।

  1. /init চালান, তারপর /context all। Source 2সোর্স 2
  2. Deny rule যোগ করে /permissions দিয়ে দেখুন। Source 6সোর্স 6 Claude-কে .env পড়তে বলুন, পড়া আটকে যাওয়ার কথা।
  3. Playwright rule .claude/rules/-এ save করুন। Source 2সোর্স 2
  4. disable-model-invocation: true সহ test-design skill বানান। Source 4সোর্স 4
  5. শুধু Read, Grep, Glob সহ reviewer subagent বানান। Source 5সোর্স 5
  6. typescript-lsp plugin install করে claude plugin details typescript-lsp চালান। Source 19সোর্স 19 Source 12সোর্স 12
  7. Shared file commit করুন, local file নয়। Source 1সোর্স 1

Common mistakes

  1. A guardrail written only in CLAUDE.md. An instruction is a request, not a guarantee. Source 4সোর্স 4 Fix: use a deny rule or a PreToolUse hook, which Claude Code enforces. Source 6সোর্স 6
  2. Trusting .claudeignore. It has no effect. Source 6সোর্স 6 Fix: move its entries into Read(...) deny rules.
  3. Thinking a Read deny rule stops every process. It does not cover a script that opens files itself. Source 6সোর্স 6 Fix: turn on the sandbox and add sandbox.filesystem.denyRead for credential paths. Source 7সোর্স 7
  4. A secret in a shared file. .mcp.json and .claude/settings.json are committed. Source 1সোর্স 1 Fix: use ${VAR} in .mcp.json, and keep personal overrides in .claude/settings.local.json. Source 3সোর্স 3
  5. Installing a plugin on trust. A plugin runs code with your privileges, outside your permission rules. Source 12সোর্স 12 Fix: read Will install, the hooks, and bin/ first.
  6. Evidence from a summary. A shrunk log or an INFERRED graph edge is not evidence. Source 16সোর্স 16 Source 17সোর্স 17 Fix (the tutorial's advice): attach the original output and the code line to each bug report.
  7. A CLAUDE.md that keeps growing. Long files reduce adherence. Source 2সোর্স 2 Fix: move folder-specific parts into path-scoped rules, and procedures into skills. Source 2সোর্স 2

সহজ English

  1. A safety rule only in CLAUDE.md is a request. Source 4সোর্স 4 Use a deny rule or a hook. Source 6সোর্স 6
  2. .claudeignore does nothing. Source 6সোর্স 6
  3. Deny rules do not stop scripts. Turn on the sandbox. Source 7সোর্স 7
  4. Do not put secrets in shared files. Use ${VAR}. Source 3সোর্স 3
  5. Check a plugin before you install it. Source 12সোর্স 12
  6. A shrunk log or a guessed graph link is not evidence. Source 16সোর্স 16 Source 17সোর্স 17
  7. Keep CLAUDE.md short. Source 2সোর্স 2

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

  1. শুধু CLAUDE.md-এ guardrail লেখা একটি অনুরোধ মাত্র। Source 4সোর্স 4 Deny rule বা hook ব্যবহার করুন। Source 6সোর্স 6
  2. .claudeignore-এর কোনো প্রভাব নেই। Source 6সোর্স 6
  3. Deny rule script আটকায় না, sandbox চালু করুন। Source 7সোর্স 7
  4. Shared file-এ secret রাখবেন না, ${VAR} ব্যবহার করুন। Source 3সোর্স 3
  5. Install-এর আগে plugin যাচাই করুন। Source 12সোর্স 12
  6. ছোট করা log বা INFERRED edge প্রমাণ নয়। Source 16সোর্স 16 Source 17সোর্স 17
  7. CLAUDE.md ছোট রাখুন। Source 2সোর্স 2

Key words

TermMeaning
.claude/ folderThe project folder for settings, rules, skills, agents, and commands that the team commits
settings.local.jsonYour personal overrides for one project, kept out of git
RuleAn instruction file in .claude/rules/; with paths, it loads only for matching files
SkillA saved prompt or procedure that you run with /name, or that Claude loads when it fits
SubagentA helper with its own context, prompt, and tools that returns a summary
Deny ruleA permission rule that blocks a tool call; Claude Code checks it before ask and allow rules
SandboxAn operating-system boundary around Claude's shell commands; off by default
HookA command that Claude Code runs on an event; a PreToolUse hook can block an edit
Prompt injectionInserted text that tries to override the assistant's instructions
PluginA package of skills, hooks, subagents, and MCP servers, installed from a marketplace
MarketplaceA catalog of plugins; the official one is claude-plugins-official
LSP pluginAn official plugin that connects Claude to a language server for type errors after edits
  1. [1]
    Explore the .claude directory

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

  2. [2]
    How Claude remembers your project

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

  3. [3]
    Connect Claude Code to tools via MCP

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

  4. [4]
    Extend Claude Code

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

  5. [5]
    Create custom subagents

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

  6. [6]
    Configure permissions

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

  7. [7]
    Configure the sandboxed Bash tool

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

  8. [8]
    Automate actions with hooks

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

  9. [9]
    Security

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

  10. [10]
    Plugins overview

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

  11. [11]
    Anthropic marketplaces

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

  12. [12]
    Plugin security and trust

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

  13. [13]
    Superpowers README

    obra (GitHub) · accessed 2026-11-15দেখা হয়েছে: 2026-11-15

  14. [14]
    Context7 README

    upstash (GitHub) · accessed 2026-11-15দেখা হয়েছে: 2026-11-15

  15. [15]
    CLAUDE.md Management Plugin README

    Anthropic (GitHub) · accessed 2026-11-15দেখা হয়েছে: 2026-11-15

  16. [16]
    Caveman README

    JuliusBrussee (GitHub) · accessed 2026-11-15দেখা হয়েছে: 2026-11-15

  17. [17]
    graphify README

    safishamsi (GitHub) · accessed 2026-11-15দেখা হয়েছে: 2026-11-15

  18. [18]
    Serena README

    oraios (GitHub) · accessed 2026-11-15দেখা হয়েছে: 2026-11-15

  19. [19]
    Code intelligence plugins

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