Initial commit
This commit is contained in:
13
skills/toolkit/discover/config/__init__.py
Normal file
13
skills/toolkit/discover/config/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Configuration management for toolkit discovery
|
||||
"""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
CONFIG_ROOT = Path(__file__).parent
|
||||
EXTERNAL_TOOLS_CONFIG = CONFIG_ROOT / "external_tools.yaml"
|
||||
|
||||
__all__ = [
|
||||
'CONFIG_ROOT',
|
||||
'EXTERNAL_TOOLS_CONFIG'
|
||||
]
|
||||
113
skills/toolkit/discover/config/external_tools.yaml
Normal file
113
skills/toolkit/discover/config/external_tools.yaml
Normal file
@@ -0,0 +1,113 @@
|
||||
# External Tool Configurations
|
||||
# 外部工具配置信息,与代码分离便于维护
|
||||
|
||||
tools:
|
||||
- tool_id: "EXT-FZF-001"
|
||||
tool_name: "fzf (Fuzzy Finder)"
|
||||
command: "fzf"
|
||||
description: "命令行模糊查找器,用于交互式选择"
|
||||
category: "搜索/交互"
|
||||
use_cases:
|
||||
- "文件名查找"
|
||||
- "历史命令搜索"
|
||||
- "Git分支切换"
|
||||
install_guide: "brew install fzf (macOS) / apt-get install fzf (Ubuntu)"
|
||||
|
||||
- tool_id: "EXT-EZA-001"
|
||||
tool_name: "eza (Modern ls)"
|
||||
command: "eza"
|
||||
description: "现代化的ls替代品,带彩色输出和图标"
|
||||
category: "文件列表"
|
||||
use_cases:
|
||||
- "查看文件列表"
|
||||
- "树形结构显示"
|
||||
- "Git状态查看"
|
||||
install_guide: "brew install eza"
|
||||
|
||||
- tool_id: "EXT-ZOXIDE-001"
|
||||
tool_name: "zoxide (Smart cd)"
|
||||
command: "zoxide"
|
||||
description: "智能目录跳转工具,学习访问习惯"
|
||||
category: "目录导航"
|
||||
use_cases:
|
||||
- "快速跳转目录"
|
||||
- "访问频率学习"
|
||||
install_guide: "curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh"
|
||||
|
||||
- tool_id: "EXT-FD-001"
|
||||
tool_name: "fd (Simple find)"
|
||||
command: "fd"
|
||||
description: "简单友好的find替代品"
|
||||
category: "文件搜索"
|
||||
use_cases:
|
||||
- "查找文件"
|
||||
- "忽略.gitignore搜索"
|
||||
- "执行操作"
|
||||
install_guide: "brew install fd"
|
||||
|
||||
- tool_id: "EXT-RG-001"
|
||||
tool_name: "ripgrep (rg)"
|
||||
command: "rg"
|
||||
description: "极速代码搜索工具"
|
||||
category: "代码搜索"
|
||||
use_cases:
|
||||
- "搜索代码"
|
||||
- "显示上下文"
|
||||
- "统计匹配数"
|
||||
install_guide: "brew install ripgrep"
|
||||
|
||||
- tool_id: "EXT-BAT-001"
|
||||
tool_name: "bat (cat with syntax)"
|
||||
command: "bat"
|
||||
description: "带语法高亮的cat替代品"
|
||||
category: "文件查看"
|
||||
use_cases:
|
||||
- "查看代码文件"
|
||||
- "分页查看"
|
||||
- "Git修改查看"
|
||||
install_guide: "brew install bat"
|
||||
|
||||
- tool_id: "EXT-JQ-001"
|
||||
tool_name: "jq (JSON processor)"
|
||||
command: "jq"
|
||||
description: "JSON数据的命令行处理器"
|
||||
category: "数据处理"
|
||||
use_cases:
|
||||
- "JSON美化"
|
||||
- "字段提取"
|
||||
- "数据过滤"
|
||||
- "格式转换"
|
||||
install_guide: "brew install jq"
|
||||
|
||||
- tool_id: "EXT-XH-001"
|
||||
tool_name: "xh (HTTP client)"
|
||||
command: "xh"
|
||||
description: "友好的HTTP客户端,替代curl"
|
||||
category: "API测试"
|
||||
use_cases:
|
||||
- "发送HTTP请求"
|
||||
- "API测试"
|
||||
- "文件下载"
|
||||
install_guide: "brew install xh"
|
||||
|
||||
- tool_id: "EXT-DELTA-001"
|
||||
tool_name: "delta (Git diff美化)"
|
||||
command: "delta"
|
||||
description: "Git diff的美化工具"
|
||||
category: "Git工具"
|
||||
use_cases:
|
||||
- "查看Git diff"
|
||||
- "语法高亮"
|
||||
- "行号显示"
|
||||
install_guide: "brew install git-delta"
|
||||
|
||||
- tool_id: "EXT-STEAMSHIP-001"
|
||||
tool_name: "starship (Shell提示符)"
|
||||
command: "starship"
|
||||
description: "快速、可定制、智能的Shell提示符"
|
||||
category: "Shell增强"
|
||||
use_cases:
|
||||
- "显示Git状态"
|
||||
- "显示Python版本"
|
||||
- "显示目录"
|
||||
install_guide: "curl -sS https://starship.rs/install.sh | sh"
|
||||
Reference in New Issue
Block a user