electoral-analysis
Skill30 starsChanged 9 months agoApache-2.0View on GitHub
European election forecasting, campaign analysis, seat projection, and voter behavior analysis across EU member states
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 80
Uniform Swing Assumption: Do NOT apply a single polling swing uniformly across all member states — each state has unique electoral …
- Distinctive: line 81
Ignoring Electoral Thresholds: Do NOT project seats without accounting for national thresholds — parties polling at 4% in a 5%-threshold …
- Distinctive: line 82
National Election Extrapolation: Do NOT directly use national parliament election results to predict EP elections — EP elections are …
- Distinctive: line 83
Static Group Affiliation: Do NOT assume national parties will remain in the same EP political group — group switching is common after …
- Distinctive: line 84
Ignoring Candidate Effects: Do NOT treat EP elections as purely party-based in open-list or STV systems — individual candidate preference …
- Distinctive: line 85
Aggregate Without Decomposing: Do NOT present EU-wide projections without showing the national-level building blocks — aggregation hides …
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Electoral Analysis Skill
Context
This skill applies when:
- Forecasting European Parliament election outcomes across 27 member states
- Analyzing voter turnout patterns and demographic trends in EP elections
- Projecting seat distributions using national polling data and D'Hondt/Sainte-Laguë allocation methods
- Studying party list systems and their impact on MEP selection (open vs. closed lists)
- Comparing national party performance with transnational political group outcomes
- Evaluating the Spitzenkandidaten process and its effect on voter mobilization
- Assessing the impact of European electoral reforms (transnational lists, uniform electoral procedure proposals)
- Tracking party fragmentation and new party emergence across the EU
This skill leverages EP MCP Server data for historical election results and MEP composition, aligned with Hack23 ISMS data integrity requirements.
Rules
- Electoral System Diversity: Recognize that 27 member states use different proportional representation variants — D'Hondt (most common), Sainte-Laguë (Scandinavian states), STV (Ireland), with varying thresholds (0%–5%) and constituency structures
- Seat Allocation Accuracy: Apply the correct apportionment formula per member state when projecting seats — never assume a single method applies across the EU
- Turnout Contextualization: Analyze EP election turnout (historically 42%–51%) relative to national election turnout — account for compulsory voting (Belgium, Luxembourg, Greece) and second-order election effects
- National vs. European Dynamics: Distinguish between national political factors driving EP election results and genuine European-level campaign effects — most voters are influenced by domestic considerations
- Political Group Mapping: Map national party results to EP political group compositions — a party winning seats nationally may join different groups across terms (e.g., Fidesz EPP→NI→Patriots)
- Degressive Proportionality: Apply the EU's degressive proportionality principle (6–96 seats per state) when analyzing seat distribution fairness and representation ratios
- Historical Baselines: Compare projections against historical EP election results (1979–2024) using MCP Server data — identify structural trends vs. one-off shifts
- Margin of Error: Report projection uncertainty ranges — EP seat projections typically carry ±10–15 seat margins per political group due to aggregation of 27 national polls
- GDPR Compliance: Handle voter demographic data and individual MEP electoral performance data in compliance with GDPR per Hack23 Privacy Policy
- Attribution: Cite European Parliament Open Data Portal, Eurostat, and national electoral commissions as authoritative data sources
Examples
Seat Projection Model
Using MCP Server historical data and current national polls:
1. Collect latest national polls for all 27 member states
2. Apply member state-specific seat allocation methods:
- Germany (96 seats): D'Hondt, 5% threshold, closed lists
- France (81 seats): D'Hondt, 5% threshold, closed lists
- Ireland (14 seats): STV, multi-seat constituencies
3. Aggregate national projections into political group totals
4. Map: Use get_meps to identify current group affiliations
5. Compare: Historical composition via get_meps (term filter)
6. Report with confidence intervals per group
Expected output: EPP 175–190, S&D 135–150, Renew 75–90, etc.Turnout Pattern Analysis
Analyze EP election turnout trends using MCP Server data:
- Cross-reference MEP counts per state with electoral turnout data
- Identify correlation between turnout and political group representation
- Compare compulsory voting states (BE, LU, EL) vs. voluntary states
- Track youth turnout impact on Greens/EFA and new party representation
- Use get_meps with country filter for state-level composition analysisParty Fragmentation Assessment
Measure effective number of parties (ENP) across EP terms:
ENP = 1 / Σ(pi²) where pi = seat share of party i
- Calculate ENP per member state delegation using get_meps data
- Track fragmentation trends: EP6 (2004) → EP10 (2024)
- Identify states with highest fragmentation driving group instability
- Correlate ENP with coalition formation difficulty in EPAnti-Patterns
- Uniform Swing Assumption: Do NOT apply a single polling swing uniformly across all member states — each state has unique electoral dynamics, thresholds, and list systems
- Ignoring Electoral Thresholds: Do NOT project seats without accounting for national thresholds — parties polling at 4% in a 5%-threshold state win zero seats despite showing national support
- National Election Extrapolation: Do NOT directly use national parliament election results to predict EP elections — EP elections are second-order with different turnout profiles and voter motivations
- Static Group Affiliation: Do NOT assume national parties will remain in the same EP political group — group switching is common after elections and can shift projected group sizes by 20+ seats
- Ignoring Candidate Effects: Do NOT treat EP elections as purely party-based in open-list or STV systems — individual candidate preference votes significantly affect who gets elected in Ireland, Italy, and Nordic states
- Aggregate Without Decomposing: Do NOT present EU-wide projections without showing the national-level building blocks — aggregation hides critical uncertainties in individual state projections
In this repository41 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- ai-development-governanceSkill
- ai-governanceSkill
- architecture-documentationSkill
- aws-security-architectureSkill
- behavioral-analysisSkill
- business-model-canvasSkill
- c4-architecture-documentationSkill
- code-quality-excellenceSkill
- compliance-frameworksSkill
- contribution-guidelinesSkill
- data-science-for-intelligenceSkill
- documentation-standardsSkill
- european-parliament-apiSkill
- european-political-systemSkill
- gdpr-complianceSkill
- github-actions-workflowsSkill
- github-agentic-workflowsSkill
- incident-responseSkill
- intelligence-analysis-techniquesSkill
- isms-complianceSkill
- legislative-monitoringSkill
- mcp-gateway-configurationSkill
- mcp-gateway-securitySkill
- mcp-server-developmentSkill
- open-source-governanceSkill
- osint-methodologiesSkill
- performance-optimizationSkill
- political-science-analysisSkill
- risk-assessment-frameworksSkill
- secrets-managementSkill
- secure-code-reviewSkill
- secure-development-lifecycleSkill
- security-by-designSkill
- seo-best-practicesSkill
- strategic-communication-analysisSkill
- testing-mcp-toolsSkill
- testing-strategySkill
- threat-modeling-frameworkSkill
- typescript-strict-patternsSkill
- vulnerability-managementSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

