773 B
773 B
-
Use
pnpminstead ofnpm. -
Use
uvfor Python environments and checks. -
Read official ComfyUI docs before ComfyUI-specific work.
-
Follow ComfyUI custom node constraints from the official docs.
- Export
WEB_DIRECTORYwhen shipping frontend extensions. - Keep custom
PromptServerroutes as module-level functions, not class methods. - Keep
[tool.comfy].includes = ["js"]because.gitignoreexcludes built frontend files. - Do not use
eval/exec. - Do not install Python packages at runtime with subprocess/pip; declare dependencies in project metadata.
- Export
-
CI must run frontend build/typecheck and backend lint/tests before publish.