docs: make /update skill discoverable, add auto version bumping

Add /update to skills tables in CLAUDE.md and REQUIREMENTS.md. Add
"Updating" section to README. Remove /add-telegram and /add-discord
from RFS (already exist). Add CI workflow to bump patch version on
source/container changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-02-23 02:04:48 +02:00
parent 1216b5b99c
commit f59ca7cd6d
4 changed files with 44 additions and 2 deletions

32
.github/workflows/bump-version.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Bump version
on:
push:
branches: [main]
paths: ['src/**', 'container/**']
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Bump patch version
run: |
npm version patch --no-git-tag-version
git add package.json package-lock.json
git diff --cached --quiet && exit 0
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
VERSION=$(node -p "require('./package.json').version")
git commit -m "chore: bump version to $VERSION"
git pull --rebase
git push

View File

@@ -28,6 +28,7 @@ Single Node.js process that connects to WhatsApp, routes messages to Claude Agen
| `/setup` | First-time installation, authentication, service configuration | | `/setup` | First-time installation, authentication, service configuration |
| `/customize` | Adding channels, integrations, changing behavior | | `/customize` | Adding channels, integrations, changing behavior |
| `/debug` | Container issues, logs, troubleshooting | | `/debug` | Container issues, logs, troubleshooting |
| `/update` | Pull upstream NanoClaw changes, merge with customizations, run migrations |
## Development ## Development

View File

@@ -88,6 +88,16 @@ Or run `/customize` for guided changes.
The codebase is small enough that Claude can safely modify it. The codebase is small enough that Claude can safely modify it.
## Updating
Pull the latest NanoClaw changes into your fork:
```bash
claude
```
Then run `/update`. Claude Code fetches upstream, previews changes, merges with your customizations, runs migrations, and verifies the result.
## Contributing ## Contributing
**Don't add features. Add skills.** **Don't add features. Add skills.**
@@ -101,9 +111,7 @@ Users then run `/add-telegram` on their fork and get clean code that does exactl
Skills we'd like to see: Skills we'd like to see:
**Communication Channels** **Communication Channels**
- `/add-telegram` - Add Telegram as channel. Should give the user option to replace WhatsApp or add as additional channel. Also should be possible to add it as a control channel (where it can trigger actions) or just a channel that can be used in actions triggered elsewhere
- `/add-slack` - Add Slack - `/add-slack` - Add Slack
- `/add-discord` - Add Discord
**Platform Support** **Platform Support**
- `/setup-windows` - Windows via WSL2 + Docker - `/setup-windows` - Windows via WSL2 + Docker

View File

@@ -172,6 +172,7 @@ A personal Claude assistant accessible via WhatsApp, with minimal custom code.
### Skills ### Skills
- `/setup` - Install dependencies, authenticate WhatsApp, configure scheduler, start services - `/setup` - Install dependencies, authenticate WhatsApp, configure scheduler, start services
- `/customize` - General-purpose skill for adding capabilities (new channels like Telegram, new integrations, behavior changes) - `/customize` - General-purpose skill for adding capabilities (new channels like Telegram, new integrations, behavior changes)
- `/update` - Pull upstream changes, merge with customizations, run migrations
### Deployment ### Deployment
- Runs on local Mac via launchd - Runs on local Mac via launchd