mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
The repo carried 367 SKILL.md files across 5 locations, with 5–6x duplicates of common skills (pair-programming, swarm-orchestration, sparc-methodology, etc). Claude Code's session-start truncation warning showed `pair-programming` listed twice in the dropped-skills list — exactly the kind of duplication this PR removes. Three structural changes: 1. **Rename `archive/v2/.claude/` → `archive/v2/_v2_claude_snapshot/`** The legacy v2 directory shouldn't be discovered as a `.claude/` config. 3.9k file renames, all under archive/, no behavior change for live code. 2. **Delete `v3/@claude-flow/mcp/.claude/skills/` (29 files)** 100% duplicates of root `.claude/skills/`. The mcp package's `package.json#files` doesn't even include `.claude` — these were never published, pure local cruft. 3. **Delete `v3/@claude-flow/cli/.claude/skills/` (37 dups + 3 stray `.yaml`/`.md` files at the wrong level), migrate the cli-only `browser/` skill up to `.claude/skills/browser/`.** The umbrella `claude-flow` package ships `.claude/skills/` from the repo root, so end-users still get the canonical set. The stray `aidefence.yaml`, `aidefence-scan.md`, `secure-review.md` files weren't valid skills anyway (Claude Code expects `<name>/SKILL.md`, not loose `.yaml` / `.md` files at the skills root) — they were orphaned. Net result on the developer's session: - SKILL.md count: 367 → 196 (-47%) - Duplicate `.claude/skills` paths: 5 → 1 (only root) - Truncation warning: gone (verified in-session before this commit) Refs #1834.