Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zzycxz-dev-tools
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dev-tools
What's inside
- Skill name
dev-tools- Description
- 开发辅助工具集 (Use when: 需要代码格式化/依赖管理/环境检测/进程管理/端口扫描). NOT for: 文件读写(用 FileSystem).
- License
- MIT
- Instructions
- 119 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Dev Tools — 开发辅助工具集
通过 `python_interpreter` 完成开发环境检测、进程管理、依赖安装等常用开发任务。
## 场景 1:检测已安装 Python 包
```python
import importlib.util, subprocess, sys
packages = ["pandas", "httpx", "pydantic", "fastapi", "numpy"]
for pkg in packages:
spec = importlib.util.find_spec(pkg)
status = "✅ installed" if spec else "❌ missing"
print(f" {pkg}: {status}")
```
## 场景 2:批量安装 Python 依赖
```python
import subprocess, sys
packages = ["pandas", "httpx", "pydantic"]
for pkg in packages:
result = subprocess.run(
[sys.executable, "-m", "pip", "install", pkg, "-q"],
capture_output=True, text=True
)
if result.returncode == 0:
print(f"✅ {pkg} 安装成功")
else:
print(f"❌ {pkg} 安装失败: {result.stderr[:200]}")
```
## 场景 3:查找和终止进程
```python
import psutil
# 查找占用特定端口的进程
def find_process_by_port(port: int):
for conn in psutil.net_connections():
if conn.laddr.port == port:
try:
proc = psutil.Process(conn.pid)
print(f"端口 {port} 被占用: PID={conn.pid}, 名称={proc.name()}")
return conn.pid
except psutil.NoSuchProcess:
pass
print(f"端口 {port} 空闲")
return None
find_process_by_port(8080)
# 终止进程(需谨慎!)
# pid = find_process_by_port(8080)
# if pid:
# psutil.Process(pid).terminate()
```
## 场景 4:系统环境信息
```python
import sys, os, platform, psutil
print(f"Python: {sys.version}")
print(f"OS: {platform.system()} {platform.release()}")
print(f"CPU: {psutil.cpu_count()} 核, 使用率: {psutil.cpu_percent(interval=1)}%")
mem = psutil.virtual_memory()
print(f"内存: 总计 {mem.total//1024//1024}MB, 可用 {mem.available//1024//1024}MB")
disk = psutil.disk_usage(os.getcwd())
print(f"磁盘: 总计 {disk.total//1024//1024//1024}GB, 剩余 {disk.free//1024//1024//1024}GB")
```
## 场景 5:运行子进程并捕获输出
```python
import subprocess
def run_cmd(cmd: str, cwd: str = None, timeout: int = 30) -> tuple:
"""运行命令,返回 (stdout, stderr, returncode)"""
result = subprocess.run(
cmd, shell=True, cwd=cwd,
capture_output=True, text=True,
encoding="utf-8", timeout=timeout
)
return result.stdout, result.stderr, result.returncode
stdout, stderr, code = run_cmd("python --version")
print(f"Output: {stdout.strip()}")
print(f"Return code: {code}")
```
## 场景 6:扫描开放端口
```python
import socket
def scan_ports(host: str = "127.0.0.1", ports: list = None):
if ports is None:
ports = [80, 443, 3000, 5000, 8000, 8080, 8765, 8766]
open_ports = []
for port in ports:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.settimeout(0.5)
if s.connect_ex((host, port)) == 0:
open_ports.append(port)
print(f"开放端口: {open_ports}")
return open_ports
scan_ports()
```
## 注意事项
1. 终止进程操作高危,建议先查询确认再终止
2. `pip install` 会修改当前 Python 环境,虚拟环境内操作更安全
3. Windows 下 `subprocess.run` 使用 `shell=True` 支持管道命令From zzycxz/rooster, MIT.
More from zzycxz/rooster
- 0.538score
office-documents
zzycxz
Office 文档处理,包括 Word/Excel/PDF/PPT (Use when: 生成报告、处理表格数据、读取或合并 PDF、制作幻灯片).
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
self-improving
zzycxz
Capture learnings, errors, and corrections from conversations for continuous self-improvement.
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
coding-agent
zzycxz
自主编程与代码开发 (Use when: 需要编写/修改/调试代码、创建项目、重构).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
github
zzycxz
GitHub 仓库操作与协作 (Use when: 需要 PR/Issue/Release 操作、CI 查询、仓库管理).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
summarize
zzycxz
智能内容摘要与总结 (Use when: 需要总结长文档、提取要点、生成摘要).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
browser-automation
zzycxz
浏览器自动化操作 (Use when: 需要交互式浏览网页、填写表单、点击按钮、翻页抓取动态内容).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
pdf-tools
zzycxz
PDF 文件处理 (Use when: 需要读取/合并/分割/转换 PDF,或从 PDF 提取文字/表格).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
visual-control
zzycxz
视觉打标与精确点击控制 (Use when: 需要与 Windows GUI 应用交互、定位并点击按钮、输入框、链接等界面元素).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
web-search
zzycxz
网页搜索与资料调研 (Use when: 需要查找外部实时信息、技术文档、最新新闻等).
SkillCFreshness: C★ 9Claude Code +9 - 0.533score
data-analysis
zzycxz
数据分析与可视化 (Use when: 需要处理 CSV/Excel 数据、生成图表、统计分析).
SkillCFreshness: C★ 9Claude Code +9 - 0.533score
git-ops
zzycxz
Git 版本控制操作 (Use when: 需要 clone/commit/push/diff/log 等 git 操作).
SkillCFreshness: C★ 9Claude Code +9 - 0.529score
resource-downloader
zzycxz
智能多媒体与通用软件安全自愈下载技能。并发种子搜索评分并唤起迅雷物理下载,或安全搜索官方直链下载。
SkillCFreshness: C★ 9Claude Code +9
Signals
- Stars
- 9
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 9, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zzycxz/rooster
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zzycxz
- 0.538score
office-documents
zzycxz
Office 文档处理,包括 Word/Excel/PDF/PPT (Use when: 生成报告、处理表格数据、读取或合并 PDF、制作幻灯片).
SkillCFreshness: C★ 9Claude Code +9 - 0.538score
self-improving
zzycxz
Capture learnings, errors, and corrections from conversations for continuous self-improvement.
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
coding-agent
zzycxz
自主编程与代码开发 (Use when: 需要编写/修改/调试代码、创建项目、重构).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
browser-automation
zzycxz
浏览器自动化操作 (Use when: 需要交互式浏览网页、填写表单、点击按钮、翻页抓取动态内容).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
github
zzycxz
GitHub 仓库操作与协作 (Use when: 需要 PR/Issue/Release 操作、CI 查询、仓库管理).
SkillCFreshness: C★ 9Claude Code +9 - 0.537score
pdf-tools
zzycxz
PDF 文件处理 (Use when: 需要读取/合并/分割/转换 PDF,或从 PDF 提取文字/表格).
SkillCFreshness: C★ 9Claude Code +9
Cite this page
dev-tools skill. Agent Mart. https://agentmart.dev/skills/zzycxz-dev-tools (last updated 2026-10-24)