Data Sync Trigger
# Invocation Contract
[[SUBAGENT: archi-data-sync | context: Scan new business entities/error codes/Schema/endpoints/commands/exports introduced by this change, incrementally sync global JSON per 00_system.md data governance rules]]
[[NO-SUBAGENT: archi-data-sync | context: Scan new business entities/error codes/Schema/endpoints/commands/exports introduced by this change, incrementally sync global JSON per 00_system.md data governance rules]]
[[NO-SKILL: (Please read [[__DOCS_DIR__]]/skills/archi-data-sync/SKILL.md, and execute sync in current context per its protocol)]]
# Invocation Timing
| Sub-protocol | Invocation Location |
|---|---|
| fix | step_5_data_sync — After fix code, before Verify |
| edit | step_5_data_sync — After docs and plan update, before Verify |
| revise | step_5_data_sync — After Phase 1 (global assets) + Phase 2 (Task cascade) executed, before Verify |
# Data Governance Coverage (inside archi-data-sync skill)
- map.json — directoryMapping / logicalTopology / featureRelations
- dictionary.json — New/renamed entities, terms, components
- error_codes.json — New/adjusted error code contracts
- env_registry.json — New/removed environment variables
[[WHEN: ui | - design_tokens.json — New colors/fonts/spacing/animations ]]
[[WHEN: ui | - ui_context.md — Screen index changes ]]
[[WHEN: data | - data_snapshot.json — Schema model changes ]]
[[WHEN: api | - api_snapshot.json — Endpoint contract changes ]]
[[WHEN: cli | - command_api.json — CLI command changes ]]
[[WHEN: lib | - public_api.json — Library export changes ]]
# Output Contract
- After sync complete, output MODIFIED: <file> — <add/delete/modify summary> for each modified JSON.
- When no changes, output INFO: data-sync scan passed, no update needed.when to use it
Community prompt sourced from the open-source GitHub repo JiuNian3219/architext (MIT). A "Data Sync Trigger" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
JiuNian3219/architext · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar