single-writer-bulk-rewrites

Route bulk vault file rewrites through the validated single-file writer.

3|3|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/quaid-app/quaid --skill single-writer-bulk-rewrites
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: single-writer-bulk-rewrites
Source: https://github.com/quaid-app/quaid/tree/main/.squad/skills/single-writer-bulk-rewrites
Command: npx skills add https://github.com/quaid-app/quaid --skill single-writer-bulk-rewrites

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bulk rewrites can violate rename-before-commit invariants and cause inconsistencies when updating multiple vault files. This Skill provides a safe, production-ready path by routing all bulk changes through the single-file writer, ensuring atomicity and proper ownership gating.

Core Features & Use Cases

  • Enforces rename-before-commit invariants by funneling batch writes through the validated writer.
  • Applies strong collection-level gating (serve-owner refusal, write gates, dry-run accounting) around the batch while delegating per-file write to the single-file writer.
  • Use Case: When performing large bulk admin operations that rewrite vault files, this Skill preserves correctness and reduces risk of partial updates.

Quick Start

Run the bulk rewrite workflow to route a batch of vault file rewrites through the production single-file writer.

Frequently Asked Questions about single-writer-bulk-rewrites

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

FAQPage Schema
How do I prevent data integrity issues during bulk vault file rewrites?

To prevent data integrity issues during bulk vault rewrites, route all batch updates through a validated single-file writer that enforces rename-before-commit invariants and per-file write isolation across the collection.

What is the safest way to execute collection-level admin tasks for large-scale vault rewrites?

The safest way to execute large-scale vault rewrites is wrapping the batch with collection-wide gating checks, including serve-owner refusal and dry-run accounting, while delegating writes to the single-file writer.

Why does a bulk vault rewrite violate rename-before-commit invariants?

Bulk vault rewrites violate rename-before-commit invariants because uncoordinated multi-file updates cause partial commits and inconsistencies, bypassing the atomicity and ownership gating enforced by the single-file writer.

Can I run a batch of vault file updates without per-file write isolation?

Running batch vault updates without per-file write isolation risks breaking rename-before-commit invariants. Failing to route writes through the single-file writer removes collection-wide safety gates and risks partial updates.

Do I need to call the single-file writer for each file in a bulk rewrite batch?

Yes, you need to call the existing single-file writer for each file in the batch. This routing mechanism preserves per-file write isolation and enforces collection-wide gating checks during the operation.