file-sync-config

Generate safe ignore patterns for two-way file synchronization setups.

11|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/Arcanada-one/datarim --skill file-sync-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-sync-config
Source: https://github.com/Arcanada-one/datarim/tree/main/skills/file-sync-config
Command: npx skills add https://github.com/Arcanada-one/datarim --skill file-sync-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents two-way file-sync disasters by ensuring you exclude unsafe, host-specific, and conflict-prone files before enabling synchronization across machines.

Core Features & Use Cases

  • Pre-flight inventory checklist: Find and verify vendored/build directories, Python environments/caches, nested git repositories, DB/state files, and compiled binaries that are unsafe to sync cross-host.
  • Decision tree for git working trees: Decide whether to sync a repo’s working tree or exclude it and instead propagate updates via git pull, reducing working-tree drift.
  • Reusable Syncthing ignore patterns: Provide a ready-to-use .stignore template tailored to protect git working trees and venv/build directories for common sync tools and workflows.

Quick Start

Use the file-sync-config skill to generate a safe ignore plan for a new two-way sync of your project vault between your Mac and DEV box.

Frequently Asked Questions about file-sync-config

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

FAQPage Schema
How do I prevent file sync conflicts when using two-way synchronization across machines?

To prevent file sync conflicts, perform a mandatory pre-flight inventory to identify unsafe paths and enforce ignore patterns before enabling two-way synchronization. This stops the blind replication of host-specific files like build artifacts and local state databases.

What files should be excluded from cross-platform sync setups?

Cross-platform sync setups should exclude vendored directories, Python environments like .venv, build artifacts, compiled binaries, nested git repositories, and database files to prevent host drift and synchronization conflicts.

Should I sync my git working tree or exclude it from file synchronization?

You should exclude the git working tree from synchronization and propagate updates via git pull. Using a decision tree to evaluate this prevents working-tree drift and avoids conflicts caused by direct file replication across hosts.

How do I generate a .stignore template for Syncthing to protect build directories?

Generate a .stignore template by configuring reusable Syncthing ignore patterns tailored to protect git working trees and .venv directories. This creates a ready-to-use configuration file for common sync workflows.

Does this sync conflict prevention approach work with rclone bisync and Dropbox shared folders?

Yes, this conflict prevention approach works with rclone bisync, Dropbox shared folders, iCloud, and rsync setups. It applies cross-platform safety exclusions to ensure repositories, runtimes, and build outputs are not blindly replicated.

Why does syncing .venv directories cause host drift in two-way synchronization?

Syncing .venv directories causes host drift because Python environments contain host-specific compiled binaries and local state. Blindly replicating these directories across machines in two-way synchronization creates unsafe paths and triggers state conflicts.