config-sync-target-adaptation

Coordinate target-specific adapters to apply config-sync rules across CLI environments.

10|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/CsHeng/dot-claude --skill config-sync-target-adaptation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: config-sync-target-adaptation
Source: https://github.com/CsHeng/dot-claude/tree/main/.claude/skills/config-sync-target-adaptation
Command: npx skills add https://github.com/CsHeng/dot-claude --skill config-sync-target-adaptation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate target-specific adapters so that config-sync applies correct rules, permissions, commands, settings, and memory updates for each CLI environment.

Core Features & Use Cases

  • Adapter Selection: Read the config-sync plan to map targets to their corresponding adapters.
  • Target Directory Resolution: Resolve configuration, rules, and commands directories using shared helpers; reject hard-coded home-relative paths.
  • Safety & Backups: Enforce documented safety constraints and backups for all modified target files.

Quick Start

Invoke the adapter phase as part of a config-sync run, ensuring the plan includes the target/component combinations. Example: run the adapter logic for a given target within your sync plan.

Frequently Asked Questions about config-sync-target-adaptation

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

FAQPage Schema
How do I apply configuration changes consistently across multiple CLI environments?

Config-sync target adaptation coordinates target-specific adapters to apply configuration rules uniformly across Droid, Qwen, Codex, OpenCode, and Amp CLI environments. It maps each target to its corresponding adapter, resolves directories via shared helpers, and enforces safety constraints to ensure consistent rule application.

What's the right way to keep configs synchronized when using different DevOps tools?

Use adapter-driven config-sync to manage target-specific configuration, rules, and commands directories. The plan-driven workflow deterministically resolves each environment's paths through dedicated helpers rather than hard-coded paths, ensuring safe, repeatable synchronization across heterogeneous CLI tools.

Can I automate config updates across multiple targets without manual path management?

Yes. Config-sync target adaptation automates adapter selection and directory resolution using shared helpers (get_target_config_dir, get_target_rules_dir, get_target_commands_dir), eliminating manual path configuration. Backups verify safety for all target file modifications.

How do adapters enforce permissions and safety when syncing configurations?

Adapters invoke governance through documented safety constraints and backup verification for every modified target file. The workflow enforces strict use of helper functions to resolve permissions and commands directories, preventing unsafe direct path access.

What happens if a target isn't mapped to an adapter in the sync plan?

The deterministic target resolution phase maps each target in the plan to its corresponding adapter. Only mapped target/component combinations are processed; unmapped targets are skipped, ensuring predictable behavior and preventing unexpected configuration changes.

Do I need to reconfigure directory paths when adding a new CLI environment to config-sync?

No. Adding a new CLI environment requires only mapping it to its adapter in the config-sync plan. Directory paths are resolved dynamically through shared helpers, so environment-specific paths are automatically discovered without manual reconfiguration.