MCPcopy Create free account

hub / github.com/2025Emma/vibe-coding-cn / functions

Functions78 in github.com/2025Emma/vibe-coding-cn

↓ 7 callersMethod_validate_path
Validate and resolve memory paths to prevent directory traversal attacks. Args: path: The path to validate (must start w
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:38
↓ 7 callersMethod_validate_path
Validate and resolve memory paths to prevent directory traversal attacks. Args: path: The path to validate (must start w
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:37
↓ 4 callersFunctionrun_start_convert
Delegate to scripts/start_convert.py with appropriate flags.
libs/external/prompts-library/main.py:109
↓ 3 callersMethod_sanitize_filename
(self, text: str, max_length: int = 60)
libs/external/prompts-library/scripts/convert_local.py:100
↓ 3 callersMethodconvert
(self)
libs/external/prompts-library/scripts/convert_local.py:429
↓ 3 callersFunctionflush_buffer
()
libs/external/l10n-tool/translate.py:29
↓ 3 callersFunctionflush_buffer
()
libs/external/l10n-tool/bulk_translate.py:33
↓ 3 callersFunctionmap_code
(lang: str)
libs/external/l10n-tool/bulk_translate.py:98
↓ 2 callersFunctionhas_prompt_files
(directory: Path)
libs/external/prompts-library/main.py:84
↓ 2 callersFunctionload_module
(py_path: Path, module_name: str)
libs/external/prompts-library/scripts/start_convert.py:53
↓ 2 callersFunctionrun_docs_to_excel_for_dir
(prompts_dir: Path, scripts_dir: Path, out_root: Path)
libs/external/prompts-library/scripts/start_convert.py:89
↓ 2 callersFunctionrun_excel_to_docs_for_file
(excel_path: Path, prompt_library_dir: Path, out_root: Path)
libs/external/prompts-library/scripts/start_convert.py:63
↓ 2 callersMethodshould_exclude
判断路径是否应该被排除(支持 ! 取反,后匹配覆盖前匹配) 返回 True 表示应该排除(不备份)
libs/common/utils/backups/快速备份.py:111
↓ 2 callersFunctionts_from_path
(p: Path)
libs/external/prompts-library/scripts/start_convert.py:41
↓ 2 callersFunctionzip转pdf
将ZIP文件中的图片排序后转换为PDF Args: zip路径: ZIP文件的完整路径 Returns: 成功返回PDF路径,失败返回None
libs/external/XHS-image-to-PDF-conversion/pdf.py:17
↓ 2 callersFunction处理指定文件
处理指定的单个ZIP文件
libs/external/XHS-image-to-PDF-conversion/pdf.py:152
↓ 1 callersMethod_classify_rows
(self, df: pd.DataFrame)
libs/external/prompts-library/scripts/convert_local.py:137
↓ 1 callersMethod_create
Create or overwrite a file.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:175
↓ 1 callersMethod_create
Create or overwrite a file.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:174
↓ 1 callersMethod_delete
Delete a file or directory.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:276
↓ 1 callersMethod_delete
Delete a file or directory.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:275
↓ 1 callersMethod_ensure_dirs
(self)
libs/external/prompts-library/scripts/convert_local.py:213
↓ 1 callersMethod_extract_title
(self, contents: List[str])
libs/external/prompts-library/scripts/convert_local.py:110
↓ 1 callersMethod_generate_category_index
(self, sheet_name: str, category_dir: Path, prompts_info: Dict[int, Dict])
libs/external/prompts-library/scripts/convert_local.py:228
↓ 1 callersMethod_generate_docs
(self, sheets: Dict[str, pd.DataFrame])
libs/external/prompts-library/scripts/convert_local.py:331
↓ 1 callersMethod_generate_prompts_index_json
(self)
libs/external/prompts-library/scripts/convert_local.py:268
↓ 1 callersMethod_generate_readme
(self)
libs/external/prompts-library/scripts/convert_local.py:403
↓ 1 callersMethod_insert
Insert text at a specific line.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:241
↓ 1 callersMethod_insert
Insert text at a specific line.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:240
↓ 1 callersMethod_load_config
(self, config_path: Optional[Path])
libs/external/prompts-library/scripts/convert_local.py:94
↓ 1 callersMethod_match_rule
按规则匹配路径,返回是否命中
libs/common/utils/backups/快速备份.py:86
↓ 1 callersMethod_read_excel_sheets
(self)
libs/external/prompts-library/scripts/convert_local.py:119
↓ 1 callersMethod_rename
Rename or move a file/directory.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:313
↓ 1 callersMethod_rename
Rename or move a file/directory.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:312
↓ 1 callersMethod_str_replace
Replace text in a file.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:203
↓ 1 callersMethod_str_replace
Replace text in a file.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:202
↓ 1 callersMethod_view
View directory contents or file contents.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:120
↓ 1 callersMethod_view
View directory contents or file contents.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:119
↓ 1 callersFunctionbuild_candidates
(project_root: Path, excel_dir: Path, docs_dir: Path)
libs/external/prompts-library/main.py:126
↓ 1 callersFunctioncreate_backup
创建备份压缩包
libs/common/utils/backups/快速备份.py:131
↓ 1 callersMethodexecute
Execute a memory tool command. Args: **params: Command parameters from Claude's tool use Returns: D
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:77
↓ 1 callersFunctionextract_rc
(name: str)
libs/external/prompts-library/scripts/docs_to_excel.py:52
↓ 1 callersFunctionfind_xlsx_files
(input_excel_dir: Path)
libs/external/prompts-library/scripts/start_convert.py:110
↓ 1 callersFunctionget_repo_root
()
libs/external/prompts-library/main.py:74
↓ 1 callersFunctionget_translated_path
(chinese_path_str)
libs/external/l10n-tool/translate_files.py:122
↓ 1 callersFunctionhas_prompt_files
(input_docs_dir: Path)
libs/external/prompts-library/scripts/start_convert.py:116
↓ 1 callersFunctioniter_source_files
(src_root: Path)
libs/external/l10n-tool/bulk_translate.py:70
↓ 1 callersFunctionlist_doc_sets
(docs_dir: Path)
libs/external/prompts-library/main.py:95
↓ 1 callersFunctionlist_excel_files
(excel_dir: Path)
libs/external/prompts-library/main.py:78
↓ 1 callersFunctionlist_sheet_folders
(prompts_root: Path)
libs/external/prompts-library/scripts/docs_to_excel.py:40
↓ 1 callersMethodload_gitignore
加载并解析 .gitignore 文件
libs/common/utils/backups/快速备份.py:49
↓ 1 callersFunctionmain
()
libs/common/utils/backups/快速备份.py:194
↓ 1 callersFunctionmain
()
libs/external/l10n-tool/translate.py:60
↓ 1 callersFunctionmain
()
libs/external/l10n-tool/bulk_translate.py:76
↓ 1 callersFunctionmain
()
libs/external/prompts-library/main.py:231
↓ 1 callersFunctionmain
()
libs/external/prompts-library/scripts/start_convert.py:125
↓ 1 callersFunctionmain
()
libs/external/prompts-library/scripts/excel_to_docs.py:20
↓ 1 callersFunctionmain
()
libs/external/prompts-library/scripts/convert_local.py:507
↓ 1 callersFunctionmain
()
libs/external/prompts-library/scripts/docs_to_excel.py:61
↓ 1 callersFunctionparse_args
()
libs/external/prompts-library/main.py:222
↓ 1 callersFunctionparse_args
()
libs/external/prompts-library/scripts/convert_local.py:498
↓ 1 callersFunctionparse_args
()
libs/external/prompts-library/scripts/docs_to_excel.py:33
↓ 1 callersFunctionselect_interactively
(candidates: Sequence[Candidate])
libs/external/prompts-library/main.py:141
↓ 1 callersFunctiontranslate_blocks
逐段翻译,保持代码块原样,减少上下文丢失。
libs/external/l10n-tool/translate.py:22
↓ 1 callersFunctiontranslate_blocks
(text: str, translator: GoogleTranslator)
libs/external/l10n-tool/bulk_translate.py:27
↓ 1 callersFunctiontranslate_path_component
(component)
libs/external/l10n-tool/translate_files.py:10
↓ 1 callersFunction主函数
主函数:智能处理模式
libs/external/XHS-image-to-PDF-conversion/pdf.py:172
↓ 1 callersFunction批量处理当前目录
批量处理当前目录下所有ZIP文件
libs/external/XHS-image-to-PDF-conversion/pdf.py:118
↓ 1 callersFunction自然排序键
将文件名转换为自然排序键,支持数字排序
libs/external/XHS-image-to-PDF-conversion/pdf.py:13
Method__init__
Initialize the memory tool handler. Args: base_path: Root directory for all memory operations
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:27
Method__init__
Initialize the memory tool handler. Args: base_path: Root directory for all memory operations
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:26
Method__init__
(self, gitignore_path: Path, project_root: Path)
libs/common/utils/backups/快速备份.py:42
Method__init__
( self, project_root: Path, prompt_library_dir: Path, excel_path: Path,
libs/external/prompts-library/scripts/convert_local.py:53
Method_write_prompt_file
Write a prompt file containing ONLY the prompt text, nothing else.
libs/external/prompts-library/scripts/convert_local.py:218
Methodclear_all_memory
Clear all memory files (useful for testing or starting fresh). ⚠️ WARNING: This method is for demonstration and testing purposes onl
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:345
Methodclear_all_memory
Clear all memory files (useful for testing or starting fresh). ⚠️ WARNING: This method is for demonstration and testing purposes onl
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:344
Methodexecute
Execute a memory tool command. Args: **params: Command parameters from Claude's tool use Returns: D
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:76
Methodfmt
(x)
libs/external/prompts-library/scripts/convert_local.py:348