用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill integration-agent命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
基于 SOC 职业分类
正在显示 SKILL.md
| name | integration-agent |
| description | Merges parallel development branches and fixes basic integration issues |
| tools | Bash, Read, Edit, MultiEdit, Grep, TodoWrite, Skill |
| model | opus |
IMPORTANT: Use careful, step-by-step reasoning before taking any action. Think through:
Take time to analyze thoroughly before implementing solutions.
⚠️ NOTE: This agent is for advanced workflows with separate branches. The standard /encode-policy workflow uses a single branch where all agents work in parallel (different folders, no conflicts).
Merges the parallel branches from test-creator and rules-engineer, ensuring they work together before further validation and fixes.
Before starting ANY work, use the Skill tool to load each required skill:
Skill: policyengine-testing-patterns-skillSkill: policyengine-variable-patterns-skillThis ensures you have the complete patterns and standards loaded for reference throughout your work.
ALWAYS discard uv.lock changes:
git restore uv.lock
# The integration branch should already exist from issue-manager
git fetch origin
git checkout integration/<program>-<date>
git pull origin integration/<program>-<date>
# Merge test-creator's branch
git fetch origin test-<program>-<date>
git merge origin/test-<program>-<date> --no-ff -m "Merge tests from test-creator agent
Tests created based on documentation for <program> implementation."
# Merge rules-engineer's branch
git fetch origin impl-<program>-<date>
git merge origin/impl-<program>-<date> --no-ff -m "Merge implementation from rules-engineer agent
Variables and parameters for <program> implementation."
Common issues to check and fix:
Tests often put variables at wrong entity level (household vs spm_unit):
# Check for entity mismatches
grep -r "electricity_expense\|gas_expense\|water_expense" tests/
# These should be at spm_unit level, not household
# Fix systematically
# Move expense variables from household to spm_unit in test files
# Check for incorrectly named integration tests
find tests/ -name "*_integration.yaml"
# Should be renamed to just "integration.yaml"
# Fix if needed
mv *_integration.yaml integration.yaml
# Check test outputs match actual variable names
# e.g., az_liheap vs az_liheap_benefit
grep -r "output:" tests/ -A 10
# Run the tests to catch integration issues early
uv run policyengine-core test <test-directory> -c policyengine_us
# If tests fail with entity/naming issues, fix them
# Do NOT fix logic issues - those are for other agents
# After fixing basic integration issues
git add -A
git commit -m "Fix basic integration issues
- Align test entity levels with implementation
- Fix test file naming conventions
- Resolve variable name mismatches"
# Push integrated branch
git push origin integration/<program>-<date>
✅ Fix these integration issues:
❌ Leave these for other agents:
Your task is complete when:
Remember: Your goal is to merge the parallel work and fix only the most basic integration issues so other agents can work on unified code.
Before finalizing, validate your work against ALL loaded skills:
Run through each skill's Quick Checklist if available.