@m2015agg/git-skill 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ For semantic search, configure an embedding provider. Works with any OpenAI-comp
|
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
git-skill install # Configure embedding provider
|
|
59
|
-
git-skill embed # Generate embeddings for all commits
|
|
59
|
+
git-skill embed # Generate embeddings for all commits + enrichments
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Or manually edit `~/.config/git-skill/config.json`:
|
|
@@ -170,7 +170,7 @@ git-skill why <hash> # View enrichment for a commit
|
|
|
170
170
|
| `git-skill init` | Per-project setup (hook, snapshot, permissions) |
|
|
171
171
|
| `git-skill approve` | Pre-approve read commands in Claude Code |
|
|
172
172
|
| `git-skill docs` | Output CLAUDE.md snippet |
|
|
173
|
-
| `git-skill cron` | Nightly snapshot automation |
|
|
173
|
+
| `git-skill cron` | Nightly fetch + snapshot + embed automation |
|
|
174
174
|
| `git-skill update` | Self-update |
|
|
175
175
|
| `git-skill uninstall` | Clean removal |
|
|
176
176
|
|
|
@@ -188,7 +188,7 @@ Three-layer SQLite cache at `.git-history/history.db`:
|
|
|
188
188
|
2. **Derived analytics** — file evolution, churn hotspots, coupling, decision points, author expertise, trends
|
|
189
189
|
3. **LLM enrichments** — intent, reasoning, category per commit (optional, via `enrich`)
|
|
190
190
|
|
|
191
|
-
Search uses BM25 (
|
|
191
|
+
Search uses hybrid BM25 + vector similarity (Reciprocal Rank Fusion) when embeddings exist. Falls back to BM25-only when no embeddings are configured. Use `--bm25` flag to force keyword-only search.
|
|
192
192
|
|
|
193
193
|
## Built-in Metrics
|
|
194
194
|
|
|
@@ -237,6 +237,26 @@ Example output:
|
|
|
237
237
|
|
|
238
238
|
Works without an LLM configured (local-only analysis shows edit counts and revert history). With an LLM configured, provides deep reasoning about why previous attempts failed.
|
|
239
239
|
|
|
240
|
+
## Automation
|
|
241
|
+
|
|
242
|
+
git-skill runs automatically at two levels:
|
|
243
|
+
|
|
244
|
+
**Every commit** (post-commit hook):
|
|
245
|
+
- `git-skill capture` — indexes the new commit into SQLite + FTS
|
|
246
|
+
- `git-skill context-update` — refreshes Claude's memory with latest alerts
|
|
247
|
+
|
|
248
|
+
**Nightly at 3 AM** (cron, set up with `git-skill cron`):
|
|
249
|
+
- `git fetch --all` — pulls in team members' commits
|
|
250
|
+
- `git-skill snapshot` — full re-index with 8 phases:
|
|
251
|
+
1. Backfill commits
|
|
252
|
+
2. Index branches
|
|
253
|
+
3. Index tags
|
|
254
|
+
4. Rebuild FTS search index
|
|
255
|
+
5. Compute analytics (hotspots, coupling, decisions, expertise, trends)
|
|
256
|
+
6. Compute built-in metrics (revert rate, fix-on-fix, scope creep)
|
|
257
|
+
7. Auto-embed new commits + enrichments
|
|
258
|
+
8. Update Claude memory context with health summary
|
|
259
|
+
|
|
240
260
|
## Need Help?
|
|
241
261
|
|
|
242
262
|
git-skill is designed for AI agents. If you're using Claude Code, just ask:
|