Case Study Expert logo

Case Study Expert

Community
ptreezh
case-study-expert

Case Study expert. Provides case selection, data collection, thematic analysis, cross-case synthesis, and theoretical contribution assessment. Suitable for qualitative research, business case analysis, and empirical investigation.

Overview

Publisherptreezh
Repositorysscisubagent-skills
Skill namecase-study-expert
Stars
45
Forks
7
Bundled files
17
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 17 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ptreezh on GitHub. Read the source before you install it.

Installation

Install the Case Study Expert AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ptreezh/sscisubagent-skills/tree/main/skills/case-study-expert
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptreezh/sscisubagent-skills.git /tmp/sscisubagent-skills
mkdir -p .claude/skills
cp -r /tmp/sscisubagent-skills/skills/case-study-expert .claude/skills/case-study-expert
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Case Study Expert in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Case Study Expert on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Case Study Expert is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

---|------|------|---------| | 探索性 | 生成假设 | 开放性 | 现象新颖 | | 描述性 | 描述现象 | 完整性 | 已有理论框架 | | 解释性 | 解释因果 | 验证性 | 因果机制研究 |

研究设计

设计要素

研究问题
    │
    ↓
┌─────────────────────────────────┐
│         研究设计                │
│  ┌───────────────────────────┐  │
│  │ 理论框架                  │  │
│  │ (命题/假设)               │  │
│  └───────────────────────────┘  │
│  ┌───────────────────────────┐  │
│  │ 案例选择                  │  │
│  │ (单案例/多案例)           │  │
│  └───────────────────────────┘  │
│  ┌───────────────────────────┐  │
│  │ 数据收集                  │  │
│  │ (多证据来源)              │  │
│  └───────────────────────────┘  │
│  ┌───────────────────────────┐  │
│  │ 数据分析                  │  │
│  │ (模式匹配/逻辑模型)       │  │
│  └───────────────────────────┘  │
└─────────────────────────────────┘
    │
    ↓
研究结论

单案例设计

选择依据:

  • 关键案例: 测试理论的核心命题
  • 极端案例: 不寻常的极端情况
  • 典型案例: 代表常见情况
  • 启示性案例: 之前无法研究的情况
  • 纵向案例: 追踪变化过程

多案例设计

复制逻辑 (非抽样逻辑):

案例选择
├── 逐案例复制
│   ├── 案例A (预测相似结果)
│   ├── 案例B (预测相似结果)
│   └── 案例C (预测相似结果)
│
└── 理论复制
    ├── 案例D (预测不同结果)
    └── 案例E (预测不同结果)

数据收集

三角验证策略

数据来源具体方法优势
档案记录文件、报告、记录稳定、可重复
访谈开放式、焦点小组直接视角
直接观察参与式、非参与式真实行为
参与观察研究者参与深入理解
物理人工制品工具、产品实物证据

数据收集原则

  1. 多证据来源: 三角验证
  2. 案例研究数据库: 系统记录
  3. 证据链: 可追溯性

数据分析

分析技术

技术描述应用
模式匹配比较经验模式与预测模式验证理论
解释构建逐步构建因果解释解释性案例
时间序列分析追踪随时间变化纵向案例
逻辑模型因果链分析过程追踪
跨案例比较多案例综合理论构建

模式匹配示例

理论预测模式:
投入A → 过程B → 产出C

经验观察模式:
案例X: 投入A → 过程B → 产出C (匹配)
案例Y: 投入A → 过程B'→ 产出C (部分匹配)
案例Z: 投入A'→ 过程B → 产出C' (不匹配)

结论: 理论得到部分支持,需要修正

质量标准

四个质量检验

检验策略技术
构念效度确保测量准确多证据来源、证据链
内部效度确保因果推断模式匹配、解释构建
外部效度确保推广性复制逻辑、案例分析
信度确保可重复案例研究草案、数据库

提高研究质量

构念效度
├── 多来源三角验证
├── 证据链建立
└── 关键信息提供者审查

内部效度
├── 模式匹配
├── 解释构建
├── 时间序列分析
└── 竞争性解释分析

外部效度
├── 复制逻辑
├── 分析性推广
└── 理论框架

信度
├── 案例研究草案
├── 案例研究数据库
└── 研究者培训

Yin vs Stake 方法论比较

维度Yin (实证主义)Stake (建构主义)
目的验证理论理解案例
设计预设设计涌现设计
分析模式匹配主题分析
推广分析性推广自然推广
角色客观观察者解释性研究者

使用示例

用户: 设计一个研究企业数字化转型的案例研究

AI: 我推荐采用多案例解释性设计:

## 研究问题
企业数字化转型如何影响组织能力?
什么因素影响转型的成功与失败?

## 案例选择(复制逻辑)
逐案例复制(预期成功):
- 案例A: 大型制造企业
- 案例B: 中型零售企业

理论复制(预期差异):
- 案例C: 传统企业(失败案例)
- 案例D: 数字原生企业(对照)

## 数据收集(三角验证)
1. 半结构化访谈(n=30人/案例)
2. 企业内部文档(战略报告、会议记录)
3. 直接观察(工作场所观察)
4. 外部资料(行业报告、新闻)

## 分析框架
[模式匹配 + 跨案例比较]

🖥️ Python 工具

工具链

#工具名称功能描述
1case_selector.py案例选择工具,支持逐案例复制和理论复制逻辑
2pattern_matcher.py模式匹配分析,验证经验模式与理论预测一致性
3cross_case_analyzer.py跨案例比较分析,支持多案例综合与理论构建

CLI用法

bash
python tools/case_selector.py --criteria replication --output selected_cases.json
python tools/pattern_matcher.py --input case_data.json --pattern theory_predicted
python tools/cross_case_analyzer.py --input cases/ --method comparative

🚫 绝对禁止原则

使用前必读:以下原则是不可逾越的红线,违反将导致研究结论无效。

  1. 禁止跳过研究伦理审查 — 未获IRB批准的实证研究不得用于发表
  2. 禁止捏造或篡改数据 — 任何形式的数据造假均违反学术伦理
  3. 禁止忽视研究局限性 — 必须在论文中诚实报告研究局限
  4. 禁止剽窃他人研究成果 — 必须正确引用所有参考来源
  5. 禁止选择性报告结果 — 阴性结果同样需要报告
  6. 禁止使用不匹配的分析方法 — 必须根据研究问题选择合适方法

参考文献

  1. Yin, R.K. (2018). Case Study Research and Applications. 6th ed.
  2. Stake, R.E. (1995). The Art of Case Study Research.
  3. Eisenhardt, K.M. (1989). Building theories from case study research. AMR, 14, 532-550.
  4. George, A.L., & Bennett, A. (2005). Case Studies and Theory Development.

技能版本: 5.0.0
方法论标准: Yin (2018), Stake (1995)
创建时间: 2026-03-15

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Case Study Expert AI skill do?

Case Study expert. Provides case selection, data collection, thematic analysis, cross-case synthesis, and theoretical contribution assessment. Suitable for qualitative research, business case analysis, and empirical investigation.

Why use Case Study Expert on TypingMind?

Because you install it once and use it with any model. Case Study Expert is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Case Study Expert in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ptreezh/sscisubagent-skills/tree/main/skills/case-study-expert. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Case Study Expert?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Case Study Expert?

As many as you like. As long as a model supports skills, you can use Case Study Expert with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Case Study Expert AI skill free?

Yes. It is published on GitHub by ptreezh under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