一键导入
cpp-happy-check
Check if happy-cli is on the latest version
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check if happy-cli is on the latest version
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Flow: Auto - Full Issue Lifecycle in One Shot - Complete end-to-end workflow: start worktree → analyze issue → ELI5 plan + necessity gate → implement ...
Run quality checks (lint + test + typecheck + security) without committing
Flow: Finish - Quality Gates, Commit, Push, and Create PR - Run quality checks, commit changes, push the branch, and create a pull request.
Flow Commands - Streamlined worktree-based development workflow. No locks, no Redis - just git.
Flow: Merge PR and Clean Up - Merge the current branch's PR, then clean up the worktree and branch.
Diagnose flow workflow setup and environment
| name | cpp-happy-check |
| description | Check if happy-cli is on the latest version |
Check if the installed happy-cli is on the latest version and report status.
happy --version 2>&1 | grep -oP '(?<=happy version: )\S+' || echo "NOT_INSTALLED"
Use the GitHub API to get the latest release:
curl -s https://api.github.com/repos/slopus/happy-cli/releases/latest | grep -oP '"tag_name":\s*"v?\K[0-9.]+' || echo "FETCH_FAILED"
Compare the versions and output status:
Happy CLI Status: UP TO DATE
Installed: {version}
Latest: {version}
Happy CLI Status: UPDATE AVAILABLE
Installed: {installed_version}
Latest: {latest_version}
To update: npm update -g happy-coder
Happy CLI Status: NOT INSTALLED
To install: npm install -g happy-coder
Check if happy settings are valid:
cat ~/.happy/settings.json 2>/dev/null
Report if onboarding is incomplete:
onboardingCompleted: false: Note that onboarding needs to be completed=== Happy CLI Status ===
Version: {status}
Installed: {version}
Latest: {latest}
Settings: {status}
Onboarding: {completed/incomplete}
{action items if any}