name: sjv-docs-sync description: Use when syncing System Journey Viewer documentation after feature or workflow changes, covering WORKLOG, AI_STATE, SJV Script spec, help content, README, and naming consistency (especially SJV Script terminology and English UI/docs text).
SJV Docs Sync
Use this skill when code or workflow changes require repository documentation updates.
Scope
Primary docs commonly affected:
docs/WORKLOG.mddocs/AI_STATE.mddocs/SJV_SCRIPT_SPEC.mddocs/UI_JOURNEYS_CAPABILITIES.mdREADME.mdapps/web/src/help/help.mdAGENTS.mdand app-levelAGENTS.mdfiles (workflow changes)
Core rules
- Keep repository-facing docs/examples/UI text in English unless explicitly requested otherwise.
- Use product terminology consistently: prefer
SJV Scriptover genericDSLin docs/UI unless describing legacy concepts. - Do not claim validations you did not run.
- Keep entries factual and specific (what changed, where, and why).
Default workflow
- Identify documentation impact from the code change:
- feature behavior,
- terminology/naming,
- workflows/commands,
- screenshots/media references.
- Update
docs/WORKLOG.md:- add dated scope/changes/validation entry,
- list exact touched files or areas.
- Update
docs/AI_STATE.mdif needed:- feature snapshot changed,
- workflow/commands changed,
- new recurring patterns or local skills were added.
- Update user-facing docs when applicable:
SJV_SCRIPT_SPEC.mdfor language changes,help.md/README.mdfor UX/menu/workflow changes.
- Run lightweight validation for docs-only work:
git diff --check- targeted sanity scans (
rg,find,sed) for naming/frontmatter/paths
- If docs depend on unverified runtime behavior, mark that clearly.
What to include in WORKLOG entries
- Scope (what request/task was addressed)
- Concrete changes (by file/area)
- Validation commands executed
Common pitfalls
- Forgetting
AI_STATE.mdafter changing team workflow (AGENTS/skills/commands). - Leaving Portuguese strings in repo docs/UI after English-only cleanup work.
- Mixing historical terms (
DSL Lite,DSL) after migrating toSJV Script. - Adding vague worklog entries without validation commands.