replication-orchestrator
БесплатноБез исполняемых скриптовНе проверенOrchestrates end-to-end replication workflows spanning multiple concerns: new environment setup, production incident response, and performance optimization…
от adobe★ 342 звезды на GitHubОб этом скилле
Replication Orchestrator
Coordinates complex replication workflows that span multiple sub-skills (configure, replicate, troubleshoot).
When to Use This Skill
Use the orchestrator for multi-step scenarios requiring coordination across sub-skills:
- New Environment Setup: Configure agents → Test replication → Troubleshoot issues
- Production Incidents: Diagnose problem → Isolate root cause → Fix and verify
- Performance Optimization: Monitor metrics → Tune configuration → Validate improvements
- Migration Preparation: Audit current setup → Document dependencies → Plan cutover
For single-concern tasks, use the specific sub-skill directly instead of the orchestrator.
Workflow 1: New Environment Setup
End-to-end workflow for setting up replication in a new AEM 6.5 LTS environment.
Prerequisites
- Author instance running and accessible
- Publish instance(s) running and accessible
- Dispatcher installed and configured
- Service user accounts created
- Network connectivity verified
Steps
1. Configure Default Replication Agent
Delegate to: configure-replication-agent
Actions:
- Create default replication agent on Author
- Configure transport URI:
http://publish-host:4503/bin/receive?sling:authRequestLogin=1 - Set service user credentials
- Enable the agent
Verification Checkpoint:
# Test agent connectivity
curl -u $AEM_USER:$AEM_PASSWORD \
http://localhost:4502/etc/replication/agents.author/<agent-name>.test.html
Expected: "Replication test succeeded"
2. Configure Dispatcher Flush Agent
Delegate to: configure-replication-agent
Actions:
- Create flush agent on each Publish instance
- Configure transport URI:
http://dispatcher-host:80/dispatcher/invalidate.cache - Set serialization type to "Dispatcher Flush"
- Enable the agent
Verification Checkpoint:
# Test flush agent connectivity
curl -u $AEM_USER:$AEM_PASSWORD \
http://publish-host:4503/etc/replication/agents.publish/flush.test.html
Expected: "Replication (Dispatcher Flush) test succeeded"
3. Test Content Replication
Delegate to: replicate-content
Actions:
- Create test page:
/content/test/replication-check - Activate via Quick Publish
- Verify on Publish instance
- Verify Dispatcher cache invalidation
Verification Checkpoint:
# Check page on Publish
curl http://publish-host:4503/content/test/replication-check.html
# Check page on Dispatcher
curl http://dispatcher-host:80/content/test/replication-check.html
# Verify cache was invalidated (should see fresh content)
Expected: Page content identical on all instances
4. Configure Monitoring
Actions:
- Enable JMX monitoring for queue metrics
- Set up log monitoring for replication errors
- Configure alerts for queue depth > 20 items
- Document runbook for common issues
JMX Bean:
com.day.cq.replication:type=Agent,id=<agent-name>
- QueueNumEntries
- QueueBlocked
- QueueProcessingSince
5. Handle Any Issues
If problems occur, delegate to: troubleshoot-replication
Common setup issues:
- Connection refused → Verify target instance running and network connectivity
- 401 Unauthorized → Check service user credentials
- Queue blocked → Review error.log for root cause
- Content not appearing → Check Dispatcher cache invalidation
Success Criteria
- Default replication agent enabled and passing test
- Dispatcher flush agent enabled and passing test
- Test page successfully replicated to Publish
- Test page accessible via Dispatcher with correct cache headers
- JMX monitoring configured and showing metrics
- Log monitoring configured for replication errors
- Team runbook updated with agent details
Workflow 2: Production Incident Response
End-to-end workflow for diagnosing and resolving production replication issues.
Incident Triage
1. Gather Symptoms
Questions to answer:
- Is content replicating at all? (None vs. Some)
- Which agents are affected? (All vs. Specific)
- When did the issue start? (Timestamp)
- What changed recently? (Deployments, config, network)
Data to collect:
# Check agent status
curl -u $AEM_USER:$AEM_PASSWORD \
http://localhost:4502/etc/replication/agents.author/<agent-name>.html
# Check queue depth
# Navigate to JMX Console: /system/console/jmx
# com.day.cq.replication:type=Agent,id=<agent-name>
# QueueNumEntries value
# Check recent errors
tail -n 100 <aem-install>/crx-quickstart/logs/error.log | grep -i replication
2. Diagnose Root Cause
Delegate to: troubleshoot-replication
Follow diagnostic decision tree:
- Is queue blocked? → Network/connectivity issue
- Are there 401/403 errors? → Authentication issue
- A
Установить replication-orchestrator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл replication-orchestrator?
Orchestrates end-to-end replication workflows spanning multiple concerns: new environment setup, production incident response, and performance optimization for AEM 6.5 LTS.
Как установить скилл replication-orchestrator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл replication-orchestrator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic