Skip to content
AI & Agents
Skill

/release

Publish a new release of the Feishu plugin. Use when the user asks to release, publish, or cut a new version.

From plugin
clawdbot-feishu
4.3k11 skills
Install
$ npx -y skills add m1heng/clawdbot-feishu --skill release --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/release

Context preview

The summary Claude sees to decide when to auto-load this skill.

Publish a new release of the Feishu plugin. Use when the user asks to release, publish, or cut a new version.

SKILL.md

release.SKILL.md
name: release
description: Publish a new release of the Feishu plugin. Use when the user asks to release, publish, or cut a new version.
allowed-tools: Bash(npm version:*), Bash(npm publish:*), Bash(npx tsc:*), Bash(gh release:*), Bash(git tag:*), Bash(git push:*)

Release Workflow

Publish a new version of `@m1heng-clawd/feishu` to npm and create a GitHub release.

Prerequisites

  • Working tree is clean (all changes committed to `main`)
  • `npm login` session is active with publish access to `@m1heng-clawd` scope
  • `gh` CLI is authenticated

Steps

1. Determine version bump

Check what changed since the last release:

# Find latest release tag
gh release list --limit 1

# Review commits and diff stat
git log <last-tag>..HEAD --oneline
git diff <last-tag>..HEAD --stat

Choose bump type: `patch` (bug fixes), `minor` (new features), or `major` (breaking changes).

2. Type check

npx tsc --noEmit

Do NOT proceed if type check fails.

3. Draft release notes

Review the full diff to write release notes:

git diff <last-tag>..HEAD

Create a GitHub release **draft** first:

gh release create v<new-version> --draft --title "v<new-version>" --target main --notes "<release notes markdown>"

4. Bump version in package.json

Edit `package.json` to update the `"version"` field to `<new-version>`.

5. Commit, tag, and push

git add package.json
git commit -m "chore: bump version to <new-version>"
git tag v<new-version>
git push && git push --tags

6. Publish to npm

npm publish

If auth fails, ask the user to run `npm login` first, then retry.

7. Publish GitHub release

gh release edit v<new-version> --draft=false

Release Notes Format

Follow the established format (see previous releases for reference):

## Features

- **Feature title** — Description. (#PR)

## Bug Fixes

- **Fix title** — Description. (#PR)

## Internal

- Internal change description.

Troubleshooting

npm publish 404 / auth error

npm login          # re-authenticate
npm whoami         # verify logged in
npm publish        # retry

Tag already exists

If the tag was created but publish failed, delete and recreate after fixing:

git tag -d v<version>
git push origin :refs/tags/v<version>
# fix issue, then re-tag and push
Read more
Ships withclawdbot-feishu

Feishu/Lark (飞书) channel plugin for OpenClaw. 中文社区资料 - 配置教程、常见问题、使用技巧:Wiki Contributing / 贡献指南: CONTRIBUTING.md Issue Reporting / 问题反馈: Please check Discussions first for common solutions, then open a structured Issue Form if needed.

Get the whole plugin
Stats
4,252
Stars
444
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
4mo ago
Last commit
6mo ago
Created

Repo: m1heng/clawdbot-feishu