What to Fix in the Setup
The workspace of parts 18 and 20 to 23 found real bugs, but its Claude Code setup also had mistakes. This page lists them by feature. Each note gives what was wrong, the official rule that it breaks, and a fix.
14 min read14 মিনিটে পড়া যায় · 9 sections9টি সেকশন · 9 sources9টি সোর্স · updated Nov 2026আপডেট: Nov 2026
Where these facts come from
The workspace is the author's private practice workspace, in its state of 2026-10-07 (25 commits from 2026-09-19). The mistakes and numbers on this page come from its files. Emails, phone numbers, names, and connection data are replaced with placeholders such as <db-server>. Each Claude Code rule links to the official docs.
The notes at a glance
Some files in the two sub-projects were copied from an unrelated project. This page describes the mistakes in those files, but it does not show their text.
| Area | Note | Impact |
|---|---|---|
| Subagents | MCP tool names with the wrong server name | High |
| Subagents | Delegation to agents that the workspace does not have | Medium |
| Subagents | A Bash limit that only the prompt enforces | Medium |
| Subagents | A pinned full model ID | Low |
| Hooks and permissions | A hook that auto-allows destructive git commands | High |
| Hooks and permissions | A PostToolUse block used as a gate | Medium |
| Hooks and permissions | A hook with no filter, on every skill call | Medium |
| Hooks and permissions | Hooks in nested settings that do not load | Medium |
| Hooks and permissions | No permissions block | Low |
| MCP servers | A database server with write access, where the docs describe read-only use | High |
| MCP servers | Different names for one server | Medium |
| MCP servers | A password in args with an empty default | Medium |
| MCP servers | An unpinned server that no skill uses | Medium |
| Skills and commands | Two identical .claude/ copies, and duplicate skill names | High |
| Skills and commands | A legacy command file, and a command hidden by a skill | Medium |
| Skills and commands | Very large skill bodies | Low |
| Skills and commands | A review step that the skill does not call | Medium |
| Docs | A setup step that .gitignore undoes | Medium |
| Docs | A README that counts one fix too many | Low |
The impact column is the tutorial's own grading.
সহজ English
Some files in the two sub-projects of the workspace were copied from an unrelated project. This page describes the mistakes in those files. It does not show the text of the files.
The table lists the notes in five areas: subagents, hooks and permissions, MCP servers, skills and commands, and docs. Each note has an impact: High, Medium, or Low. The tutorial gave these grades itself.
Four notes have a High impact:
- MCP tool names in a subagent use the wrong server name.
- A hook automatically allows destructive git commands.
- A database server has write access, but the docs describe read-only use.
- The workspace has two identical
.claude/copies and duplicate skill names.
বাংলা ব্যাখ্যা
Workspace-এর দুটি sub-project-এর কিছু file একটি সম্পর্কহীন project থেকে copy করা হয়েছিল। এই পেজ সেই file-গুলোর ভুলগুলো বর্ণনা করে, কিন্তু file-গুলোর text দেখায় না।
Table-এ note-গুলো পাঁচটি ভাগে সাজানো: subagents, hooks ও permissions, MCP servers, skills ও commands, এবং docs। প্রতিটি note-এর একটি impact আছে: High, Medium অথবা Low। এই grade tutorial নিজেই দিয়েছে।
চারটি note-এর impact High:
- একটি subagent-এর MCP tool name-এ ভুল server name আছে।
- একটি hook destructive git command-গুলো নিজে থেকেই allow করে।
- একটি database server-এর write access আছে, অথচ docs read-only ব্যবহারের কথা বলে।
- Workspace-এ দুটি হুবহু একই
.claude/copy এবং duplicate skill name আছে।
Subagents
MCP tool names with the wrong server name
A copied review agent listed its Jira and database tools in tools with server names that are not the workspace names. The Jira name had an extra -mcp suffix, and the database name was a different one. So the names matched no tool.
- MCP tool names have the form
mcp__<server>__<tool>. Source 3সোর্স 3 - Claude Code usually refuses to launch a subagent when every entry in
toolsfails to match. Source 2সোর্স 2 This agent also hadReadandBash, so it started without the MCP tools. - A valid entry for a server that is not connected matches no tools in the session. Source 2সোর্স 2
Fix: use the server name from .mcp.json. mcp__<server>__* grants every tool of that server. Source 1সোর্স 1
tools: Read, Bash, mcp__jira__*, mcp__<db-server>__*If tools lists only built-in tools, the subagent cannot use MCP tools. Source 1সোর্স 1 Check the full list after each edit. See Subagents and MCP Servers.
Delegation to agents that the workspace does not have
A second copied agent told Claude to delegate work to three other agents. None of the three is defined in the workspace. Its tools list also has Task.
- In v2.1.63, the
Tasktool becameAgent.Task(...)references still work as aliases. Source 1সোর্স 1 - By default, a subagent can spawn its own subagents, up to three layers below the main conversation. Source 1সোর্স 1
So the old tool name is not the problem. The problem is that a fresh clone has no agent with those names. Fix: write Agent in new files, and delete each delegation rule whose target agent is not in .claude/agents/.
A Bash limit that only the prompt enforces
The test-executor-agent has Bash in tools. Its prompt and its execute-test skill say "only agent-browser for UI steps and curl for API steps". No permission rule enforces that limit.
Enforcement. Permission rules are enforced by Claude Code, not by the model. Instructions in a prompt or in CLAUDE.md do not change what Claude Code allows. Source 4সোর্স 4
Fix: add allow rules for the two tools in .claude/settings.json. Other Bash commands, except a built-in set of read-only commands, then need approval. In dontAsk mode, Claude Code denies them, and the allowed commands still run. Source 4সোর্স 4
{
"permissions": {
"allow": ["Bash(curl *)", "Bash(agent-browser *)"]
}
}A Bash rule is not a sandbox
A Bash rule matches the command text. It does not match the same program in another form, such as sh -c '…', so it is not a security boundary. For enforcement that does not depend on the text, use sandboxing. Source 4সোর্স 4
A pinned full model ID
The qa-reviewer-agent sets model: claude-opus-5-5. The model field accepts an alias such as opus, a full model ID, or inherit. Source 1সোর্স 1 Aliases update over time. A full model name pins one version. Source 8সোর্স 8
Fix: use model: opus if the reviewer must follow the newest Opus. Keep the full ID only if you want to pin the version, and write down why.
সহজ English
This section has four problems with subagents.
1. Wrong server names in a copied review agent.
The agent listed its Jira and database tools with the wrong server names. So the names matched no tool. A tool name looks like mcp__<server>__<tool>. Source 3সোর্স 3
Claude Code usually refuses to start a subagent when every entry in tools fails to match. Source 2সোর্স 2 This agent also had Read and Bash. So it started, but without the MCP tools.
Fix: use the server name from .mcp.json.
2. Delegation to agents that do not exist.
A second copied agent told Claude to hand work to three other agents. The workspace does not have them. The old Task name still works as another name for Agent. Source 1সোর্স 1 So the old name is not the problem.
The real problem is that a fresh clone has no agents with those names. Fix: delete each of these delegation rules.
3. A limit that only the prompt enforces.
The test-executor-agent has Bash. Its prompt says to use only agent-browser for UI steps and curl for API steps. No permission rule enforces this.
Claude Code enforces permission rules, not the model. A prompt does not change what Claude Code allows. Source 4সোর্স 4
Fix: add allow rules for the two tools in .claude/settings.json.
Be careful, though. A Bash rule matches the command text. It does not match the same program in another form, such as sh -c '…'. So it is not a security boundary. For enforcement that does not depend on the text, use sandboxing. Source 4সোর্স 4
4. A model pinned to one exact version.
The qa-reviewer-agent sets one full model ID. That pins one version. Source 8সোর্স 8 Fix: use model: opus if the reviewer must follow the newest Opus.
বাংলা ব্যাখ্যা
এই অংশে subagent-এর চারটি সমস্যা আছে।
একটি copy করা review agent তার tools-এ Jira ও database tool-গুলো ভুল server name দিয়ে লিখেছিল। Jira name-এ একটি বাড়তি -mcp suffix ছিল, আর database name ছিল অন্য একটি। তাই name-গুলো কোনো tool-এর সাথে মেলেনি। MCP tool name-এর form হলো mcp__<server>__<tool>। Source 3সোর্স 3 Agent-টির Read ও Bash ছিল, তাই এটি MCP tool ছাড়াই চালু হয়েছিল। Source 2সোর্স 2 সমাধান: .mcp.json-এর server name ব্যবহার করুন। mcp__<server>__* সেই server-এর সব tool দেয়। Source 1সোর্স 1
দ্বিতীয় একটি copy করা agent Claude-কে তিনটি agent-এর কাছে কাজ delegate করতে বলেছিল, কিন্তু workspace-এ সেই তিনটির কোনোটিই নেই। v2.1.63-এ Task tool-এর নাম Agent হয়েছে, তবে Task(...) এখনও alias হিসেবে কাজ করে। Source 1সোর্স 1 আসল সমস্যা হলো, fresh clone-এ ওই নামের কোনো agent নেই। সমাধান: নতুন file-এ Agent লিখুন, আর যে delegation rule-এর target agent .claude/agents/-এ নেই, সেটি মুছে দিন।
test-executor-agent-এর prompt Bash-কে agent-browser ও curl-এ সীমিত রাখে, কিন্তু কোনো permission rule এই সীমা enforce করে না। Permission rule Claude Code enforce করে, model নয়। Source 4সোর্স 4 সমাধান: .claude/settings.json-এ দুটি tool-এর জন্য allow rule যোগ করুন। মনে রাখবেন, Bash rule command-এর text মেলায়, তাই এটি security boundary নয়। Source 4সোর্স 4
qa-reviewer-agent একটি full model ID pin করে। Alias সময়ের সাথে update হয়, full model name একটি version pin করে। Source 8সোর্স 8 Reviewer-কে সবচেয়ে নতুন Opus অনুসরণ করাতে চাইলে model: opus ব্যবহার করুন।
Hooks and permissions
A hook that auto-allows destructive git commands
The copied settings had a PreToolUse hook for Bash. It asked before git add, git commit, and git push. It returned "allow" for every other git command, which includes git reset --hard, git clean, and git branch -D. It found the commands with regular expressions.
permissionDecision: "allow"skips the permission prompt. Source 3সোর্স 3PreToolUsehook decisions do not bypass permission rules. A matching deny rule blocks the call, also when a hook returned"allow". Source 4সোর্স 4
Fix: put the destructive commands in permissions.deny. Do not auto-allow a command group from a hook.
{
"permissions": {
"deny": [
"Bash(git push *)",
"Bash(git reset --hard *)",
"Bash(git clean *)",
"Bash(git branch -D *)"
]
}
}The Hooks page shows how to write a hook that only adds checks.
A PostToolUse block used as a gate
Aim. Copied PostToolUse hooks returned decision: "block" after an agent or a skill finished. The aim was to force a second review before Claude showed the result.
Timing. PostToolUse hooks fire after the tool ran. decision: "block" adds the reason next to the tool result, and Claude still sees the original output. Source 3সোর্স 3 So the block is a reminder, not a gate.
Length. The reason texts were also long: about 1,600 and 1,100 characters, and the longest hook text was about 2,000 characters. Claude Code caps the additionalContext of a hook at 10,000 characters. Source 3সোর্স 3 These texts are below the cap, but each matching call adds the reason to the context again.
Fix: put the review step in the skill itself (see A review step that the skill does not call). Keep hook text to one or two sentences.
সহজ English
This section has five problems with hooks and permissions.
A copied hook asked before git add, git commit, and git push. It returned "allow" for every other git command, also for git reset --hard, git clean, and git branch -D. An "allow" decision skips the permission prompt. Source 3সোর্স 3 Fix: put the destructive commands in permissions.deny. A matching deny rule blocks the call, also when a hook returned "allow". Source 4সোর্স 4
Some PostToolUse hooks tried to force a second review. But these hooks fire after the tool ran, and Claude still sees the original output. Source 3সোর্স 3 So the block is only a reminder. Fix: put the review step in the skill.
বাংলা ব্যাখ্যা
এই অংশে hooks ও permissions-এর পাঁচটি সমস্যা আছে।
Copy করা settings-এ Bash-এর জন্য একটি PreToolUse hook ছিল। এটি git add, git commit ও git push-এর আগে জিজ্ঞাসা করত, কিন্তু বাকি সব git command-এর জন্য "allow" ফেরত দিত, যার মধ্যে git reset --hard, git clean ও git branch -D-ও আছে। permissionDecision: "allow" permission prompt বাদ দেয়। Source 3সোর্স 3 সমাধান: destructive command-গুলো permissions.deny-এ রাখুন। Hook "allow" ফেরত দিলেও একটি মিলে যাওয়া deny rule call-টি block করে। Source 4সোর্স 4
কিছু PostToolUse hook একটি দ্বিতীয় review জোর করে চালাতে decision: "block" ফেরত দিত। কিন্তু এই hook tool চলার পরে fire করে, আর Claude তখনও আসল output দেখে। Source 3সোর্স 3 তাই এই block একটি reminder মাত্র, gate নয়। সমাধান: review step-টি skill-এর ভেতরেই রাখুন, আর hook text এক বা দুই বাক্যে রাখুন।
A hook with no filter, on every skill call
The root PreToolUse group with the matcher Skill has two handlers. The graphify script acts only for test-design and find-bug. The mcp_tool handler that activates the Serena project has no filter, so it runs for every skill call, with a 30 s timeout.
Filter field. The if field holds one permission rule. The hook runs only if the tool call matches it. Source 3সোর্স 3 Skill rules use Skill(name) or Skill(name *). Source 7সোর্স 7
Fix: give the mcp_tool handler an if rule, and add one handler for each skill that needs Serena. Skill(name) is an exact match. Skill(name *) is a prefix match with arguments. So test the rule with a call that has arguments and one that has none. This test is the tutorial's own advice.
{
"type": "mcp_tool",
"if": "Skill(find-bug *)",
"server": "<serena-server>",
"tool": "activate_project",
"input": { "project": "<project>" }
}Hooks in nested settings that do not load
The workspace is one git repository. The root .claude/settings.json has only the Skill hooks. The guardrail hooks are in the .claude/settings.json of each sub-project.
Loading. Claude Code reads the shared .claude/settings.json from the session's primary working directory. Source 5সোর্স 5 So a session that starts at the workspace root does not load the sub-project hooks. A session that starts in a sub-project does not load the root hooks.
Fix: keep one .claude/settings.json at the root, and start Claude Code there. See Settings & Permissions.
No permissions block
The root settings have no permissions key. So no command is denied, and only the permission prompt stops a destructive command.
Deny rules from any scope apply before allow rules. Source 4সোর্স 4 A Read deny rule such as Read(./.env) stops the file tools from reading that file. Source 4সোর্স 4 A bare file name such as Read(.env) matches at any depth. Source 4সোর্স 4
{
"permissions": {
"allow": ["Bash(npx playwright test *)", "Bash(k6 run *)"],
"deny": ["Read(.env)", "Bash(git push *)"]
}
}The allow list is the tutorial's example. Add the commands that your team runs every day.
সহজ English
One hook handler has no filter, so it runs for every skill call. Fix: give it an if rule. Source 3সোর্স 3
The guardrail hooks are in the settings of each sub-project. Claude Code reads .claude/settings.json from the primary working directory of the session. Source 5সোর্স 5 Fix: keep one settings file at the root, and start Claude Code there.
The root settings have no permissions block. So only the permission prompt stops a destructive command.
বাংলা ব্যাখ্যা
Skill matcher-এর mcp_tool handler-এর কোনো filter নেই, তাই এটি প্রতিটি skill call-এ 30 s timeout নিয়ে চলে। if field-এ একটি permission rule থাকে, আর tool call সেটির সাথে মিললেই hook চলে। Source 3সোর্স 3 সমাধান: handler-টিকে একটি if rule দিন।
Guardrail hook-গুলো প্রতিটি sub-project-এর .claude/settings.json-এ আছে। Claude Code session-এর primary working directory থেকে shared .claude/settings.json পড়ে। Source 5সোর্স 5 সমাধান: root-এ একটি .claude/settings.json রাখুন এবং সেখান থেকেই Claude Code শুরু করুন।
Root settings-এ কোনো permissions key নেই। তাই কোনো command deny করা নেই, আর শুধু permission prompt-ই destructive command থামায়। যেকোনো scope-এর deny rule allow rule-এর আগে প্রযোজ্য হয়। Source 4সোর্স 4
MCP servers
A database server with write access
The find-bug and pr-review skills describe read-only SQL use, and the README names a user-level database server as "Read-only". But the project server in .mcp.json connects as an admin database user. The server's own permission list enables create, update, delete, and execute. The README does not describe this project server.
Read-only user. The MCP docs say: use a read-only database user in the connection string, so the queries that Claude runs cannot change data. Source 6সোর্স 6
Fix: create a database user with only SELECT rights, and keep its URL in an environment variable. Then remove the write permissions from the server arguments.
"<db-server>": {
"type": "stdio",
"command": "npx",
"args": ["-y", "<db-mcp-package>@<version>",
"${DB_READONLY_URL}",
"list,read,utility"]
}Write access on a test database
A server with write access can change or delete test data, while the skills and the README describe read-only use. Fix the access first, then the text.
Different names for one server
.mcp.json names the database server one way. The README and the pr-review skill use another name, and the README calls that server a user-level server. The README tree also says that .mcp.json holds only playwright and jira.
Tool prefix. The tool prefix comes from the server name. Source 3সোর্স 3 If only the project server exists, the tool name in pr-review does not resolve. Fix: choose one name. Use it in .mcp.json, in each skill, and in each doc.
A password in args with an empty default
The connection URL is in args, and it reads the password as ${VAR:-}. That form has an empty default.
.mcp.jsonsupports${VAR}and${VAR:-default}incommand,args,env,url, andheaders. Source 6সোর্স 6- If a variable is not set and has no default, Claude Code shows a warning in
claude mcp listand in/mcp. Source 6সোর্স 6
So ${VAR:-} hides a missing password. The server then tries to connect with an empty one. Fix: write ${DB_PASSWORD} with no default.
As the tutorial's own advice: if the server can read the password from an environment variable, pass it in env and not in args. Other local users can often see the arguments of a running process.
An unpinned server that no skill uses
The Playwright server runs npx -y @playwright/mcp@latest. So each start can run a new version. No skill, agent, or command uses this server, and the execute-test skill forbids it.
Trust. Verify that you trust each server before you connect it. Source 6সোর্স 6 As the tutorial's own advice: remove a server that nothing uses. If you keep it, pin the version, as the workspace already does for the database server.
সহজ English
This section has four problems with MCP servers.
1. A database server that can write.
The skills and the README describe read-only database use. But the project server connects as an admin user. Its permission list allows create, update, delete, and execute.
The MCP docs give advice for this. Use a read-only database user, so the queries Claude runs cannot change data. Source 6সোর্স 6
Fix: create a user with only SELECT rights. Then remove the write permissions.
2. Different names for one server.
.mcp.json gives the database server one name. The README and the pr-review skill use another. The tool prefix comes from the server name. Source 3সোর্স 3 So the tool name in pr-review may not work.
Fix: pick one name and use it everywhere.
3. A hidden missing password.
The connection URL reads the password as ${VAR:-}. That form has an empty default. So it hides a missing password, and the server tries to connect with an empty one.
Fix: write ${DB_PASSWORD} with no default. Then Claude Code shows a warning if the variable is not set. Source 6সোর্স 6
4. A server that is not pinned and not used.
The Playwright server is not pinned to a version. So each start can run a new version. No skill, agent, or command uses it.
Verify that you trust each server before you connect it. Source 6সোর্স 6 As the tutorial's own advice: remove a server that nothing uses, or pin its version.
বাংলা ব্যাখ্যা
এই অংশে MCP server-এর চারটি সমস্যা আছে।
find-bug ও pr-review skill এবং README read-only SQL ব্যবহারের কথা বলে। কিন্তু .mcp.json-এর project server একটি admin database user হিসেবে connect করে, আর server-এর permission list-এ create, update, delete ও execute চালু আছে। MCP docs বলে: connection string-এ read-only database user ব্যবহার করুন, যাতে Claude-এর query data বদলাতে না পারে। Source 6সোর্স 6 সমাধান: শুধু SELECT অধিকারসহ একটি database user তৈরি করুন, এর URL একটি environment variable-এ রাখুন, এবং server argument থেকে write permission সরিয়ে দিন।
.mcp.json database server-কে এক নামে ডাকে, কিন্তু README ও pr-review skill আরেকটি নাম ব্যবহার করে। Tool prefix server name থেকে আসে। Source 3সোর্স 3 তাই শুধু project server থাকলে pr-review-এর tool name resolve হয় না। সমাধান: একটি নাম বেছে নিয়ে .mcp.json, প্রতিটি skill ও প্রতিটি doc-এ সেটিই ব্যবহার করুন।
Connection URL password-টি ${VAR:-} হিসেবে পড়ে। এই form-এর default খালি, তাই password না থাকলে তা লুকিয়ে যায় এবং server খালি password দিয়ে connect করার চেষ্টা করে। কোনো variable সেট না থাকলে এবং তার default না থাকলে Claude Code claude mcp list ও /mcp-এ warning দেখায়। Source 6সোর্স 6 সমাধান: default ছাড়া ${DB_PASSWORD} লিখুন।
Playwright server npx -y @playwright/mcp@latest চালায়, তাই প্রতিবার নতুন version চলতে পারে। কোনো skill, agent বা command এটি ব্যবহার করে না। Tutorial-এর নিজের পরামর্শ: অব্যবহৃত server সরিয়ে দিন, আর রাখলে version pin করুন।
Skills and commands
Two identical copies, and duplicate skill names
The .claude/ folders of the two sub-projects are identical copies: agents, skills, commands, and settings. Also, find-bug and test-design exist at the root and in each sub-project, with different content. The copies have frontmatter fields from another tool.
Nested skills. A nested skill loads when Claude first reads or edits a file in that sub-project. Source 7সোর্স 7 If it has the name of a root skill, both stay available. /find-bug runs the root skill, and the nested one gets a name such as /<sub-project>:find-bug. Source 7সোর্স 7 So Claude can see three find-bug skills with different rules.
Fix: keep one copy of each skill at the root. To share a setup with many projects, use a plugin. It packages skills, subagents, hooks, and MCP servers as one unit. Source 9সোর্স 9 See Plugins.
A legacy command file, and a command hidden by a skill
The workspace has .claude/commands/playwright.md. Each sub-project also has a command file and a skill with the same name.
- Custom commands are merged into skills. A command file and a skill both create
/<name>, and command files keep working. Source 7সোর্স 7 - Prefer a skill for new work, because a skill can have supporting files. Source 7সোর্স 7
- If a skill and a command file have the same name, the skill runs. Source 7সোর্স 7 So the sub-project command never runs.
Fix: move the command into a skill folder, and delete each command that a skill hides.
.claude/commands/playwright.md -> .claude/skills/playwright/SKILL.mdVery large skill bodies
Three copied skills have 508, 549, and 660 lines (about 39 KB, 31 KB, and 55 KB). The largest root skill, blast-radius, has 329 lines (about 20 KB).
Size limit. Keep SKILL.md under 500 lines, and move detailed reference material to separate files. Source 7সোর্স 7 A loaded skill stays in context across turns, so every line costs tokens again. Source 7সোর্স 7
Fix: keep the steps in SKILL.md. Move templates, examples, and long rule tables to supporting files, as pr-review does with reviewer-prompt.md. See Skills & Commands.
A review step that the skill does not call
Part 20 used the qa-reviewer-agent as a gate before each bug report. But the find-bug skill does not tell Claude to run that agent. The main session must remember it.
Fix: add the gate as the last step of the skill, for example: "Before you write the report, send the draft bugs to qa-reviewer-agent. Write the file only if the gate is PASS." This is the tutorial's own advice. See Bug Hunting with a Review Gate.
সহজ English
This section has four problems with skills and commands.
The .claude/ folders of the two sub-projects are identical copies. Also, find-bug and test-design exist at the root and in each sub-project, with different content. /find-bug runs the root skill, and a nested skill gets a name such as /<sub-project>:find-bug. Source 7সোর্স 7 So Claude can see three find-bug skills with different rules. Fix: keep one copy of each skill at the root.
Each sub-project has a command file and a skill with the same name. If the names are the same, the skill runs. Source 7সোর্স 7 So the command never runs. Fix: move the command into a skill folder, and delete each hidden command.
Three copied skills have 508, 549, and 660 lines. The docs say: keep SKILL.md under 500 lines. Source 7সোর্স 7 Fix: move templates, examples, and long rule tables to supporting files.
The find-bug skill does not tell Claude to run the qa-reviewer-agent gate. As the tutorial's own advice: add the gate as the last step of the skill.
বাংলা ব্যাখ্যা
এই অংশে skills ও commands-এর চারটি সমস্যা আছে।
দুটি sub-project-এর .claude/ folder হুবহু একই copy। তার ওপর find-bug ও test-design root-এ এবং প্রতিটি sub-project-এ আছে, আলাদা content নিয়ে। Claude ওই sub-project-এর কোনো file প্রথমবার পড়লে বা edit করলে nested skill load হয়। Source 7সোর্স 7 তখন /find-bug root skill চালায়, আর nested skill-টি /<sub-project>:find-bug-এর মতো একটি নাম পায়। Source 7সোর্স 7 তাই Claude আলাদা rule-সহ তিনটি find-bug skill দেখতে পারে। সমাধান: প্রতিটি skill-এর একটি copy root-এ রাখুন। অনেক project-এ একই setup share করতে plugin ব্যবহার করুন। Source 9সোর্স 9
Workspace-এ .claude/commands/playwright.md নামে একটি legacy command file আছে। প্রতিটি sub-project-এ একই নামের একটি command file ও একটি skill আছে। নাম একই হলে skill-টি চলে। Source 7সোর্স 7 তাই sub-project-এর command কখনো চলে না। সমাধান: command-টি একটি skill folder-এ সরান, আর যে command skill-এর আড়ালে পড়ে, সেটি মুছে দিন।
তিনটি copy করা skill-এ 508, 549 ও 660 line আছে। Docs বলে: SKILL.md 500 line-এর নিচে রাখুন। একটি load হওয়া skill প্রতিটি turn-এ context-এ থাকে, তাই প্রতিটি line বারবার token খরচ করে। Source 7সোর্স 7 সমাধান: step-গুলো SKILL.md-এ রাখুন, আর template, example ও লম্বা rule table supporting file-এ সরান।
find-bug skill Claude-কে qa-reviewer-agent চালাতে বলে না, তাই main session-কে এটি মনে রাখতে হয়। Tutorial-এর নিজের পরামর্শ: gate-টি skill-এর শেষ step হিসেবে যোগ করুন।
Docs
A setup step that .gitignore undoes
GRAPHIFY_SETUP.md says "Commit the graph". But .gitignore ignores graphify-out/, and git tracks no file in it. On a fresh clone, the reviewer agent and the hook have no graph. The hook then tells Claude that graphify was not queried, which is correct behavior.
Fix: either remove graphify-out/ from .gitignore and commit the graph, or change the setup doc to "build the graph after you clone".
A README that counts one fix too many
One README table says that PR #9 fixed the 5 failures of the PR #8 test run. PR #9 fixed 4 of them: TC-005 to TC-008. TC-014 waits for a business decision, as the README section "Known limitations" says. See Design, Execute, Fix, Retest.
Fix: make each count in the README agree with the report that it links to.
সহজ English
This section has two problems with the docs.
GRAPHIFY_SETUP.md says "Commit the graph". But .gitignore ignores graphify-out/, so git tracks no file in it. On a fresh clone, the reviewer agent and the hook have no graph. Fix: commit the graph, or change the setup doc to "build the graph after you clone".
A README table says that PR #9 fixed the 5 failures of the PR #8 test run. But PR #9 fixed 4 of them: TC-005 to TC-008. TC-014 waits for a business decision. Fix: make each count in the README agree with the report that it links to.
বাংলা ব্যাখ্যা
এই অংশে docs-এর দুটি সমস্যা আছে।
GRAPHIFY_SETUP.md বলে "Commit the graph"। কিন্তু .gitignore graphify-out/-কে ignore করে, তাই git এর কোনো file track করে না। Fresh clone-এ reviewer agent ও hook কোনো graph পায় না। তখন hook Claude-কে জানায় যে graphify query করা হয়নি, আর এটি সঠিক আচরণ। সমাধান: হয় .gitignore থেকে graphify-out/ সরিয়ে graph commit করুন, নয়তো setup doc বদলে লিখুন "build the graph after you clone"।
একটি README table বলে যে PR #9 PR #8-এর test run-এর 5টি failure fix করেছে। আসলে PR #9 এর মধ্যে 4টি fix করেছে: TC-005 থেকে TC-008। README-এর "Known limitations" অংশ অনুযায়ী TC-014 একটি business decision-এর অপেক্ষায় আছে। সমাধান: README-এর প্রতিটি সংখ্যা যে report-এর link দেয়, সেই report-এর সাথে মিলিয়ে নিন।
What worked
Doকরুন: A read-only reviewer
The qa-reviewer-agent lists Read, Grep, Glob, Skill, and read-only Serena tools. It has no Write, Edit, or Bash. The Serena tool names use the plugin form mcp__plugin_<plugin-name>_<server-name>__<tool-name>. Source 6সোর্স 6
Doকরুন: A gate before the file
The reviewer returns PASS or BLOCKED. The bug report is written only after PASS.
Doকরুন: A preloaded skill
The test-executor-agent preloads execute-test with skills:. A subagent gets the full content of a preloaded skill at startup. Source 7সোর্স 7
Doকরুন: Evidence rules
execute-test marks a case not executed with a "Not run:" reason. It does not guess a result.
The graphify hook is also a good pattern. It is deterministic, and it adds context only for two skills. It says so when the graph is missing, and it gives the build date of the graph and the date of the last commit.
সহজ English
Some parts of the setup worked well.
- The
qa-reviewer-agentcan only read. It has no Write, Edit, or Bash tool. - The reviewer returns PASS or BLOCKED. The bug report is written only after PASS.
- The
test-executor-agentpreloads theexecute-testskill. A subagent gets the full content of a preloaded skill when it starts. Source 7সোর্স 7 execute-testdoes not guess a result. It marks a casenot executedand gives a "Not run:" reason.
The graphify hook is also a good pattern. It always acts the same way, and it adds context for two skills only. It says so when the graph is missing. It also gives the build date of the graph and the date of the last commit.
বাংলা ব্যাখ্যা
Setup-এর কিছু অংশ ভালোভাবে কাজ করেছে।
qa-reviewer-agentশুধু পড়তে পারে। এর tool list-এ Read, Grep, Glob, Skill ও read-only Serena tool আছে, কিন্তু Write, Edit বা Bash নেই। Serena tool name-গুলো plugin formmcp__plugin_<plugin-name>_<server-name>__<tool-name>ব্যবহার করে। Source 6সোর্স 6- Reviewer PASS অথবা BLOCKED ফেরত দেয়। শুধু PASS-এর পরেই bug report লেখা হয়।
test-executor-agentskills:দিয়েexecute-testpreload করে। Preload করা skill-এর পুরো content subagent শুরুতেই পায়। Source 7সোর্স 7execute-testকোনো result অনুমান করে না। এটি case-টিকেnot executedmark করে এবং একটি "Not run:" কারণ দেয়।
Graphify hook-ও একটি ভালো pattern। এটি deterministic, আর শুধু দুটি skill-এর জন্য context যোগ করে। Graph না থাকলে এটি সেটি জানায়, এবং graph-এর build date ও শেষ commit-এর date দেয়।
Take-aways
The tutorial's own advice
- After you write a
toolslist, compare each MCP name with the server names in.mcp.json. - Enforce limits with permission rules or hooks, not with prompt text.
- Keep one
.claude/folder per repository, and start Claude Code where it is. - Give each MCP server the least access that works, and make the docs say the same.
- Put a required step, such as a review gate, inside the skill that needs it.
- Check each number in a README against the report that it links to.
সহজ English
The tutorial gives this advice:
- After you write a
toolslist, compare each MCP name with the server names in.mcp.json. - Use permission rules or hooks to enforce limits. Prompt text does not enforce them.
- Keep one
.claude/folder for each repository, and start Claude Code in that folder. - Give each MCP server the least access that works. Make the docs say the same.
- Put each required step, such as a review gate, in the skill that needs it.
- Compare each number in a README with the report that it links to.
বাংলা ব্যাখ্যা
এগুলো tutorial-এর নিজের পরামর্শ:
toolslist লেখার পর প্রতিটি MCP name.mcp.json-এর server name-এর সাথে মিলিয়ে দেখুন।- সীমা enforce করতে prompt text নয়, permission rule বা hook ব্যবহার করুন।
- প্রতিটি repository-তে একটি
.claude/folder রাখুন, এবং সেখান থেকেই Claude Code শুরু করুন। - প্রতিটি MCP server-কে কাজ চলার মতো সবচেয়ে কম access দিন, আর docs-এও একই কথা লিখুন।
- Review gate-এর মতো প্রয়োজনীয় step যে skill-এর দরকার, সেই skill-এর ভেতরেই রাখুন।
- README-এর প্রতিটি সংখ্যা যে report-এর link দেয়, সেই report-এর সাথে মিলিয়ে দেখুন।