跳到主内容
智客 ZICQ

技能库 智客分类:Agent 工作流 devtools-hub-installer

Devtools Hub Installer

安装和管理用于提供开发者环境的DevTools Hub的 Windows 开发工具

208 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

安装和管理用于提供开发者环境的DevTools Hub的 Windows 开发工具

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:DevTools Hub Installer、Installation、Download and run the installer、Desktop Application、CLI Usage、List all available tools。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Install and manage Windows development tools with DevTools Hub, a desktop app and CLI for provisioning developer environments

DevTools Hub InstallerInstallationDownload and run the installerDesktop ApplicationCLI UsageList all available toolsInstall single or multiple toolsCheck installation statusShow detailed diagnosticsExport current configurationUpdate installed tools (via winget)Uninstall tools (UAC-elevated)

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
devtools-hub-installer
description
Install and manage Windows development tools with DevTools Hub, a desktop app and CLI for provisioning developer environments
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「devtools-hub-installer」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-5601ba26755b383b-Devtools-%E6%9E%A2%E7%BA%BD%E5%AE%89%E8%A3%85%E5%99%A8.html
请存为 .cursor/skills/devtools-hub-installer/SKILL.md 或 .claude/skills/devtools-hub-installer/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/reason-machines/devtools-skills' --list

npx skills add 'https://github.com/reason-machines/devtools-skills' --skill 'devtools-hub-installer'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: devtools-hub-installer description: Install and manage Windows development tools with DevTools Hub, a desktop app and CLI for provisioning developer environments triggers: - install development tools on windows - setup developer environment with devtools hub - manage windows developer tools - provision development machine - install git node python docker on windows - configure development environment windows - use devtools hub cli - batch install developer tools --- # DevTools Hub Installer > Skill by [ara.so](https://ara.so) — Devtools Skills collection. DevTools Hub is a Windows desktop application and CLI for installing and managing developer tools. It provides a unified interface for provisioning development machines with version control, runtimes, package managers, editors, databases, containers, and system dependencies. ## Installation Download the latest release from [GitHub Releases](https://github.com/lszdeveloping/devtoolshub/releases): ```bash # Download and run the installer DevTools Hub Setup 1.2.0.exe ``` The installer requires Windows 10/11 (x64). Most operations require administrator permissions for system-level tool installation and PATH updates. ## Desktop Application Launch DevTools Hub from the Start menu or desktop shortcut. The GUI provides: - **Tool Discovery**: Browse available developer tools by category - **Status Detection**: Real-time installed/not-installed status from registry PATH - **Batch Installation**: Select multiple tools and install in parallel - **Developer Profiles**: One-click installation of curated tool sets - **Install Logs**: Troubleshooting output for failed installations The app uses UAC elevation for install/uninstall operations and streams stdout progress in real-time. ## CLI Usage After building the project, the CLI is available at `dist/cli/cli.js`. Link it globally or invoke directly: ```bash # List all available tools devtoolshub list # Install single or multiple tools devtoolshub install git devtoolshub install node python docker # Check installation status devtoolshub status # Show detailed diagnostics devtoolshub diagnose # Export current configuration devtoolshub export-config > devtools-config.json # Update installed tools (via winget) devtoolshub update git devtoolshub update --all # Uninstall tools (UAC-elevated) devtoolshub uninstall docker ``` ## Available Tools DevTools Hub includes installers for: **Version Control** - `git`, `github-desktop`, `git-lfs` **CLI Tools** - `github-cli`, `codex-cli`, `claude-cli` **Runtimes** - `node`, `python`, `go`, `rust`, `deno`, `bun`, `java` **Package Managers** - `yarn`, `maven`, `gradle` **Editors** - `vscode` **Databases** - `postgresql`, `mongodb`, `redis`, `mysql`, `mariadb`, `sqlserver-express` **DevOps** - `docker`, `docker-compose` **API Testing** - `postman` **Web Server Stack** - `wampserver`, `apache`, `php`, `phpmyadmin`, `adminer`, `xdebug` **System Libraries** - `vcredist` (Visual C++ Redistributables) ## Development Setup Clone and build the project: ```bash # Clone repository git clone https://github.com/lszdeveloping/devtoolshub.git cd devtoolshub # Install dependencies npm install # Run in development mode npm run dev # Build renderer, main process, and CLI npm run build # Create distributable npm run dist ``` Requires Node.js >= 18. ## Project Structure ``` src/ cli/ # Command-line interface main/ # Electron main process and IPC handlers renderer/ # React application (Vite + Tailwind CSS) shared/ # Shared tool metadata and types installers/ windows/ # PowerShell installers (asar-unpacked) resources/ # App icons and packaged assets ``` ## Adding New Tools To add a new tool to the catalog: 1. **Update Tool Metadata** (`src/shared/tools.ts`): ```typescript export interface Tool { id: string; name: string; category: string; description: string; installer: string; // PowerShell script filename wingetId?: string; // For update support } export const tools: Tool[] = [ // ... existing tools { id: 'newtool', name: 'New Tool', category: 'Runtimes', description: 'Description of the tool', installer: 'newtool.ps1', wingetId: 'Publisher.NewTool' } ]; ``` 2. **Create PowerShell Installer** (`installers/windows/newtool.ps1`): ```powershell # newtool.ps1 param( [string]$InstallPath = "C:\Program Files\NewTool" ) Write-Host "Installing New Tool..." try { # Download installer $url = "https://example.com/newtool-installer.exe" $installer = "$env:TEMP\newtool-installer.exe" Invoke-WebRequest -Uri $url -OutFile $installer # Run installer Start-Process -FilePath $installer -ArgumentList "/S" -Wait # Add to PATH if needed $currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine") if ($currentPath -notlike "*$InstallPath*") { [Environment]::SetEnvironmentVariable( "Path", "$currentPath;$InstallPath", "Machine" ) } Write-Host "New Tool installed successfully" exit 0 } catch { Write-Error "Installation failed: $_" exit 1 } ``` 3. **Update Tool Detection** (`src/main/detection.ts`): ```typescript export async function detectInstalledTools(): Promise> { const installed = new Map(); for (const tool of tools) { try { // Check PATH, registry, or filesystem const isInstalled = await checkToolInstalled(tool.id); installed.set(tool.id, isInstalled); } catch { installed.set(tool.id, false); } } return installed; } async function checkToolInstalled(toolId: string): Promise { // Check common installation indicators const checks = [ () => checkPath(toolId), () => checkRegistry(toolId), () => checkFileSystem(toolId) ]; for (const check of checks) { if (await check()) return true; } return false; } ``` ## Configuration Export Export current tool configuration for reproducible environments: ```bash devtoolshub export-config > my-dev-setup.json ``` Example output: ```json { "version": "1.2.0", "platform": "win32", "installed": [ "git", "node", "python", "docker", "vscode" ], "timestamp": "2026-05-17T12:34:56.789Z" } ``` ## Batch Installation Install multiple tools from a profile or custom list: ```typescript // src/renderer/profiles.ts export interface Profile { id: string; name: string; description: string; tools: string[]; } export const profiles: Profile[] = [ { id: 'web-dev', name: 'Web Development', description: 'Essential tools for web development', tools: ['git', 'node', 'vscode', 'docker', 'postgresql'] }, { id: 'python-dev', name: 'Python Development', description: 'Python development environment', tools: ['git', 'python', 'vscode', 'postgresql'] } ]; ``` From CLI: ```bash # Install all tools from a profile (requires custom implementation) devtoolshub install git node vscode docker postgresql ``` ## Error Handling The install queue uses per-tool try/catch — one failure doesn't abort the batch: ```typescript // src/main/installer.ts export async function installTools(toolIds: string[]): Promise { const results: InstallResult[] = []; for (const toolId of toolIds) { try { const tool = tools.find(t => t.id === toolId); if (!tool) { results.push({ toolId, success: false, error: 'Tool not found' }); continue; } // Execute PowerShell installer with elevated privileges const scriptPath = path.join(installersDir, tool.installer); const result = await execElevated(scriptPath); results.push({ toolId, success: true, output: result.stdout }); } catch (error) { results.push({ toolId, success: false, error: error instanceof Error ? error.message : String(error) }); } } return results; } ``` ## Troubleshooting **Installation fails silently** - Check install logs in the app's log viewer - Run CLI with verbose output: `devtoolshub diagnose` - Verify UAC elevation was granted **Tool not detected after install** - Restart the app to refresh PATH detection - Manually check registry: `HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment` - Verify tool executable is in PATH: `where ` **PowerShell execution policy errors** ```powershell # Allow script execution (run as Administrator) Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine ``` **Missing dependencies** - Install Visual C++ Redistributables: `devtoolshub install vcredist` - Ensure Windows 10/11 x64 - Check Node.js >= 18 for development builds **Build failures** ```bash # Clean and rebuild rm -rf node_modules dist npm install npm run build ``` ## Security DevTools Hub implements hardened Electron security: - Sandbox mode enabled: `sandbox: true` - Content Security Policy enforced - External navigation guard prevents malicious redirects - UAC elevation for privileged operations - Installers bundled in `asar.unpacked` (no runtime downloads) All installer scripts should be reviewed before execution. The app does not download executables at runtime — all installers are packaged with the application.

