unit-1: bundle messaging-performance-analyzer + MDR analyzer#9
Closed
sent-dm wants to merge 1 commit into
Closed
Conversation
- Move references/mdr-status-codes.md into the skill's own references/
so the file lives with the only skill that consumes it.
- Add references/performance-diagnosis-playbook.md: decision tree for
which signal to investigate first, per-channel diagnostic patterns,
cross-skill handoff matrix, and Sent-support escalation criteria.
- Add scripts/analyze_mdr_funnel.py (Python 3.11+, stdlib only): parses
CSV or JSON MDR exports, computes per-stage funnel counts and drop-off
percentages across QUEUED -> ROUTED -> SENT -> DELIVERED -> READ, exits
non-zero when any stage exceeds --threshold (default 20%).
- Add scripts/fixtures/{good,bad}.json: 100-message synthetic exports for
smoke-testing the analyzer (good is healthy, bad has a >50% drop at
SENT -> DELIVERED).
- Update SKILL.md with a Bundled-references-and-scripts table and a
pointer to the top-level Sent glossary; namespace Related-Skills
refs with sent-skills:.
sent-dm
added a commit
that referenced
this pull request
May 19, 2026
…analyzer Manually rebased onto dev (worker branched from pre-baseline main). Per-skill content is identical to PR #9. - Move references/mdr-status-codes.md → skills/messaging-performance-analyzer/references/ - Add performance-diagnosis-playbook.md - Add analyze_mdr_funnel.py (stdlib only) + good/bad fixtures - Add glossary cross-link to Related skills - Replace aspirational script names in bundled-resources table with the shipped one Closes #9 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Merged manually into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Part of the parallel
/batchrestructure (unit 1 of 13). Bundlesmessaging-performance-analyzerwith its own reference + script payload so the skill is self-contained.Changes
references/mdr-status-codes.mdintoskills/messaging-performance-analyzer/references/(the only skill that cites it).references/performance-diagnosis-playbook.md(~140 lines): decision tree for which signal to investigate first (sender-profile state vs webhook drop vs MDR funnel vs error codes), per-channel diagnostic patterns (SMS carrier filtering, WhatsApp template issues, RCS fallback chain breaks), cross-skill handoff matrix, and Sent-support escalation criteria.scripts/analyze_mdr_funnel.py(Python 3.11+, stdlib only): parses CSV or JSON MDR exports, prints counts and drop-off percentages acrossQUEUED -> ROUTED -> SENT -> DELIVERED -> READ, exits 0 on healthy funnel, 3 on anomaly (with stage + percentage on stderr), 2 on bad input. Supports--threshold N(default 20).scripts/fixtures/{good,bad}.json: 100-message synthetic exports.goodstays at <=10% drop per stage;badhas a 66.7% drop at SENT -> DELIVERED.sent-skills:, and link the top-level glossary.Verification
bash scripts/validate-skills.sh-> exits 0python3 skills/messaging-performance-analyzer/scripts/analyze_mdr_funnel.py .../good.json-> exit 0python3 skills/messaging-performance-analyzer/scripts/analyze_mdr_funnel.py .../bad.json-> exit 3 (SENT -> DELIVERED at 66.7%)--helptext present; CSV input also exercised manuallyreferences//scripts/path in SKILL.md resolves on diskOut of scope
Other skills' SKILL.md files,
scripts/validate-skills.sh, CI workflows, root markdown,.claude-plugin/, andplan.md— per the unit's hard constraints.