rebuild-requirements-index

Rebuilds the requirements index from the repository when it is corrupted or missing.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/nexus-a1/claude-skills --skill rebuild-requirements-index
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rebuild-requirements-index
Source: https://github.com/nexus-a1/claude-skills/tree/main/skills/rebuild-requirements-index
Command: npx skills add https://github.com/nexus-a1/claude-skills --skill rebuild-requirements-index

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rebuilds the search index for the team's requirements repository to restore fast, reliable querying when the index is corrupted, missing, or out-of-sync.

Core Features & Use Cases

  • Maintains index integrity by backing up index.json before a rebuild.
  • Restores accurate search results after manual edits, cleanup, or migrations.
  • Use Case: When search results are stale, run a full rebuild to refresh the index content.

Quick Start

Run the /rebuild-requirements-index command to regenerate index.json from the repository.

Frequently Asked Questions about rebuild-requirements-index

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why are my requirements search results stale or missing after repository changes?

Stale or missing requirements search results occur when index.json is out of sync after repository changes or manual edits. Rebuilding the index regenerates the file from the repository to restore accurate, fast querying.

How do I rebuild a corrupted requirements index.json file?

To rebuild a corrupted requirements index.json, run a full rebuild command to regenerate the file from the repository data. This process restores JSON structure integrity and refreshes all search content.

When should I run a full rebuild of the requirements search index?

You should run a full rebuild of the requirements search index when index.json is corrupted, missing, or after performing repository migrations, archiving, or metadata edits to ensure search results are accurate.

Does rebuilding the requirements index create a backup of the existing JSON file?

Yes, rebuilding the requirements index creates a backup of the existing index.json file before regenerating it. This maintains index integrity and prevents data loss during the maintenance process.

What does the requirements index rebuild process report after scanning?

The requirements index rebuild process reports the total number of scanned items and identifies any issues found. This validation ensures JSON structure integrity and confirms the index is fully synchronized.

Can I use the requirements index rebuild across multiple requirement directories?

Yes, you can use the requirements index rebuild across multiple requirement directories. It applies to maintenance scenarios needed after repository changes, archiving, or metadata edits to restore search functionality.