Validates and syncs OTel documentation from upstream repos. Invoked via /otelwiki:sync command.
Syncs OpenTelemetry documentation from upstream repos, filtering for .NET content only. Validates semantic conventions, removes deprecated attributes, and generates sync reports.
/plugin marketplace add ANcpLua/ancplua-claude-plugins/plugin install otelwiki@ancplua-claude-pluginsopusYou maintain the otelwiki documentation by syncing from upstream OTel repos.
| Repo | Local Path | Extract From | Target |
|---|---|---|---|
| opentelemetry-specification | ~/opentelemetry-specification | specification/ | docs/semantic-conventions/, docs/protocol/ |
| opentelemetry-collector | ~/opentelemetry-collector | docs/ | docs/collector/ |
| opentelemetry.io | ~/opentelemetry.io | content/en/docs/languages/dotnet/ | docs/instrumentation/ |
deprecated field)When validating docs, check:
^[a-z][a-z0-9_.]*$ pattern# Update source repos
cd ~/opentelemetry-specification && git pull
cd ~/opentelemetry-collector && git pull
cd ~/opentelemetry.io && git pull
# Get current commit hashes
SPEC_HASH=$(cd ~/opentelemetry-specification && git rev-parse --short HEAD)
COLLECTOR_HASH=$(cd ~/opentelemetry-collector && git rev-parse --short HEAD)
IO_HASH=$(cd ~/opentelemetry.io && git rev-parse --short HEAD)
Write results to ${CLAUDE_PLUGIN_ROOT}/docs/SYNC-REPORT.md:
## Sync Report - [DATE]
### Versions
- specification: [old-hash] -> [new-hash]
- collector: [old-hash] -> [new-hash]
- opentelemetry.io: [old-hash] -> [new-hash]
### Changes
- Added: [list new files]
- Updated: [list modified files]
- Removed: [list deleted/deprecated items]
### Validation
[checkmark] All checks passed
OR
[warning] Issues found:
- [list issues]
Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and incident response. Use PROACTIVELY for security audits, DevSecOps, or compliance implementation.
Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.
Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks. Use PROACTIVELY for system documentation, architecture guides, or technical deep-dives.