skills/43-wentorai-research-plugins/skills/domains/social-science/survey-research-guide/SKILL.md
Design, deploy, and analyze surveys for social science and organizational res...
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research survey-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 practical skill for conducting rigorous survey research from instrument design through data analysis. Covers questionnaire construction, sampling strategies, administration methods, response bias mitigation, and analytical techniques commonly used in communication studies, anthropology, management, and sociology.
Map your research questions to survey constructs:
def create_survey_blueprint(research_questions: list[dict]) -> dict:
"""
Generate a survey blueprint mapping RQs to constructs and items.
Args:
research_questions: List of dicts with 'rq', 'constructs', 'hypothesized_relationship'
"""
blueprint = {'sections': [], 'total_estimated_items': 0}
for rq in research_questions:
section_items = 0
constructs = []
for construct in rq['constructs']:
n_items = construct.get('n_items', 4) # default 4 items per construct
constructs.append({
'name': construct['name'],
'type': construct.get('type', 'latent'),
'scale': construct.get('scale', 'Likert 7-point'),
'validated_instrument': construct.get('instrument', None),
'items_needed': n_items
})
section_items += n_items
blueprint['sections'].append({
'research_question': rq['rq'],
'constructs': constructs,
'total_items': section_items
})
blueprint['total_estimated_items'] += section_items
# Estimate completion time (3-4 items per minute)
blueprint['estimated_minutes'] = round(blueprint['total_estimated_items'] / 3.5, 1)
return blueprint
# Example
rqs = [
{
'rq': 'How does organizational culture affect employee innovation?',
'constructs': [
{'name': 'organizational_culture', 'instrument': 'OCAI (Cameron & Quinn)'},
{'name': 'employee_innovation', 'instrument': 'Innovative Work Behavior Scale'}
],
'hypothesized_relationship': 'positive'
}
]
print(create_survey_blueprint(rqs))
Rules for writing effective survey items:
DO:
- Use simple, unambiguous language (8th grade reading level)
- Ask about one concept per item
- Provide a reference period ("In the past 30 days...")
- Include both positively and negatively worded items (reverse-coded)
- Match response options to the question stem
DO NOT:
- Use double negatives ("I do not disagree...")
- Use absolutes ("always", "never")
- Ask hypothetical questions when actual behavior data is available
- Include two ideas in one question (double-barreled)
- Assume knowledge or use jargon
| Scale Type | Use Case | Example | |-----------|----------|---------| | Likert (agreement) | Attitudes, beliefs | Strongly Disagree to Strongly Agree | | Frequency | Behavioral frequency | Never / Rarely / Sometimes / Often / Always | | Semantic differential | Perceptions | Cold ------- Warm | | Visual analog (VAS) | Continuous measurement | 0-100mm line | | Ranking | Relative preferences | Rank items 1 through N |
| Mode | Response Rate | Cost | Data Quality | Best For | |------|-------------|------|-------------|----------| | Online (Qualtrics/SurveyMonkey) | 10-30% | Low | Moderate | General population, students | | Telephone (CATI) | 15-40% | High | High | Older adults, nationally representative | | In-person (CAPI) | 50-70% | Very high | Highest | Sensitive topics, low-literacy populations | | Mail | 20-40% | Moderate | Moderate | Rural populations, older adults | | Mixed-mode | 30-60% | Moderate-high | High | Coverage optimization |
def detect_response_patterns(responses: pd.DataFrame,
reverse_items: list[str]) -> dict:
"""
Flag potential problematic response patterns.
"""
flags = {}
# 1. Straight-lining detection
row_variance = responses.var(axis=1)
flags['straight_liners'] = (row_variance < 0.1).sum()
# 2. Speeding (if timing data available)
if 'completion_seconds' in responses.columns:
median_time = responses['completion_seconds'].median()
flags['speeders'] = (responses['completion_seconds'] < median_time * 0.33).sum()
# 3. Inconsistency (reverse-coded item pairs)
if reverse_items:
for rev_item in reverse_items:
original = rev_item.replace('_R', '')
if original in responses.columns and rev_item in responses.columns:
max_scale = responses[original].max()
expected = max_scale + 1 - responses[rev_item]
diff = abs(responses[original] - expected)
flags[f'inconsistent_{original}'] = (diff > 2).sum()
# 4. Missing data pattern
flags['pct_missing'] = responses.isnull().mean().mean() * 100
return flags
For testing hypothesized relationships between latent constructs:
# Using semopy for SEM in Python
# pip install semopy
model_spec = """
# Measurement model
org_culture =~ oc1 + oc2 + oc3 + oc4
innovation =~ inn1 + inn2 + inn3 + inn4
job_satisfaction =~ js1 + js2 + js3
# Structural model
innovation ~ org_culture + job_satisfaction
job_satisfaction ~ org_culture
"""
# Fit indices to report:
# - Chi-square (p > 0.05)
# - CFI > 0.95
# - TLI > 0.95
# - RMSEA < 0.06
# - SRMR < 0.08
Report reliability (Cronbach's alpha, composite reliability), convergent validity (AVE > 0.50), and discriminant validity (Fornell-Larcker criterion) for all latent constructs.
Follow the AAPOR (American Association for Public Opinion Research) reporting guidelines: report response rate, sampling method, margin of error, field dates, mode of administration, and weighting procedures. For academic publication, include the full survey instrument as supplementary material.
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.