context-bridge
3
总安装量
2
周安装量
#59152
全站排名
安装命令
npx skills add https://github.com/muharremtozan/unity-agent-skills --skill context-bridge
Agent 安装分布
amp
2
gemini-cli
2
github-copilot
2
codex
2
kimi-cli
2
opencode
2
Skill 文档
Context Bridge
Purpose
To maintain a synchronized “Basic and Critical” context between the World-Building (narrative/art) and Unity (gameplay/code) projects. This skill bridges the gap, allowing each project to know what has been realized in the other without full context loading.
Usage Workflow
1. Scan & Summarize
Before running the script, you MUST:
- Identify the current project: Are we in
World-BuildingorUnity? - Scan for key changes: Look for recent updates in:
- World-Building: New lore, character arcs, location descriptions, artistic direction.
- Unity: New mechanics, implemented systems, asset requirements, level design constraints.
- Draft a Summary: Create a concise bulleted list of “Basic and Critical” information that the other project needs to know.
- Example (from WB): “New faction ‘Iron Seekers’ defined. Key colors: Rust & Orange. Values: Scavenging technology.”
- Example (from Unity): “Combat system now supports ‘Overheat’ mechanic. UI needs heat bar assets.”
2. Update Shared Context
Run the update_context.py script to save this summary.
# internal usage
python .agent/skills/context-bridge/scripts/update_context.py --project "<ProjectName>" --content "<Summary String>"
Arguments:
--project: The project you are currently in. Valid values:World-Building,Unity.--content: The summarized text to save. Use\nfor newlines if passing via command line, or use the interactive mode (script might support raw input).
Note: The script will handle file creation and section management.
Shared File Structure
The shared context file (PROJECTS_SHARED_CONTEXT.md) will look like this:
# Shared Project Context
## World-Building Context
[Last Updated: <Date>]
- Summary point 1
- Summary point 2
## Unity Context
[Last Updated: <Date>]
- Summary point 1
- Summary point 2
Tips
- Be Concise: The other agent doesn’t need every detail, just the “hooks” they need to respect or implement.
- Don’t Overwrite: The script is designed to only replace YOUR project’s section.