main-files-update

Refresh ten main context files via TLDR review and surgical patches.

61|11|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/Matymatyk-business/david-skills --skill main-files-update
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: main-files-update
Source: https://github.com/Matymatyk-business/david-skills/tree/main/skills/main-files-update
Command: npx skills add https://github.com/Matymatyk-business/david-skills --skill main-files-update

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the comprehensive refresh of David's ten main context files by reading the index and each file, prompting discovery or TLDR review, and applying surgical patches based on user input.

Core Features & Use Cases

  • TLDR REVIEW: Quickly surface the current state and staleness of the 10 main context files.
  • DISCOVERY MODE: Prompt 1-2 domain-level questions per file to surface new reality.
  • PATCH & UPDATE: Apply precise edits to files based on David's answers, one file at a time.
  • AUDIT LOGS: Append word counts to docs/main-files-wordcount.csv and update per-file Last updated timestamps.
  • RUN METRICS: Record run details to docs/main-files-runs.csv for traceability.
  • CONTEXT-SOURCE-OF-TRUTH: Maintain a single source of truth across all main files.
  • READ-ONLY RESPECT: Skip files designated as read-only or reference-only where applicable.
  • FILE SWAP PROMPTS: Propose top-10 file replacement candidates when context requires re-prioritization.

Quick Start

Run the main-files-update skill on the top-10 context files to perform a TLDR review, patch updates after your answers, and log the run.

Frequently Asked Questions about main-files-update

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

FAQPage Schema
How do I automate context syncing and update main context files?

Automate context syncing by reading the index and each file, prompting discovery or TLDR review, and applying surgical patches to update main context files. It enforces a single source of truth by updating source files directly based on your input.

What is the best way to surface stale information before starting a new work block?

The best way to surface stale information is running a TLDR review on your main context files. This quickly surfaces the current state and staleness of the ten main files, allowing you to identify outdated data before beginning a new work block.

How do I apply surgical patches to core context data?

Apply surgical patches by answering domain-level discovery questions for each file. The system applies precise edits to files based on your answers, one file at a time, ensuring accurate updates to your core context data.

Can I skip read-only or reference-only files during context synchronization tasks?

Yes, you can skip read-only or reference-only files during context synchronization tasks. The process respects designated read-only files and will not apply patches to them, ensuring reference materials remain untouched.

How does context version-control logging work for updated files?

Context version-control logging works by appending word counts to docs/main-files-wordcount.csv and recording run details to docs/main-files-runs.csv. It also updates per-file Last updated timestamps for complete traceability.

What happens when context requires re-prioritization of the tracked files?

When context requires re-prioritization, file swap prompts propose top-10 replacement candidates. This helps you evaluate and swap out files that no longer hold relevant context for your current workflow.