Cc features

From shiqkuangsan/oh-my-daily-skills · View interactive version

Cc features is an AI agent skill from the GitHub repository shiqkuangsan/oh-my-daily-skills. Use when the user asks what changed in Claude Code, requests release highlights for one or more versions, or wants updates since the running session. Triggers: Claude Code updates, cc features, Claude Code 新功能, Claude Code 更新.

How to use this skill

Skill file

Claude Code Release Highlights

Turn official Claude Code release notes into a concise Chinese feature digest. This skill supplies source selection, version resolution, filtering, and output constraints; the agent handles translation and synthesis.

Source and Version Resolution

Use official GitHub Releases for anthropics/claude-code. Prefer gh when available:

gh release list --repo anthropics/claude-code --limit 50 --json tagName,publishedAt,isPrerelease
gh release view v{version} --repo anthropics/claude-code --json tagName,publishedAt,body

If gh is unavailable or unauthenticated, read <https://github.com/anthropics/claude-code/releases> with an available web/browser tool. Do not rely on memory for current releases.

Arguments:

| Input | Selection |

| -------------------------------- | -------------------------------------------------------------------------- |

| empty | Releases newer than the running session; if none, show the current release |

| 2.1.73 | One release |

| 2.1.72,2.1.73 | Explicit releases |

| 2.1.70..2.1.74 | Inclusive range resolved from actual tags |

| latest / last 3 | Latest N stable releases |

| prerelease / including alpha | Include prereleases |

For an empty request, detect the running version first:

RUNNING=$(lsof -p "$PPID" 2>/dev/null | awk '/txt.*versions\/[0-9]/{sub(/.*versions\//, ""); print; exit}')
[ -n "$RUNNING" ] || RUNNING=$(claude --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')

The lsof result is preferred because Claude Code may update the on-disk binary while the current process keeps running an older version. If detection fails, use the latest 3 stable releases and state the fallback once.

Extract and Rank

Keep feature-level changes:

Skip bug fixes, tests, documentation, dependency bumps, and internal chores by default. Keep a normally skipped item only when it changes installation, authentication, permissions, sandboxing, compatibility, or migration requirements.

Always include breaking changes and deprecations. Rank user-visible CLI/IDE behavior, permissions, hooks, MCP, skills/plugins, automation, and installation above internal refactors.

Output Contract

Write Chinese; preserve command names, flags, settings, APIs, and product names in English.

## v{version}({date})

- **新功能**:...
- **增强**:...
- **变更**:...
- **废弃/移除**:...

Omit empty categories. If nothing remains after filtering, say the release contains no feature-level changes.

Finish with ## 本次更新亮点:

Include a link to the official release source used.

Failure Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.