Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs(claude): add code comments house style to root CLAUDE.md (#7559)
Saif Ur Rahmane1d065883575
diff --git a/CLAUDE.md b/CLAUDE.mdindex 643101bc7a..0b6337c9ce 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -64,6 +64,14 @@ It is a floor, not an exhaustive standard: user-understandable error messages anThat list describes what the guide currently covers; it is **not** a test for whether the guide applies. Do not skip it because a change does not look like one of those topics. Read it, then decide which items are relevant.+### Code Comments++**Default to no comments.** One earns its place only by explaining *why*: a non-obvious constraint, a workaround, an ordering dependency, or logic that looks wrong until you know the reason.++Never write: narration restating the next line; section headers inside a function (`// --- validation ---`); change history (`// Added retry logic`, `// NEW`); references to plans, tickets, PRs, or reviewers; docstrings restating the signature; commented-out code.++Before finishing, delete any comment you added that only says what the code says.+### Design System & VoiceThe v3 visual system (colors, typography, components, layout) and product voice/content tone are documented in [`DESIGN.md`](DESIGN.md). Read it before producing new UI or user-visible copy.