相关技能

Agent 工作流

Skill Creator

创造有效技能指南。 当用户想创造出新的技能(或更新现有的技能),以专业知识,工作流程,或工具集成来扩展克洛德的能力时,应该使用这种技能.

Agent 工作流

Clawdhub

使用ClawdHub CLI搜索,安装,更新并发布从taladhub.com的代理技能. 需要获取苍蝇上的新技能时使用,将安装的技能同步到最新版本或特定版本,或者发布 npm-instainddhub CLI 的新/更新的技能文件夹.

Agent 工作流

Agent Team Orchestration

管弦乐团多代理团队,任务设定周期,交接协议,审查工作流程. 使用时间: (1)建立2+特派员队伍,具有不同专业,(2)确定任务路线和生命周期(收录框_ spec_建设_审查_完成),(3)在特派员之间制定交接协议,(4)建立审查和质量关口,(5)管理特派员之间的交流和文物共享.

Agent 工作流

Superpowers

Spec-first,TDD,子代理驱动的软件开发工作流程. 当:(1)构建任何新功能或应用——触发脑暴_计划_子代理执行回路,(2)调试出一个bug或测试失败——触发系统性的根起过程,(3)用户说"让我们构建","帮助我计划","我想添加X",或"这个被打破",(4)完成一个功…