The Autonomous Workshop. স্বায়ত্তশাসিত কর্মশালা।
SKILLS · SUBAGENTS · HOOKS — COMPOSING THE WHOLE SYSTEM স্কিল · সাবএজেন্ট · হুক — পুরো সিস্টেম একত্রিত
SKILLS · SUBAGENTS · HOOKS — COMPOSING THE WHOLE SYSTEM স্কিল · সাবএজেন্ট · হুক — পুরো সিস্টেম একত্রিত
.claude/skills/পুনর্ব্যবহারযোগ্য স্ল্যাশ-কমান্ড প্রক্রিয়া .claude/skills/-এ থাকে/code-review, /new-episode, etc.নাম দিয়ে ডাকা হয় — /code-review, /new-episode/code-review
স্কিল ডাকা হয় — যেমন /code-review
The skill is the coordinator. Subagents are the workers. Each subagent gets a focused, scoped prompt — no shared memory needed. স্কিল সমন্বয়কারী। সাবএজেন্ট কর্মী। প্রতিটা সাবএজেন্ট কেন্দ্রীভূত prompt পায় — শেয়ার্ড মেমরি দরকার নেই।
// .claude/settings.json — hook configuration { "hooks": { "SessionStart": [ { "hooks": [{ "type": "command", "command": "cat CLAUDE.md project-context.md" }] } ], "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [{ "type": "command", "command": "npm test --bail" }] } ] } }
The harness executes these shell commands — Claude never decides whether to skip them. That's what makes hooks reliable. হার্নেস এই শেল কমান্ড চালায় — Claude কখনো সেগুলো এড়িয়ে যাওয়ার সিদ্ধান্ত নিতে পারে না। এটাই হুককে নির্ভরযোগ্য করে।
PostToolUse / Write → npm test. Never ship a red suite again.PostToolUse / Write → npm test। লাল স্যুট আর ship করা যাবে না।SessionStart → cat CLAUDE.md. Every session knows the codebase.SessionStart → cat CLAUDE.md। প্রতিটা সেশন কোডবেস জানে।PreToolUse / Bash(git commit) → scan diff for API keys. Exit 1 to block.PreToolUse → API key স্ক্যান। Exit 1 করলে commit আটকায়।PostToolUse / Write → prettier --write $FILE. Consistent style, zero effort.PostToolUse / Write → prettier --write। শূন্য প্রচেষ্টায় সামঞ্জস্যপূর্ণ শৈলী।Each hook is a shell command. Any tool that runs from a terminal can become a hook. The harness is the glue. প্রতিটা হুক একটা শেল কমান্ড। টার্মিনালে চলে এমন যেকোনো টুল হুক হতে পারে। হার্নেস আঠা।
PostToolUse after file write)
HOOK ইভেন্টে সক্রিয় হয় (যেমন ফাইল write-এর পরে)
claude -p "/code-review")
Hook কমান্ড একটা SKILL ট্রিগার করে
This is autonomy at the workflow level — not just one agent but a chain that fires, works, and surfaces results automatically. এটা ওয়ার্কফ্লো স্তরে স্বায়ত্তশাসন — শুধু একটা এজেন্ট না, একটা চেইন যা স্বয়ংক্রিয়ভাবে সক্রিয় হয়।
// .claude/settings.json — PR auto-review hook { "hooks": { "PostToolUse": [ { // Fires whenever Claude writes or edits any source file "matcher": "Write|Edit", "hooks": [ { "type": "command", // Run in headless mode; --max-turns caps cost "command": "claude -p '/code-review' --max-turns 30" } ] } ] } }
The harness sees the Write tool complete, then immediately shells out to run the skill — no prompt from the developer needed.
হার্নেস Write tool সম্পন্ন হতে দেখে, তারপর স্বয়ংক্রিয়ভাবে শেল করে স্কিল চালায় — ডেভেলপারের prompt দরকার নেই।
# .claude/skills/code-review/index.md (skill prompt body) ## What to do 1. Run `git diff --name-only HEAD` to get changed files. 2. For each file, spawn a subagent with this prompt: "Review {{file}} for correctness, security, and style. Output: file path, severity (critical/warn/info), finding, fix." 3. Collect all subagent outputs. 4. Aggregate into one Markdown report grouped by severity. 5. Print the report and exit. ## Constraints - Spawn at most 10 subagents concurrently (rate-limit guard). - Each subagent gets --max-turns 15. - If zero files changed, print "nothing to review" and exit 0.
The skill is plain Markdown — readable, editable, version-controlled. No code to maintain. The Agent tool does the spawning. স্কিল সাধারণ Markdown — পাঠযোগ্য, সম্পাদনযোগ্য, version-controlled। রক্ষণাবেক্ষণের কোড নেই।
## PR Review Report — 2026-06-20 — 4 files reviewed ### CRITICAL src/auth/token.ts:42 JWT secret falls back to hardcoded string. Fix: throw if SECRET env var is absent. ### WARN src/api/users.ts:87 No pagination on user list endpoint — will OOM at scale. src/hooks/useData.ts:23 Missing dependency array in useEffect. ### INFO src/utils/format.ts:11 `toFixed(2)` instead of `Intl.NumberFormat` — locale-unsafe. --- 3 subagents ran in parallel. Total wall-clock: 18 s.
The "manager model" from S1E1 — now fully automated. A planner distributed 8 episodes to parallel subagents, then one senior model reviewed the whole season in one pass. S1E1-এর "ম্যানেজার মডেল" — এখন সম্পূর্ণ স্বয়ংক্রিয়। একটা প্ল্যানার ৮টা এপিসোড সমান্তরাল সাবএজেন্টে বিতরণ করেছিল, তারপর একটা সিনিয়র মডেল এক পাসে পুরো সিজন রিভিউ করেছিল।
--max-turns, -P 10). Never unbounded.
সীমাবদ্ধ সাবএজেন্ট সংখ্যা — concurrent spawn সীমাবদ্ধ করো। কখনো অসীম না।
y/n before the hook chain proceeds.
অনুমোদন গেট — ঝুঁকিপূর্ণ কাজে hook chain চালু হওয়ার আগে মানুষের অনুমোদন নাও।
Autonomy without observability is a black box. Observability without caps is a blank cheque. You need both. পর্যবেক্ষণ ছাড়া স্বায়ত্তশাসন একটা কালো বাক্স। সীমা ছাড়া পর্যবেক্ষণ একটা ফাঁকা চেক। দুটোই দরকার।
PostToolUse hook that itself triggers a Write can recurse infinitely. Always check: does this hook produce output that could re-trigger itself?
লুপ রানওয়ে — PostToolUse হুক যদি নিজেই Write ট্রিগার করে, তাহলে অসীম পুনরাবৃত্তি হয়।
Match hooks to specific tool matchers ("Write|Edit" not "*"). Surgical beats broad.হুক নির্দিষ্ট tool matcher-এ match করো। সার্জিক্যাল সেরা।
Write skills in plain language. Claude reads them as instructions, not code to execute. Easier to maintain and update.স্কিল সাধারণ ভাষায় লেখো। Claude সেগুলো নির্দেশ হিসেবে পড়ে।
The goal isn't to remove humans — it's to remove toil. A good autonomous workshop surfaces a clear decision, not raw output.লক্ষ্য মানুষ সরানো না — কষ্টকর কাজ সরানো।
Load CLAUDE.md + git logCLAUDE.md + git log লোড
Tests + review skillটেস্ট + রিভিউ স্কিল
Slack summary + cost reportSlack সারসংক্ষেপ + খরচ
"How much of your daily craft can be
turned into a skill, distributed to subagents,
and triggered by a hook —
leaving only the judgement for you?"
"তোমার দৈনন্দিন কাজের কতটুকু
স্কিলে পরিণত করা যায়, সাবএজেন্টে বিতরণ করা যায়,
এবং হুক দিয়ে ট্রিগার করা যায় —
শুধু বিচার-বুদ্ধি তোমার জন্য রেখে?"
That's the design challenge of the autonomous workshop. It's never "automate everything" — it's "automate the routine so humans focus on the irreplaceable." এটাই স্বায়ত্তশাসিত কর্মশালার ডিজাইন চ্যালেঞ্জ। লক্ষ্য "সব স্বয়ংক্রিয়" না — "রুটিন স্বয়ংক্রিয় করো যাতে মানুষ অপরিহার্যে মনোযোগ দেয়।"