一键导入
release
Build, bump version, commit, and push a brain-jar plugin release. Usage: /release <plugin-name> <patch|minor|major> [message]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, bump version, commit, and push a brain-jar plugin release. Usage: /release <plugin-name> <patch|minor|major> [message]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Install hookify rules for automatic chess timer session management
Create a custom source adapter for pattern-radar
Capture thinking visually during brainstorming, architecture discussions, or explaining flows. Creates persistent Mermaid diagrams.
Automatically use Perplexity search for personalized context enrichment. Use when facing unfamiliar technologies, decision points, learning questions, or preference-dependent choices.
Guide for storing enriched memories that capture decisions, preferences, and context. Use when making significant decisions or learning user preferences.
Get your personalized trend briefing based on profile domains.
基于 SOC 职业分类
| name | release |
| description | Build, bump version, commit, and push a brain-jar plugin release. Usage: /release <plugin-name> <patch|minor|major> [message] |
Automates the full release cycle for a brain-jar plugin:
/release shared-memory patch "fix dependency issue"
/release shared-memory minor "add new feature"
/release perplexity-search major "breaking API change"
Extract from the user's command:
plugin: The plugin name (e.g., shared-memory, perplexity-search)bump: Version bump type (patch, minor, or major)message: Optional commit message descriptionCheck that plugins/<plugin>/package.json exists. If not, error out.
cd plugins/<plugin>
npm run build
npm run typecheck
If either fails, stop and report the error.
Read current version from plugins/<plugin>/package.json.
Apply semver bump:
patch: 1.2.3 -> 1.2.4minor: 1.2.3 -> 1.3.0major: 1.2.3 -> 2.0.0Update these files with the new version (same commit):
plugins/<plugin>/package.json - "version": "X.Y.Z"plugins/<plugin>/.claude-plugin/plugin.json - "version": "X.Y.Z"plugins/<plugin>/src/index.ts - version: 'X.Y.Z' in McpServer config.claude-plugin/marketplace.json - version for this pluginREADME.md - version in plugins table AND highlights section (see below)Check if a highlights section exists for this plugin:
### <plugin> highlights (vX.Y.Z) in README.mdIf section exists: Update the version in the heading.
If section doesn't exist: Create one after the plugins table:
### <plugin> highlights (vX.Y.Z)
- **<feature from message>** - <brief description based on commit message>
For subsequent releases, add new bullet points to the existing section describing what changed (based on the commit message provided).
The highlights section should be concise - 3-5 bullet points max covering the most important features/fixes.
cd plugins/<plugin>
npm run build
Then from the repo root, rebuild all bundles:
cd /path/to/brain-jar
npm run bundle
This ensures both dist/index.js and dist/bundle.js have the updated code. The bundle is what marketplace installs actually load.
git add -A
git commit -m "<type>(<plugin>): <message>
<longer description if needed>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>"
Commit type based on bump:
patch -> fixminor -> featmajor -> feat! (breaking)git push
Output:
Released shared-memory v1.3.2 -> v1.4.0
Updated files:
- plugins/shared-memory/package.json
- plugins/shared-memory/.claude-plugin/plugin.json
- plugins/shared-memory/src/index.ts
- .claude-plugin/marketplace.json
- README.md
Commit: abc123f
Pushed to origin/main