# Downstream Sync Guidance

`tools-base/skills/58publish` is designed to be the shared upstream source and can be synced to multiple downstream repositories.

## Recommended Sync Model

1. `tools-base` maintains the generic scripts, env checks, and skill instructions.
2. `mdsfe-agent-workflows` or other skill repos keep distribution copies for end-user installation.
3. Business repos only reference or bundle the capability when needed instead of maintaining their own publish logic.

## Recommended Practice

- Modify scripts and skill docs in `tools-base` first.
- After the changes stabilize, sync them to downstream skill repos or bundle repos.
- After downstream sync, republish the npm bundle or reinstall the skill where needed.

## Good Candidates For tools-base

- 58 npm auth and environment checks
- High-level publish orchestration
- Low-level publish scripts
- Shared usage and workflow documentation

## What Should Stop Being Maintained In Many Places

- A separate `publish-58npm-*.mjs` in every business repo
- Different versions of auth checks in every skill directory
- Publish steps that live only in a business README with no shared script behind them
