PRO MOVEপ্রো কৌশল
Subdirectory CLAUDE.md — Scoped Rulesসাব-ডিরেক্টরি CLAUDE.md — স্কোপড নিয়ম
When one module has fundamentally different conventions — use a subdirectory CLAUDE.md to override just the rules that differ, without polluting the root.যখন একটি মডিউলের মৌলিকভাবে ভিন্ন কনভেনশন থাকে — সাব-ডিরেক্টরি CLAUDE.md ব্যবহার করো শুধু ভিন্ন নিয়মগুলো ওভাররাইড করতে, root দূষিত না করে।
./CLAUDE.md
team defaultsটিম ডিফল্ট
+
./src/Payments/
CLAUDE.md
overridesওভাররাইড
=
Final context
Claude sees in
Payments modulePayments module-এ
Claude যে চূড়ান্ত
কনটেক্সট দেখে
## Payments Module — Additional Rules
- All payment amounts stored as DECIMAL(18,4) — never float or double
- Every payment service method must log to IAuditLogger (PCI requirement)
- Card data NEVER stored — redirect to Stripe; never log card numbers
Rafid used this to give the Payments module PCI-specific guardrails without making those rules apply to the rest of the codebase.Rafid এটা ব্যবহার করেছে Payments মডিউলে PCI-নির্দিষ্ট গার্ডরেইল দিতে, বাকি কোডবেসে সেই নিয়ম প্রয়োগ না করেই।