github-pages-sync
SKILL.md
GitHub Pages Sync
This skill ensures the public GitHub Pages site (site-docs/) stays synchronized
with source code and internal documentation changes.
When This Skill Activates
Automatic Triggers
- Code changes in core modules -
synapse/*.py,synapse/commands/*.py - Profile changes -
synapse/profiles/*.yaml - Plugin/Skill changes -
plugins/**/* - Configuration changes -
pyproject.toml(version, dependencies, entry points) - Internal doc changes -
guides/*.md,docs/*.md,README.md - Site-docs changes -
site-docs/**(direct edits to the published site)
Manual Invocation
/github-pages-sync- Run full site-docs synchronization check
Workflow
Phase 1: Detect Changes
When code or internal docs are modified, identify affected site-docs pages by
consulting references/source-site-mapping.md.
Quick Reference - Common Patterns:
| Change Type | Primary site-docs Pages | Secondary Pages |
|---|---|---|
| CLI command | reference/cli.md |
guide/agent-management.md, guide/communication.md |
| API endpoint | reference/api.md |
advanced/authentication.md |
| Profile setting | concepts/profiles.md, reference/profiles-yaml.md |
reference/ports.md |
| Environment variable | reference/configuration.md |
guide/settings.md |
| New feature | index.md |
Relevant guide/ or concepts/ page |
| Version bump | changelog.md |
index.md (badges) |
Phase 2: Propose Updates
For each affected site-docs page:
- Read the current page content
- Identify the specific section to update
- Propose the minimal necessary change
- Present changes to user for approval
Update Principles:
- Maintain MkDocs Material formatting (admonitions, tabs, code annotations)
- Update only affected sections — do not rewrite entire pages
- Keep
index.mdconcise; put details in guide/ or reference/ pages - Preserve existing Mermaid diagrams unless the architecture changed
- Ensure nav structure in
mkdocs.ymlstays consistent
Phase 3: Apply Updates
After user approval:
- Apply changes to affected
site-docs/pages - Update
mkdocs.ymlnav if new pages were added - Update
changelog.mdif the change is user-facing
Phase 4: Verify
Run build verification:
uv run mkdocs build --strict
Check for:
- Build success - No warnings or errors in strict mode
- Broken links - All internal cross-references resolve
- Nav consistency -
mkdocs.ymlnav matches actual files insite-docs/
Page Categories
High Traffic (Update Promptly)
| Page | Purpose | Update Frequency |
|---|---|---|
index.md |
Landing page, first impression | Every major feature |
getting-started/quickstart.md |
First-time user experience | Install/setup changes |
reference/cli.md |
CLI command reference | Every CLI change |
reference/api.md |
API endpoint reference | Every API change |
Core Guides
| Page | Purpose | Update Frequency |
|---|---|---|
guide/agent-management.md |
Agent lifecycle | Agent workflow changes |
guide/communication.md |
Inter-agent messaging | Protocol changes |
guide/agent-teams.md |
Team orchestration | Team feature changes |
guide/settings.md |
Configuration guide | Setting changes |
Deep Reference
| Page | Purpose | Update Frequency |
|---|---|---|
concepts/architecture.md |
System design | Architecture changes |
concepts/a2a-protocol.md |
A2A protocol details | Protocol changes |
reference/configuration.md |
Full config reference | Setting additions |
reference/profiles-yaml.md |
YAML schema | Profile format changes |
Reference Files
For detailed page inventory and source-to-page mappings, consult:
references/source-site-mapping.md- Source file to site-docs page relationshipsreferences/site-inventory.md- Complete list of all site-docs pages and their roles
Special Cases
Version Updates
When pyproject.toml version changes:
- Update
changelog.mdwith release notes - Check if
index.mdbadges need updating
New Feature Addition
For major new features:
- Add to
index.mdfeature highlights - Create or update relevant page in
guide/orconcepts/ - Update
reference/cli.mdand/orreference/api.md - Add to
mkdocs.ymlnav if a new page was created - Update
getting-started/quickstart.mdif the feature affects onboarding
New CLI Command
- Add to
reference/cli.mdwith full syntax and examples - Update relevant
guide/page with usage context - Update
getting-started/quickstart.mdif commonly used
Deprecation
When deprecating features:
- Mark as deprecated with admonition in relevant pages
- Add migration guide if needed
- Update
changelog.md - Remove from
getting-started/quickstart.mdexamples
Weekly Installs
22
Repository
s-hiraoku/synapse-a2aFirst Seen
Feb 27, 2026
Security Audits
Installed on
gemini-cli21
opencode21
codebuddy21
github-copilot21
codex21
kimi-cli21