skills/43-wentorai-research-plugins/skills/research/methodology/qualitative-research-guide/SKILL.md
Design and conduct qualitative research using grounded theory and case studies
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research qualitative-research-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A skill for designing and conducting rigorous qualitative research. Covers major qualitative traditions, data collection methods, coding and analysis techniques, and quality criteria for trustworthy qualitative findings.
| Approach | Research Question Type | Unit of Analysis | Sample Size | Output | |----------|----------------------|-----------------|-------------|--------| | Grounded Theory | How does a process work? | Process/action | 20-60 | Theory | | Phenomenology | What is the lived experience? | Experience | 5-25 | Essence description | | Case Study | How/why does this case work? | Bounded system | 1-5 cases | Case description | | Ethnography | How does this culture work? | Cultural group | Extended fieldwork | Cultural portrait | | Narrative | What is this person's story? | Individual life | 1-5 | Narrative account | | Thematic Analysis | What patterns exist in this data? | Themes across data | Variable | Theme map |
Data Collection (interviews, observations)
|
v
Open Coding: Line-by-line coding of raw data
|
v
Axial Coding: Grouping codes into categories,
identifying relationships
|
v
Selective Coding: Identifying the core category
that integrates all others
|
v
Theoretical Saturation: Stop when new data
no longer generates new codes
|
v
Substantive Theory: A grounded explanation of the phenomenon
def create_interview_protocol(research_questions: list[str],
n_questions: int = 10) -> dict:
"""
Generate a semi-structured interview protocol template.
Args:
research_questions: The study's research questions
n_questions: Target number of interview questions
"""
protocol = {
'opening': {
'rapport_building': [
"Thank you for participating. Before we begin, could you "
"tell me a little about yourself and your background?",
"How did you first become involved in [topic]?"
],
'time_estimate': '60-90 minutes'
},
'main_questions': [],
'closing': {
'wrap_up': [
"Is there anything else you would like to share that we "
"have not covered?",
"Looking back, what stands out most to you about [topic]?",
"Do you have any questions for me?"
]
},
'guidelines': [
'Ask open-ended questions (how, what, tell me about)',
'Avoid leading questions',
'Use probes: "Can you give me an example?"',
'Use follow-ups: "You mentioned X, tell me more about that"',
'Allow silences -- do not rush to fill pauses',
'Record field notes immediately after each interview'
]
}
# Generate question structure
for i, rq in enumerate(research_questions):
protocol['main_questions'].append({
'research_question': rq,
'interview_questions': [
f'Grand tour question for RQ{i+1}',
f'Follow-up probe for RQ{i+1}',
f'Example-seeking probe for RQ{i+1}'
]
})
return protocol
| Strategy | Description | When to Use | |----------|------------|------------| | Purposive | Select information-rich cases | Most qualitative studies | | Maximum variation | Select cases that differ on key dimensions | Capture range of experiences | | Snowball | Participants refer others | Hard-to-reach populations | | Theoretical | Driven by emerging theory | Grounded theory studies | | Critical case | Select cases that are pivotal | Testing theoretical propositions | | Convenience | Readily available participants | Pilot studies only |
def thematic_analysis_workflow(transcripts: list[str]) -> dict:
"""
Outline the six phases of reflexive thematic analysis.
"""
phases = {
'phase_1_familiarization': {
'actions': [
'Read and re-read all transcripts',
'Note initial impressions in a research journal',
'Transcribe recordings if not already done'
],
'output': 'Familiarity with data, initial notes'
},
'phase_2_coding': {
'actions': [
'Code every data segment systematically',
'Use open coding (inductive) or deductive codes from framework',
'Code inclusively -- same segment can have multiple codes',
'Maintain a codebook with definitions and examples'
],
'output': 'Coded dataset, codebook'
},
'phase_3_generating_themes': {
'actions': [
'Collate codes into potential themes',
'Create a thematic map showing relationships',
'Distinguish between semantic and latent themes'
],
'output': 'Candidate themes and sub-themes'
},
'phase_4_reviewing_themes': {
'actions': [
'Check themes against coded extracts',
'Check themes against entire dataset',
'Merge, split, or discard themes as needed'
],
'output': 'Refined thematic map'
},
'phase_5_defining_themes': {
'actions': [
'Write a detailed description of each theme',
'Identify the essence of each theme',
'Name themes concisely and informatively'
],
'output': 'Theme definitions and names'
},
'phase_6_writing_up': {
'actions': [
'Weave together analytic narrative and data extracts',
'Select vivid, compelling quotes for each theme',
'Connect themes to research questions and literature'
],
'output': 'Final analysis write-up'
}
}
return {
'phases': phases,
'n_transcripts': len(transcripts),
'estimated_time': f'{len(transcripts) * 4}-{len(transcripts) * 8} hours'
}
codebook:
- code: "ADAPT"
definition: "Participant describes adapting their behavior in response to a challenge"
inclusion_criteria: "Explicit mention of changing approach or strategy"
exclusion_criteria: "Passive acceptance without behavioral change"
example_quote: "I started doing things differently after that..."
theme: "Resilience Strategies"
- code: "BARR"
definition: "Participant identifies a barrier or obstacle"
inclusion_criteria: "Something that prevented or hindered progress"
exclusion_criteria: "General complaints without specific barrier"
example_quote: "The main thing holding me back was..."
theme: "Challenges"
| Criterion | Quantitative Equivalent | Strategies | |-----------|------------------------|-----------| | Credibility | Internal validity | Member checking, triangulation, prolonged engagement | | Transferability | External validity | Thick description, purposive sampling | | Dependability | Reliability | Audit trail, peer debriefing | | Confirmability | Objectivity | Reflexivity journal, negative case analysis |
For team-based coding, calculate Cohen's kappa or percent agreement on a subset of data (at least 10-20% of the corpus). Aim for kappa > 0.70 before independent coding proceeds.
Follow the COREQ (Consolidated Criteria for Reporting Qualitative Research) checklist: report researcher positionality, sampling strategy, data collection methods, analysis approach, and provide sufficient quotations to evidence each theme.
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.