MCPcopy Create free account

hub / github.com/CloudAI-X/claude-workflow-v2 / functions

Functions40 in github.com/CloudAI-X/claude-workflow-v2

↓ 6 callersFunctionrun_command
Run a command and return (success, output).
hooks/verify-on-complete.py:26
↓ 5 callersFunctionrun_command
Run a command and return (success, output).
hooks/suggest-doc-updates.py:14
↓ 4 callersFunctioncountFiles
* Count files with a specific extension in a directory
packages/add-skill/lib/installer.js:191
↓ 2 callersFunctiondetect_package_manager
Detect which package manager is used in the project.
hooks/verify-on-complete.py:41
↓ 2 callersFunctionmatches_pattern
Check if file matches any protected pattern.
hooks/protect-files.py:50
↓ 2 callersFunctionrun_command
Run a command and return (success, output).
hooks/track-metrics.py:15
↓ 1 callersFunctioncheck_content
(content)
hooks/pre-commit-check.py:50
↓ 1 callersFunctioncheck_environment
Check for required tools and configuration.
hooks/validate-environment.py:12
↓ 1 callersFunctioncheck_for_secrets
Check content for potential secrets.
hooks/security-check.py:46
↓ 1 callersFunctioncheck_git_status
Check if there are uncommitted changes.
hooks/verify-on-complete.py:114
↓ 1 callersFunctioncountDirs
* Count subdirectories in a directory
packages/add-skill/lib/installer.js:203
↓ 1 callersFunctioncount_changed_files
Count the total number of changed files.
hooks/suggest-doc-updates.py:155
↓ 1 callersFunctiondetect_config_changes
Detect modified configuration files.
hooks/suggest-doc-updates.py:116
↓ 1 callersFunctiondetect_deleted_files
Detect deleted files.
hooks/suggest-doc-updates.py:104
↓ 1 callersFunctiondetect_new_directories
Detect new directories created (directories with only new files).
hooks/suggest-doc-updates.py:63
↓ 1 callersFunctiondetect_new_file_types
Detect new file extensions introduced by the changes.
hooks/suggest-doc-updates.py:78
↓ 1 callersFunctionfind_tsconfig
(file_path)
hooks/typescript-check.py:16
↓ 1 callersFunctionget_changed_files
Get list of changed file paths (staged, unstaged, and untracked).
hooks/suggest-doc-updates.py:41
↓ 1 callersFunctionget_files_changed
Count files changed from git diff --stat HEAD.
hooks/track-metrics.py:26
↓ 1 callersFunctionget_formatter_command
Return the formatter command for a given file type.
hooks/format-on-edit.py:11
↓ 1 callersFunctionget_latest_commit
Get the latest commit message from git log --oneline -1.
hooks/track-metrics.py:48
↓ 1 callersFunctionget_lint_command
Get the lint command for this project.
hooks/verify-on-complete.py:89
↓ 1 callersFunctionget_test_command
Get the test command for this project.
hooks/verify-on-complete.py:58
↓ 1 callersFunctionhas_code_changes
Check if there are any code changes worth verifying.
hooks/verify-on-complete.py:126
↓ 1 callersFunctioninstall
* Install a Claude Code plugin from GitHub (additive merge) * @param {string} repo - GitHub repo in format "owner/repo" * @param {string} name - Plu
packages/add-skill/lib/installer.js:27
↓ 1 callersFunctionisValidRepoFormat
* Validate GitHub repository format * @param {string} repo - Repository string to validate * @returns {boolean} True if valid format
packages/add-skill/lib/installer.js:15
↓ 1 callersFunctionmain
()
hooks/security-check.py:76
↓ 1 callersFunctionmain
Log session metrics on Stop event.
hooks/track-metrics.py:56
↓ 1 callersFunctionmain
()
hooks/typescript-check.py:26
↓ 1 callersFunctionmain
()
hooks/protect-files.py:64
↓ 1 callersFunctionmain
Run verification checks on task completion.
hooks/verify-on-complete.py:143
↓ 1 callersFunctionmain
Analyze changes and suggest documentation updates if significant.
hooks/suggest-doc-updates.py:160
↓ 1 callersFunctionmain
()
hooks/validate-environment.py:52
↓ 1 callersFunctionmain
()
hooks/format-on-edit.py:40
↓ 1 callersFunctionmain
()
hooks/pre-commit-check.py:68
↓ 1 callersFunctionmain
()
hooks/validate-prompt.py:53
↓ 1 callersFunctionmergeDirectories
* Recursively merge source directory into target, preserving existing files * Handles regular files, directories, and symlinks
packages/add-skill/lib/installer.js:136
↓ 1 callersFunctionshould_skip
(file_path)
hooks/pre-commit-check.py:31
↓ 1 callersFunctionvalidate_prompt
Validate the user prompt and provide helpful context.
hooks/validate-prompt.py:33
Functionget_diff_stat
Get git diff --stat lines for changes since HEAD.
hooks/suggest-doc-updates.py:29