@pyamc/py-vibe-coding
v1.0.2
Published
AI code agent resource library with rules and skills for various vibe coding tools
Downloads
331
Maintainers
Readme
@pyamc/py-vibe-coding
AI Code Agent 资源安装工具 - 一键安装规则与技能到你的项目。
支持的工具
| 工具 | 规则文件 | 技能目录 |
|------|----------|----------|
| Claude Code | CLAUDE.md + .claude/rules/*.md | .claude/skills/*/SKILL.md |
| Cursor | .cursor/rules/*.mdc | .cursor/skills/*/SKILL.md |
| opencode | AGENTS.md | .opencode/skills/*/SKILL.md |
| Codex CLI | AGENTS.md + .codex/rules/*.md | .agents/skills/*/SKILL.md |
| Trae | .trae/rules/*.md | .trae/skills/*/SKILL.md |
| CodeBuddy | CODEBUDDY.md + .codebuddy/rules/*/RULE.mdc | .codebuddy/skills/*/SKILL.md |
安装
npm install -g @pyamc/py-vibe-coding或使用 npx(无需安装):
npx @pyamc/py-vibe-coding --tool cursor使用
# 安装到当前目录
py-vibe-coding --tool cursor
# 指定目标目录
py-vibe-coding --tool claude --dir /path/to/project
# 指定资源仓库
py-vibe-coding --tool opencode --repo https://example.com/rules.git --ref main
# 只安装规则
py-vibe-coding --tool codebuddy --rules-only
# 只安装技能
py-vibe-coding --tool cursor --skills-only
# 预览模式(不写入文件)
py-vibe-coding --tool cursor --dry-run
# 强制覆盖已存在的文件
py-vibe-coding --tool cursor --force参数
| 参数 | 说明 | 默认值 |
|------|------|--------|
| --tool | 目标工具类型(必填) | - |
| --dir | 目标工作区目录 | 当前目录 |
| --repo | 资源仓库地址 | https://git.pyamc.com/ai/code-agent-resource.git |
| --ref | 分支/Tag/commit | 自动探测 |
| --rules-only | 只安装规则 | false |
| --skills-only | 只安装技能 | false |
| --include | 包含匹配的资源 | 全部 |
| --exclude | 排除匹配的资源 | 无 |
| --force | 强制覆盖已存在文件 | false |
| --backup | 覆盖前备份 | true |
| --dry-run | 预览模式 | false |
| --json | JSON 格式输出 | false |
| -v, --verbose | 详细日志 | false |
退出码
0: 成功1: 错误2: 成功但存在冲突(未覆盖的文件)
License
MIT
