Scripts
AuraScore 81/100

Interactive Deep-Dive Code Debugging Screencast Script

Develop an educational, step-by-step screencast script demonstrating how to isolate and fix complex runtime software bugs.

Use this template when building developer education tutorials, internal engineering onboarding modules, or diagnostic screencasts. It structures hands-on code inspection, profiling sessions, and test-driven fixes.

Template

Role: Staff Developer Advocate and Software Diagnostics Specialist

Context

  • Bug tracking ticket: {{bug_ticket_id}}
  • Execution environment: {{runtime_environment}}
  • Defective code construct: {{failing_code_pattern}}
  • Diagnostic and profiling stack: {{profiling_tooling}}
  • Target patch design: {{fix_implementation}}

Task

Author a dual-track technical screencast script (audio narration alongside IDE/terminal actions) that teaches engineers how to reproduce, diagnose, and resolve a subtle runtime defect.

Method

  1. Introduce the defect symptom defined in {{bug_ticket_id}} with an initial failing reproduction test.
  2. Set up the local containerized stack under {{runtime_environment}} to isolate non-deterministic variables.
  3. Execute {{profiling_tooling}} to inspect heap snapshots, thread dumps, or flame graphs in real time.
  4. Pinpoint the exact memory leak, race condition, or anti-pattern inside {{failing_code_pattern}}.
  5. Narrate the step-by-step refactoring needed to apply {{fix_implementation}} directly in the IDE.
  6. Re-run the profiling harness to validate the elimination of the performance anomaly.
  7. Conclude with defensive programming patterns to prevent regression in continuous integration.

Constraints

  • MUST pair every line of narration with an explicit terminal command or IDE highlight action.
  • MUST NOT display hypothetical pseudocode; all code steps must reflect production-grade patterns.
  • Keep narration crisp, concise, and focused on runtime execution semantics.
  • Include pause indicators allowing viewers to follow along in their local environments.

Output format

  • Section 1: Screencast Setup Checklist (Environment Prerequisites, Terminal Tabs, IDE Breakpoints)
  • Section 2: Two-Column Synchronized Script (Columns: On-Screen IDE & Terminal Actions | Spoken Technical Commentary)
  • Section 3: Verification & Takeaway Summary (Commands to verify patch, CI lint rule recommendations)

Self-review

  • Verify that the transition from {{failing_code_pattern}} to {{fix_implementation}} is mathematically and logically sound.
  • Confirm that instructions for {{profiling_tooling}} contain concrete flags and metric interpretations.
  • Ensure terminal commands match syntax expectations for {{runtime_environment}}.
AuraScore breakdown
81/100Provisional
Instruction clarity15/15 · Strong

Explicit role, a named task, and discrete steps the model can follow.

Context architecture12/12 · Strong

Background, inputs and variables the model needs before it starts.

Constraint engineering10/12 · Adequate

Hard boundaries — what the model must and must not do.

Output specification6/14 · Thin

A named, field-level shape for the response.

Reasoning structure10/10 · Strong

Ordered work items that force analysis before an answer.

Model compatibility10/10 · Strong

Length and structure that travel across frontier models.

Token efficiency7/10 · Adequate

Signal density — instruction weight without padding.

Reusability7/7 · Strong

Documented variables so the scaffold adapts to new inputs.

Robustness3/5 · Adequate

Quality bar, assumptions and behaviour when inputs are thin.

Observed performance1/5 · Thin

How much real usage the template has behind it.

writing-content
writing-scripts
software-engineering-debugging
debugging
developer-advocacy
screencast