joycode

通过 shell 控制 JoyCode CLI 工具进行代码生成和 AI 辅助编程。使用场景:(1) 用户要求代码生成、代码补全或编程帮助 (2) 需要使用 AI 助手进行代码审查 (3) 需要在终端中进行交互式编程对话 (4) 需要执行自动化代码任务

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "joycode" with this command: npx skills add kangzhixing/joycode

JoyCode CLI 代码生成助手

安装

# 使用 npm 全局安装
npm install -g joycode-cli

# 验证安装
joycode-cli --version

核心命令

交互模式

# 启动交互式 TUI 界面
joycode-cli

# 带问题启动
joycode-cli "如何使用 Rust 编写一个 Hello World 程序?"

自动化模式

# 执行简单任务
joycode-cli exec "统计当前项目代码行数"

# 全自动模式(允许文件编辑)
joycode-cli exec --full-auto "为 utils.ts 编写单元测试"

会话管理

# 恢复上次会话
joycode-cli resume --last

# 通过会话 ID 恢复
joycode-cli resume <SESSION_ID>

# 打开会话列表选择
joycode-cli resume

登录认证

# 交互式登录 JoyCode 账号
joycode-cli login

斜杠命令(交互模式中使用)

命令功能
/quit退出程序
/logout退出登录
/new开始新对话
/undo撤销上一步操作
/diff查看 Git 差异
/compact压缩对话历史
/init初始化 AGENTS.md
/reviewAI 代码审查
/approvals动态修改审批策略

常用工作流

  1. 代码生成: joycode-cli exec --full-auto "为 src/main.ts 编写单元测试"
  2. 代码审查: 在交互模式输入 /review
  3. 项目初始化: joycode-cli init
  4. 恢复会话: joycode-cli resume --last

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

YiHui GIT MONITOR

通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。

Registry SourceRecently Updated
Coding

Workspace Governance

A methodology-first workspace governance skill for AI agents. Focuses on principles, decision framework, and safe execution patterns instead of fixed directo...

Registry SourceRecently Updated
Coding

Nox Influencer - Creator Discovery & Influencer Marketing

Runs NoxInfluencer creator and marketing-ops workflows via CLI, including creator discovery for influencer marketing, creator marketing, UGC, social media ma...

Registry SourceRecently Updated
Coding

Gigo Lobster Doctor

🦞 GIGO · gigo-lobster-doctor: 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。 Triggers: 龙虾体检 / 检查龙虾环境 / lobster doctor / check lobster environment.

Registry SourceRecently Updated