survey-story-builder

Use this skill when turning raw employee or customer survey results into a leadership presentation outline and a single-file interactive results webpage. Enforces anonymity checks, small-group suppression (n < 5), median vs. mean outlier checks, and auditable open-ended theme counts.

¿Qué es survey-story-builder?

survey-story-builder is a Claude Code agent skill that use this skill when turning raw employee or customer survey results into a leadership presentation outline and a single-file interactive results webpage. Enforces anonymity checks, small-group suppression (n < 5), median vs. mean outlier checks, and auditable open-ended theme counts.

Compatible con✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/crypticpy/agentic-class/tree/HEAD/public/skills/survey-story-builder

Installed? Explore more Investigación y análisis de datos skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Survey Results & Interactive Explainer Builder

Objective

Turn raw survey responses into an honest leadership slide outline and a clean, clickable single-file HTML results page, without exposing small groups or letting outliers distort the findings.

Data & Privacy Rules (Follow Strictly)

  1. Audit Before Summarizing: Report total raw rows, duplicate IDs removed, blank ratings, and inconsistent text labels before computing any summary numbers.
  2. Suppress Small Groups (n < 5) & Prevent Back-Calculation: Never report a separate average, chart bar, or attributed quote for any subgroup with fewer than 5 respondents. If only one group has n < 5, combine it with a related larger group (or suppress a second small group) so readers cannot subtract the visible groups from the overall total to back-calculate the hidden group.
  3. Show Both Mean and Median: Whenever numeric responses (like commute time or wait time) have extreme outliers, display both the median and the mean and call out the outlier openly.
  4. Always Show Sample Size (n): Label every chart and metric with the exact valid count (for example, n = 45 valid responses, 3 blank).
  5. Auditable Open-Ended Coding: Group free-text comments into clear themes with exact counts divided by the clean unique total (explicitly noting that multi-label theme percentages need not sum to 100%) and anonymized sample quotes so the user can spot-check 10 raw rows against the summary.

Step 1: Data Hygiene Audit

Inspect the pasted or uploaded survey sample and list:

  • Total rows vs. unique respondents (flag duplicates)
  • Any subgroup with n < 5 to suppress
  • Blanks, text inconsistencies, or numeric outliers
  • Up to 2 clarifying questions about the audience if needed

STOP after Step 1 and ask the user to confirm the clean numbers and privacy roll-up before drafting Step 2.

Step 2: Leadership Slide Outline (5 Slides)

Draft a concise 5-slide outline (one clear takeaway per slide):

  1. Bottom Line & Response Overview (n, response rate if known, top 3 takeaways)
  2. Headline Metrics (overall satisfaction/scores with median and mean)
  3. Department or Group Comparison (only groups with n >= 5, with clear caveat note)
  4. What People Said in Their Own Words (top 4 themes with counts and anonymized quotes)
  5. Recommended Next Actions (3 concrete, low-cost actions tied directly to the top themes)

Step 3: Single-File Interactive HTML Results Webpage & Self-Check Loop

Before presenting the final 5-slide outline and interactive HTML page, run an internal self-check pass and fix any gap yourself:

  • Verify zero subgroups with n < 5 appear in any slide bullet, HTML filter button, hidden filter list inside the webpage, or attributed quote (and confirm no lone small group can be back-calculated from visible totals).
  • Verify every headline metric and chart carries its exact valid sample size (n) and displays both median and mean when numeric outliers exist.
  • Verify open-ended theme counts state their exact unique denominator clearly (noting that multi-label percentages need not sum to 100%) and include a visible Data Notes & Privacy footer.

When the user confirms the audited numbers, generate a clean, self-contained HTML explainer page (preview live in Claude Artifacts or Gemini Canvas, or save the code as survey-results.html and double-click to open in Chrome or Edge) featuring:

  • Top summary KPI cards with explicit n labels
  • Simple group filter buttons using only privacy-safe groups (n >= 5, with any single small group rolled up so it cannot be back-calculated)
  • Clickable theme tabs showing counts and anonymized quotes
  • A visible "Data Notes & Privacy" footer stating how duplicates, outliers, and small groups were handled

Optional Tool & Connector Handoff (Agent / Cowork Mode)

  • If running inside an approved agent workspace with a Microsoft Forms or SharePoint Connector (App Keycard), read closed survey exports from an approved folder in read-only mode, execute Step 1's Hygiene & Privacy Audit, pause for human approval, and stage the draft deck outline and HTML page for leadership review rather than publishing automatically.
  • If the team runs recurring pulse surveys, offer to pair with skill-packager to lock their n < 5 privacy roll-up rules and brand HTML styles into a reusable team SKILL.md.

Step 4: Manual Verification Checklist

End with 3 checks the user must run by hand:

  • Confirm unique respondent count matches the cleaned spreadsheet
  • Verify no subgroup with n < 5 appears in any chart or quote
  • Spot-check 10 raw open-ended comments against the theme labels

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

Skills relacionados