Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CloudAI-X/claude-workflow-v2
/ functions
Functions
40 in github.com/CloudAI-X/claude-workflow-v2
⨍
Functions
40
◇
Types & classes
0
↓ 6 callers
Function
run_command
Run a command and return (success, output).
hooks/verify-on-complete.py:26
↓ 5 callers
Function
run_command
Run a command and return (success, output).
hooks/suggest-doc-updates.py:14
↓ 4 callers
Function
countFiles
* Count files with a specific extension in a directory
packages/add-skill/lib/installer.js:191
↓ 2 callers
Function
detect_package_manager
Detect which package manager is used in the project.
hooks/verify-on-complete.py:41
↓ 2 callers
Function
matches_pattern
Check if file matches any protected pattern.
hooks/protect-files.py:50
↓ 2 callers
Function
run_command
Run a command and return (success, output).
hooks/track-metrics.py:15
↓ 1 callers
Function
check_content
(content)
hooks/pre-commit-check.py:50
↓ 1 callers
Function
check_environment
Check for required tools and configuration.
hooks/validate-environment.py:12
↓ 1 callers
Function
check_for_secrets
Check content for potential secrets.
hooks/security-check.py:46
↓ 1 callers
Function
check_git_status
Check if there are uncommitted changes.
hooks/verify-on-complete.py:114
↓ 1 callers
Function
countDirs
* Count subdirectories in a directory
packages/add-skill/lib/installer.js:203
↓ 1 callers
Function
count_changed_files
Count the total number of changed files.
hooks/suggest-doc-updates.py:155
↓ 1 callers
Function
detect_config_changes
Detect modified configuration files.
hooks/suggest-doc-updates.py:116
↓ 1 callers
Function
detect_deleted_files
Detect deleted files.
hooks/suggest-doc-updates.py:104
↓ 1 callers
Function
detect_new_directories
Detect new directories created (directories with only new files).
hooks/suggest-doc-updates.py:63
↓ 1 callers
Function
detect_new_file_types
Detect new file extensions introduced by the changes.
hooks/suggest-doc-updates.py:78
↓ 1 callers
Function
find_tsconfig
(file_path)
hooks/typescript-check.py:16
↓ 1 callers
Function
get_changed_files
Get list of changed file paths (staged, unstaged, and untracked).
hooks/suggest-doc-updates.py:41
↓ 1 callers
Function
get_files_changed
Count files changed from git diff --stat HEAD.
hooks/track-metrics.py:26
↓ 1 callers
Function
get_formatter_command
Return the formatter command for a given file type.
hooks/format-on-edit.py:11
↓ 1 callers
Function
get_latest_commit
Get the latest commit message from git log --oneline -1.
hooks/track-metrics.py:48
↓ 1 callers
Function
get_lint_command
Get the lint command for this project.
hooks/verify-on-complete.py:89
↓ 1 callers
Function
get_test_command
Get the test command for this project.
hooks/verify-on-complete.py:58
↓ 1 callers
Function
has_code_changes
Check if there are any code changes worth verifying.
hooks/verify-on-complete.py:126
↓ 1 callers
Function
install
* 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 callers
Function
isValidRepoFormat
* 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 callers
Function
main
()
hooks/security-check.py:76
↓ 1 callers
Function
main
Log session metrics on Stop event.
hooks/track-metrics.py:56
↓ 1 callers
Function
main
()
hooks/typescript-check.py:26
↓ 1 callers
Function
main
()
hooks/protect-files.py:64
↓ 1 callers
Function
main
Run verification checks on task completion.
hooks/verify-on-complete.py:143
↓ 1 callers
Function
main
Analyze changes and suggest documentation updates if significant.
hooks/suggest-doc-updates.py:160
↓ 1 callers
Function
main
()
hooks/validate-environment.py:52
↓ 1 callers
Function
main
()
hooks/format-on-edit.py:40
↓ 1 callers
Function
main
()
hooks/pre-commit-check.py:68
↓ 1 callers
Function
main
()
hooks/validate-prompt.py:53
↓ 1 callers
Function
mergeDirectories
* Recursively merge source directory into target, preserving existing files * Handles regular files, directories, and symlinks
packages/add-skill/lib/installer.js:136
↓ 1 callers
Function
should_skip
(file_path)
hooks/pre-commit-check.py:31
↓ 1 callers
Function
validate_prompt
Validate the user prompt and provide helpful context.
hooks/validate-prompt.py:33
Function
get_diff_stat
Get git diff --stat lines for changes since HEAD.
hooks/suggest-doc-updates.py:29