Generate Analysis Code
---
id: generate_analysis_code
title: "Generate Analysis Code"
category: technology
role: data_professional
expertise: data_analysis
kind: creation
status: draft
version: 0.1.0
description: "Create SQL, Python, or notebook code for analysis."
inputs:
- "objective"
- "context"
- "source_material"
- "audience"
- "style_guidelines"
- "constraints"
- "must_include"
- "must_avoid"
- "acceptance_criteria"
outputs:
- "structured_response"
tags:
- technology
- data_professional
- data_analysis
- creation
related_workflows:
- data_analysis_workflow
---
# Generate Analysis Code
Create SQL, Python, or notebook code for analysis.
## When to use
Use this prompt when working as a **Data Professional** in **Data Analysis** and you need to complete this action with a structured, high-quality LLM response.
## Promptwhen to use it
Community prompt sourced from the open-source GitHub repo fonij2002/promptry (no explicit license). A "Generate Analysis Code" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
fonij2002/promptry · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions