Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/2025Emma/vibe-coding-cn
/ functions
Functions
78 in github.com/2025Emma/vibe-coding-cn
⨍
Functions
78
◇
Types & classes
6
↓ 7 callers
Method
_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 callers
Method
_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 callers
Function
run_start_convert
Delegate to scripts/start_convert.py with appropriate flags.
libs/external/prompts-library/main.py:109
↓ 3 callers
Method
_sanitize_filename
(self, text: str, max_length: int = 60)
libs/external/prompts-library/scripts/convert_local.py:100
↓ 3 callers
Method
convert
(self)
libs/external/prompts-library/scripts/convert_local.py:429
↓ 3 callers
Function
flush_buffer
()
libs/external/l10n-tool/translate.py:29
↓ 3 callers
Function
flush_buffer
()
libs/external/l10n-tool/bulk_translate.py:33
↓ 3 callers
Function
map_code
(lang: str)
libs/external/l10n-tool/bulk_translate.py:98
↓ 2 callers
Function
has_prompt_files
(directory: Path)
libs/external/prompts-library/main.py:84
↓ 2 callers
Function
load_module
(py_path: Path, module_name: str)
libs/external/prompts-library/scripts/start_convert.py:53
↓ 2 callers
Function
run_docs_to_excel_for_dir
(prompts_dir: Path, scripts_dir: Path, out_root: Path)
libs/external/prompts-library/scripts/start_convert.py:89
↓ 2 callers
Function
run_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 callers
Method
should_exclude
判断路径是否应该被排除(支持 ! 取反,后匹配覆盖前匹配) 返回 True 表示应该排除(不备份)
libs/common/utils/backups/快速备份.py:111
↓ 2 callers
Function
ts_from_path
(p: Path)
libs/external/prompts-library/scripts/start_convert.py:41
↓ 2 callers
Function
zip转pdf
将ZIP文件中的图片排序后转换为PDF Args: zip路径: ZIP文件的完整路径 Returns: 成功返回PDF路径,失败返回None
libs/external/XHS-image-to-PDF-conversion/pdf.py:17
↓ 2 callers
Function
处理指定文件
处理指定的单个ZIP文件
libs/external/XHS-image-to-PDF-conversion/pdf.py:152
↓ 1 callers
Method
_classify_rows
(self, df: pd.DataFrame)
libs/external/prompts-library/scripts/convert_local.py:137
↓ 1 callers
Method
_create
Create or overwrite a file.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:175
↓ 1 callers
Method
_create
Create or overwrite a file.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:174
↓ 1 callers
Method
_delete
Delete a file or directory.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:276
↓ 1 callers
Method
_delete
Delete a file or directory.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:275
↓ 1 callers
Method
_ensure_dirs
(self)
libs/external/prompts-library/scripts/convert_local.py:213
↓ 1 callers
Method
_extract_title
(self, contents: List[str])
libs/external/prompts-library/scripts/convert_local.py:110
↓ 1 callers
Method
_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 callers
Method
_generate_docs
(self, sheets: Dict[str, pd.DataFrame])
libs/external/prompts-library/scripts/convert_local.py:331
↓ 1 callers
Method
_generate_prompts_index_json
(self)
libs/external/prompts-library/scripts/convert_local.py:268
↓ 1 callers
Method
_generate_readme
(self)
libs/external/prompts-library/scripts/convert_local.py:403
↓ 1 callers
Method
_insert
Insert text at a specific line.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:241
↓ 1 callers
Method
_insert
Insert text at a specific line.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:240
↓ 1 callers
Method
_load_config
(self, config_path: Optional[Path])
libs/external/prompts-library/scripts/convert_local.py:94
↓ 1 callers
Method
_match_rule
按规则匹配路径,返回是否命中
libs/common/utils/backups/快速备份.py:86
↓ 1 callers
Method
_read_excel_sheets
(self)
libs/external/prompts-library/scripts/convert_local.py:119
↓ 1 callers
Method
_rename
Rename or move a file/directory.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:313
↓ 1 callers
Method
_rename
Rename or move a file/directory.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:312
↓ 1 callers
Method
_str_replace
Replace text in a file.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:203
↓ 1 callers
Method
_str_replace
Replace text in a file.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:202
↓ 1 callers
Method
_view
View directory contents or file contents.
i18n/en/skills/claude-cookbooks/scripts/memory_tool.py:120
↓ 1 callers
Method
_view
View directory contents or file contents.
i18n/zh/skills/claude-cookbooks/scripts/memory_tool.py:119
↓ 1 callers
Function
build_candidates
(project_root: Path, excel_dir: Path, docs_dir: Path)
libs/external/prompts-library/main.py:126
↓ 1 callers
Function
create_backup
创建备份压缩包
libs/common/utils/backups/快速备份.py:131
↓ 1 callers
Method
execute
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 callers
Function
extract_rc
(name: str)
libs/external/prompts-library/scripts/docs_to_excel.py:52
↓ 1 callers
Function
find_xlsx_files
(input_excel_dir: Path)
libs/external/prompts-library/scripts/start_convert.py:110
↓ 1 callers
Function
get_repo_root
()
libs/external/prompts-library/main.py:74
↓ 1 callers
Function
get_translated_path
(chinese_path_str)
libs/external/l10n-tool/translate_files.py:122
↓ 1 callers
Function
has_prompt_files
(input_docs_dir: Path)
libs/external/prompts-library/scripts/start_convert.py:116
↓ 1 callers
Function
iter_source_files
(src_root: Path)
libs/external/l10n-tool/bulk_translate.py:70
↓ 1 callers
Function
list_doc_sets
(docs_dir: Path)
libs/external/prompts-library/main.py:95
↓ 1 callers
Function
list_excel_files
(excel_dir: Path)
libs/external/prompts-library/main.py:78
↓ 1 callers
Function
list_sheet_folders
(prompts_root: Path)
libs/external/prompts-library/scripts/docs_to_excel.py:40
↓ 1 callers
Method
load_gitignore
加载并解析 .gitignore 文件
libs/common/utils/backups/快速备份.py:49
↓ 1 callers
Function
main
()
libs/common/utils/backups/快速备份.py:194
↓ 1 callers
Function
main
()
libs/external/l10n-tool/translate.py:60
↓ 1 callers
Function
main
()
libs/external/l10n-tool/bulk_translate.py:76
↓ 1 callers
Function
main
()
libs/external/prompts-library/main.py:231
↓ 1 callers
Function
main
()
libs/external/prompts-library/scripts/start_convert.py:125
↓ 1 callers
Function
main
()
libs/external/prompts-library/scripts/excel_to_docs.py:20
↓ 1 callers
Function
main
()
libs/external/prompts-library/scripts/convert_local.py:507
↓ 1 callers
Function
main
()
libs/external/prompts-library/scripts/docs_to_excel.py:61
↓ 1 callers
Function
parse_args
()
libs/external/prompts-library/main.py:222
↓ 1 callers
Function
parse_args
()
libs/external/prompts-library/scripts/convert_local.py:498
↓ 1 callers
Function
parse_args
()
libs/external/prompts-library/scripts/docs_to_excel.py:33
↓ 1 callers
Function
select_interactively
(candidates: Sequence[Candidate])
libs/external/prompts-library/main.py:141
↓ 1 callers
Function
translate_blocks
逐段翻译,保持代码块原样,减少上下文丢失。
libs/external/l10n-tool/translate.py:22
↓ 1 callers
Function
translate_blocks
(text: str, translator: GoogleTranslator)
libs/external/l10n-tool/bulk_translate.py:27
↓ 1 callers
Function
translate_path_component
(component)
libs/external/l10n-tool/translate_files.py:10
↓ 1 callers
Function
主函数
主函数:智能处理模式
libs/external/XHS-image-to-PDF-conversion/pdf.py:172
↓ 1 callers
Function
批量处理当前目录
批量处理当前目录下所有ZIP文件
libs/external/XHS-image-to-PDF-conversion/pdf.py:118
↓ 1 callers
Function
自然排序键
将文件名转换为自然排序键,支持数字排序
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
Method
clear_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
Method
clear_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
Method
execute
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
Method
fmt
(x)
libs/external/prompts-library/scripts/convert_local.py:348