fix(hub-guide): correct install target to ~/.claude/skills/

Skills go directly to ~/.claude/skills/<name>/ (not ~/.claude/plugins/).
Hooks configured via setup-hooks.sh -> settings.local.json.

Changes:
- install.sh: targets ~/.claude/skills/, no settings.json registration needed
- install.ps1: updated to match
- setup-hooks.sh: new script to add hooks to settings.local.json
- README: fix install instructions
- Remove nested .claude-plugin directory
- 26 skills symlinked to ~/.claude/skills/
This commit is contained in:
asepharyana
2026-07-25 11:54:26 +07:00
parent 42ef7e30f4
commit 39f3f093fe
3 changed files with 117 additions and 93 deletions
+13 -10
View File
@@ -26,21 +26,24 @@ Skills activate automatically when Claude detects relevant context (language, fr
## Installation
### As a Claude Code Plugin
### Quick Install
```bash
# Link for development (edits take effect immediately)
ln -s /path/to/hub-guide ~/.claude/plugins/hub-guide
# Clone
git clone https://github.com/asepharyana/asepharyana-hub-hub-guide.git
cd asepharyana-hub-hub-guide
# Or copy
cp -r /path/to/hub-guide ~/.claude/plugins/hub-guide
```
# Copy all 26 skills (recommended)
./install.sh
### Manual Install (skills only)
# Or symlink (edits in this repo are live)
./install.sh --link
```bash
# Copy individual skills
cp -r skills/<skill-name> ~/.claude/skills/<skill-name>
# Install only specific skills
./install.sh clean-code testing docker
# Configure hooks (auto-detect project type on session start)
./setup-hooks.sh
```
## Usage