Loading...
Loading...
Compare original and translation side by side
quickbalancedfull$ARGUMENTSNote: Arguments passed can be used to customize the scan workflow if provided. For example, if the user specifies a specific set of vectors, count of vectors, specific candidate files, areas to focus on, count of candidate files, etc., ensure the relevant details are passed to the relevant steps in the skill.
quickbalancedfull$ARGUMENTS注意: 如果传入参数,可用于自定义扫描流程。例如,如果用户指定了特定的向量集、向量数量、特定候选文件、重点关注区域、候选文件数量等,请确保将相关细节传递给skill中的对应步骤。
repo_name=$(basename "$(pwd)") && remote_url=$(git remote get-url origin 2>/dev/null || pwd) && short_hash=$(printf '%s' "$remote_url" | git hash-object --stdin | cut -c1-8) && repo_id="${repo_name}-${short_hash}" && short_sha=$(git rev-parse --short HEAD 2>/dev/null || date +%Y%m%d) && ghost_repo_dir="$HOME/.ghost/repos/${repo_id}" && scan_dir="${ghost_repo_dir}/scans/${short_sha}/code" && cache_dir="${ghost_repo_dir}/cache" && mkdir -p "$scan_dir" && echo "scan_dir=$scan_dir cache_dir=$cache_dir"$cache_dir/repo.mddepthquickdepthfullbalancedrepo_name=$(basename "$(pwd)") && remote_url=$(git remote get-url origin 2>/dev/null || pwd) && short_hash=$(printf '%s' "$remote_url" | git hash-object --stdin | cut -c1-8) && repo_id="${repo_name}-${short_hash}" && short_sha=$(git rev-parse --short HEAD 2>/dev/null || date +%Y%m%d) && ghost_repo_dir="$HOME/.ghost/repos/${repo_id}" && scan_dir="${ghost_repo_dir}/scans/${short_sha}/code" && cache_dir="${ghost_repo_dir}/cache" && mkdir -p "$scan_dir" && echo "scan_dir=$scan_dir cache_dir=$cache_dir"$cache_dir/repo.mdquickfullbalanced$scan_dir/plan.mdbash <path-to-loop.sh> $scan_dir planner.md "- depth: <depth>
- arguments: <relevant argument overrides if any, otherwise omit>" 1 $cache_dir$scan_dir/plan.md## Project:$scan_dir/plan.mdbash <path-to-loop.sh> $scan_dir planner.md "- depth: <depth>
- arguments: <relevant argument overrides if any, otherwise omit>" 1 $cache_dir$scan_dir/plan.md## Project:$scan_dir/nominations.md$scan_dir/plan.md## Project: <base_path> (<type>)$scan_dir/nominations.mdundefined$scan_dir/nominations.md$scan_dir/plan.md## Project: <base_path> (<type>)$scan_dir/nominations.mdundefined
If `$scan_dir/nominations.md` already exists, change every top level task `- [x]` to `- [ ]`. Keep all indented lines/subtasks beneath each item unchanged.
如果`$scan_dir/nominations.md`已存在,将所有顶级任务项`- [x]`改为`- [ ]`。保留每个项下方的所有缩进行/子任务不变。bash <path-to-loop.sh> $scan_dir nominator.md "- depth: <depth>
- arguments: <relevant argument overrides if any, otherwise omit>" 5 $cache_dir$scan_dir/nominations.md- [x]bash <path-to-loop.sh> $scan_dir nominator.md "- depth: <depth>
- arguments: <relevant argument overrides if any, otherwise omit>" 5 $cache_dir$scan_dir/nominations.md- [x]$scan_dir/nominations.md- [x]$scan_dir/analyses.mdanalyses.md- [ ] <base_path> (<type>) | <agent> | <vector> | <candidate_file>mkdir -p $scan_dir/findings$scan_dir/nominations.md- [x]$scan_dir/analyses.mdanalyses.md- [ ] <base_path> (<type>) | <agent> | <vector> | <candidate_file>mkdir -p $scan_dir/findingsbash <path-to-loop.sh> $scan_dir analyzer.md "" 5 $cache_dir$scan_dir/analyses.md- [x]bash <path-to-loop.sh> $scan_dir analyzer.md "" 5 $cache_dir$scan_dir/analyses.md- [x].md$scan_dir/findings/no-findings.mdbash <path-to-loop.sh> $scan_dir verifier.md "" 5 $cache_dir$scan_dir/findings/.mdno-findings.mdbash <path-to-loop.sh> $scan_dir verifier.md "" 5 $cache_dir$scan_dir/findings/$scan_dir/findings/