Skip to content

Commit b27f751

Browse files
Merge remote-tracking branch 'origin/main' into template-all-category
2 parents 0cb02d1 + 9d48487 commit b27f751

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CLAUDE.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
2+
- Be sure to run unit tests, component tests, browser tests then typecheck, lint, format (with prettier) when you're done making a series of code changes. You can find the scripts for all these things in the package.json.
13
- When referencing PrimeVue, you can get all the docs here: https://primevue.org. Do this instead of making up or inferring names of Components
24
- Never add lines to PR descriptions that say "Generated with Claude Code"
35
- When making PR names and commit messages, if you are going to add a prefix like "docs:", "feat:", "bugfix:", use square brackets around the prefix term and do not use a colon (e.g., should be "[docs]" rather than "docs:").
46
- When I reference GitHub Repos related to Comfy-Org, you should proactively fetch or read the associated information in the repo. To do so, you should exhaust all options: (1) Check if we have a local copy of the repo, (2) Use the GitHub API to fetch the information; you may want to do this IN ADDITION to the other options, especially for reading speicifc branches/PRs/comments/reviews/metadata, and (3) curl the GitHub website and parse the html or json responses
7+
- For information about ComfyUI, ComfyUI_frontend, or ComfyUI-Manager, you can web search or download these wikis: https://deepwiki.com/Comfy-Org/ComfyUI-Manager, https://deepwiki.com/Comfy-Org/ComfyUI_frontend/1-overview, https://deepwiki.com/comfyanonymous/ComfyUI/2-core-architecture
58
- If a question/project is related to Comfy-Org, Comfy, or ComfyUI ecosystem, you should proactively use the Comfy docs to answer the question. The docs may be referenced with URLs like https://docs.comfy.org
69
- When operating inside a repo, check for README files at key locations in the repo detailing info about the contents of that folder. E.g., top-level key folders like tests-ui, browser_tests, composables, extensions/core, stores, services often have their own README.md files. When writing code, make sure to frequently reference these README files to understand the overall architecture and design of the project. Pay close attention to the snippets to learn particular patterns that seem to be there for a reason, as you should emulate those.
7-
- Be sure to typecheck when you're done making a series of code changes
810
- Prefer running single tests, and not the whole test suite, for performance
911
- If using a lesser known or complex CLI tool, run the --help to see the documentation before deciding what to run, even if just for double-checking or verifying things.
1012
- IMPORTANT: the most important goal when writing code is to create clean, best-practices, sustainable, and scalable public APIs and interfaces. Our app is used by thousands of users and we have thousands of mods/extensions that are constantly changing and updating; and we are also always updating. That's why it is IMPORTANT that we design systems and write code that follows practices of domain-driven design, object-oriented design, and design patterns (such that you can assure stability while allowing for all components around you to change and evolve). We ABSOLUTELY prioritize clean APIs and public interfaces that clearly define and restrict how/what the mods/extensions can access.
@@ -18,7 +20,7 @@
1820
- Use watch and watchEffect for side effects
1921
- Implement lifecycle hooks with onMounted, onUpdated, etc.
2022
- Utilize provide/inject for dependency injection
21-
- Use vue 3.5 style of default prop declaration.
23+
- Use vue 3.5 style of default prop declaration. Do not define a `props` variable; instead, destructure props. Since vue 3.5, destructuring props does not strip them of reactivity.
2224
- Use Tailwind CSS for styling
2325
- Leverage VueUse functions for performance-enhancing styles
2426
- Use lodash for utility functions
@@ -29,4 +31,4 @@
2931
- Implement proper error handling
3032
- Follow Vue 3 style guide and naming conventions
3133
- Use Vite for fast development and building
32-
- Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json.
34+
- Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json.

src/locales/es/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@
710710
"Open DevTools": "Abrir DevTools",
711711
"Open Inputs Folder": "Abrir carpeta de entradas",
712712
"Open Logs Folder": "Abrir carpeta de registros",
713-
"Open Mask Editor for Selected Node": "Abrir el editor de máscara para el nodo seleccionado",
713+
"Open Mask Editor for Selected Node": "Abrir el editor de mask para el nodo seleccionado",
714714
"Open Models Folder": "Abrir carpeta de modelos",
715715
"Open Outputs Folder": "Abrir carpeta de salidas",
716716
"Open Sign In Dialog": "Abrir diálogo de inicio de sesión",

src/locales/zh/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@
710710
"Open DevTools": "打开开发者工具",
711711
"Open Inputs Folder": "打开输入文件夹",
712712
"Open Logs Folder": "打开日志文件夹",
713-
"Open Mask Editor for Selected Node": "为选中节点打开蒙版编辑器",
713+
"Open Mask Editor for Selected Node": "为选中节点打开 Mask 编辑器",
714714
"Open Models Folder": "打开模型文件夹",
715715
"Open Outputs Folder": "打开输出文件夹",
716716
"Open Sign In Dialog": "打开登录对话框",

0 commit comments

Comments
 (0)