Evo civ6 adjacency rules

From OpenLAIR/OpenSkill · View interactive version

Evo civ6 adjacency rules is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Encodes all Civ6 Gathering Storm district adjacency bonus rules, placement validity, population limits, and civ-specific modifiers.

How to use this skill

Skill file

evo-civ6-adjacency-rules

Computes adjacency bonuses for Civ6 districts.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-civ6-adjacency-rules/scripts')
from utils import calculate_adjacency_bonus, is_valid_district_placement, max_specialty_districts, is_valid_city_center

bonus = calculate_adjacency_bonus(map_data, x, y, 'CAMPUS', placements, 'GENERIC')
valid = is_valid_district_placement(map_data, x, y, 'CAMPUS', city_center, placed_tiles)
max_d = max_specialty_districts(population)

Key Functions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.