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:
32
.github/workflows/bump-version.yml
vendored
Normal file
32
.github/workflows/bump-version.yml
vendored
Normal 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
|
||||
@@ -28,6 +28,7 @@ Single Node.js process that connects to WhatsApp, routes messages to Claude Agen
|
||||
| `/setup` | First-time installation, authentication, service configuration |
|
||||
| `/customize` | Adding channels, integrations, changing behavior |
|
||||
| `/debug` | Container issues, logs, troubleshooting |
|
||||
| `/update` | Pull upstream NanoClaw changes, merge with customizations, run migrations |
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
12
README.md
12
README.md
@@ -88,6 +88,16 @@ Or run `/customize` for guided changes.
|
||||
|
||||
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
|
||||
|
||||
**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:
|
||||
|
||||
**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-discord` - Add Discord
|
||||
|
||||
**Platform Support**
|
||||
- `/setup-windows` - Windows via WSL2 + Docker
|
||||
|
||||
@@ -172,6 +172,7 @@ A personal Claude assistant accessible via WhatsApp, with minimal custom code.
|
||||
### Skills
|
||||
- `/setup` - Install dependencies, authenticate WhatsApp, configure scheduler, start services
|
||||
- `/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
|
||||
- Runs on local Mac via launchd
|
||||
|
||||
Reference in New Issue
Block a user