بنقرة واحدة
encounter-manager
Resolves one encounter beat with strict state-update and append-only logging discipline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Resolves one encounter beat with strict state-update and append-only logging discipline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Manages durable campaign state, round progression, and session handoffs for a multiplayer chat RPG.
Creates a canonical character sheet and exports it into the shared campaign tree.
| name | encounter_manager |
| description | Resolves one encounter beat with strict state-update and append-only logging discipline. |
Own the active scene loop for one campaign beat.
This skill handles:
This skill does not handle:
Use shared campaign state, not skill-local state.
Required files:
workspace/state/campaigns/<campaign_id>/active/encounter_request.jsonworkspace/state/campaigns/<campaign_id>/active/raw_player_messages.mdworkspace/state/campaigns/<campaign_id>/active/optional_rolls.jsonworkspace/state/campaigns/<campaign_id>/active/scene.jsonworkspace/state/campaigns/<campaign_id>/active/normalized_actions.jsonworkspace/state/campaigns/<campaign_id>/logs/event-log.jsonlRead policy from workspace/rules/core-policy.md.
Every uncertain turn must follow:
STATE READROLLSTATE UPDATEEVENT LOG APPENDCHAT OUTPUTIf step 3 or step 4 fails, the beat is not resolved.
Each beat must identify:
Before normalization, classify each message as:
ooc_chatooc_commandic_actionOnly ic_action becomes a normalized encounter action.
Track:
beat_countbeat_capmust_escalate_atmust_resolve_byIf beat cap is exceeded, force a resolution or cliffhanger.
campaign_id is ambiguous, stop and ask.workspace/rules/core-policy.md.scripts/bootstrap_state.py
Initializes shared active encounter files.scripts/validate_state.py
Validates shared active encounter files.scripts/prepare_encounter.py
Normalizes actions and refreshes active scene state.scripts/resolve_encounter.py
Resolves one beat and appends event records.