wiki-rebuild

Archive, rebuild, or restore wiki states with timestamped snapshots.

Updated Apr 27, 2014
One-click install
npx skills add https://github.com/Nirajkashyap/nirajkashyap.github.io --skill wiki-rebuild-nirajkashyap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-rebuild
Source: https://github.com/Nirajkashyap/nirajkashyap.github.io/tree/main/.agents/skills/wiki-rebuild
Command: npx skills add https://github.com/Nirajkashyap/nirajkashyap.github.io --skill wiki-rebuild-nirajkashyap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Archive existing wiki knowledge and rebuild from scratch, or restore from a previous archive. Use this skill when the user wants to start fresh, rebuild the wiki from all sources, archive current knowledge before a major change, or restore an older version. Triggers on "rebuild the wiki", "start over", "archive and rebuild", "restore from archive", "nuke and repave", "clean rebuild". Also use when the wiki has drifted too far from sources and incremental fixes won't cut it.

Core Features & Use Cases

  • Safely archive the current wiki state before destructive changes.
  • Rebuild the wiki from all sources or restore from a previous archive.
  • Three operational modes: archive only, archive + rebuild, and restore; each updates archives and logs.
  • Archive directory structure under _archives/ with timestamped snapshots for easy restoration.

Quick Start

Instruct me to 'rebuild the wiki' to archive the current state and start a full rebuild.

Frequently Asked Questions about wiki-rebuild

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

FAQPage Schema
How do I archive and rebuild my wiki from scratch safely?

To archive and rebuild your wiki safely, trigger a full rebuild which first archives the current state into timestamped snapshots under _archives/, then reconstructs knowledge from all sources. This prevents data loss during destructive changes.

When should I restore my wiki from a previous archive instead of incremental fixes?

You should restore your wiki from a previous archive when the knowledge base has drifted too far from its sources and incremental fixes are insufficient. This reverts concepts, entities, skills, references, and projects to a known good state.

What is the best way to archive wiki knowledge before a major change?

The best way to archive wiki knowledge is using an archive-only mode, which captures the current state across all categories into timestamped snapshots. This enforces an archive-first workflow and updates metadata logs to track state transitions.

Can I restore specific wiki categories like concepts and entities from an older version?

Yes, you can restore specific wiki categories from an older version. The restore mode reverts knowledge states across all categories, including concepts, entities, skills, references, and projects, using timestamped archive snapshots.

Does rebuilding the wiki support an archive-only workflow without full deletion?

Yes, the wiki rebuild process supports an archive-only workflow. This mode archives the current state and updates metadata logs without performing a destructive rebuild, letting you safely snapshot knowledge before manual changes.

What are the limitations of a clean wiki rebuild for knowledge management?

A clean wiki rebuild replaces the current state entirely, meaning any unarchived changes are lost. It is limited by the accuracy of your sources and requires strict adherence to the archive-first workflow to safely manage knowledge evolution.