aboutsummaryrefslogtreecommitdiff
path: root/skills/vfs-optimizer.json
blob: f7fe32668ed0a3a7f9c05ca4e99330d2fd45525b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "name": "vfs-optimizer",
  "description": "Procedural guide for optimizing VFS structure, pruning redundant data, and maintaining NVFS index health.",
  "tags": [
    "vfs",
    "optimization",
    "pruning",
    "index"
  ],
  "category": "system",
  "created": "2026-06-23T12:25:39.892Z",
  "updated": "2026-06-24T21:58:03.530Z",
  "content": "---\nname: vfs-optimizer\ndescription: Procedural guide for optimizing VFS structure, pruning redundant data, and maintaining NVFS index health.\ntags: [vfs, optimization, pruning, index]\ncategory: system\n---\n## Steps\n1. **Structural Audit:**\n   - Run `list_files` recursively to identify deep nesting or redundant directory layers.\n   - Check for \"orphaned\" files (files without corresponding manifests or role-links).\n\n2. **Redundancy Pruning:**\n   - Identify duplicate logs or temporary files (`.tmp`, `.bak`, `old_...`).\n   - Use `delete_file` to remove non-essential data that degrades semantic search precision.\n\n3. **NVFS Index Optimization:**\n   - Run `nvfs-index` to refresh the semantic vector mapping of the current VFS state.\n   - Verify retrieval quality using `nvfs-resolve` on core architectural concepts.\n\n4. **Hierarchy Alignment:**\n   - Move files into categorized directories (e.g., `/_configs/`, `/_logs/`, `/_assets/`) to reduce root-level noise.\n   - Ensure the `/_contexts/` and `/skills/` directories remain the primary anchors for identity and procedure.\n\n5. **Validation:**\n   - Perform a final `get_status` to ensure system stability after structural changes.\n"
}