with one click
performing-open-coding
当用户需要执行扎根理论的开放编码,包括中文质性数据的概念识别、初始编码、持续比较和备忘录撰写时使用此技能。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
当用户需要执行扎根理论的开放编码,包括中文质性数据的概念识别、初始编码、持续比较和备忘录撰写时使用此技能。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
行动者网络理论专家分析技能,整合参与者识别、网络分析和转译过程追踪功能,提供全面的ANT分析框架
当用户需要执行行动者网络理论分析,包括参与者识别、关系网络构建、转译过程追踪和网络动态分析时使用此技能
当用户需要检验扎根理论饱和度,包括新概念识别、范畴完善度、关系充分性和理论完整性评估时使用此技能
执行布迪厄场域分析,包括场域边界识别、资本分布分析、自主性评估和习性模式分析。当需要分析社会场域的结构、权力关系和文化资本时使用此技能。
扎根理论专家分析技能,整合开放编码、轴心编码、选择式编码、备忘录撰写和理论饱和度检验功能,提供完整的扎根理论分析框架
当用户需要执行扎根理论的轴心编码,包括范畴识别、属性维度分析、关系建立和Paradigm模型构建时使用此技能
| name | performing-open-coding |
| description | 当用户需要执行扎根理论的开放编码,包括中文质性数据的概念识别、初始编码、持续比较和备忘录撰写时使用此技能。 |
| version | 1.1.0 |
| author | socienceAI.com |
| tags | ["grounded-theory","open-coding","concept-identification","initial-coding","qualitative-analysis","planning-with-files"] |
| compatibility | Claude 3.5 Sonnet and above |
| metadata | {"domain":"qualitative-research","methodology":"grounded-theory","complexity":"intermediate","integration_type":"analysis_tool","last_updated":"2026-01-23"} |
| dependencies | ["planning-with-files"] |
| allowed-tools | ["python","bash","read_file","write_file"] |
专门用于扎根理论研究的开放编码阶段,对中文质性数据进行系统性的概念识别和初始编码工作。
Use this skill when the user requests:
When a user requests open coding:
当用户提到以下需求时,使用此技能:
当需要执行开放编码的不同阶段时,调用对应的脚本:
preprocess_text.pyauto_loader.pycompare_codes.pycluster_concepts.pyvalidate_codes.py{
"coding_context": {
"research_topic": "研究主题",
"data_source_type": "数据来源类型(访谈/观察/文档)",
"language": "数据语言",
"coding_purpose": "编码目的"
},
"raw_data": {
"content": "原始文本内容",
"segments": [
{
"id": "段落ID",
"text": "段落文本",
"context": "上下文信息"
}
]
},
"coding_parameters": {
"abstraction_level": "抽象层次",
"coding_depth": "编码深度",
"theoretical_focus": "理论关注点"
},
"previous_results": {
"concepts": "之前识别的概念",
"codes": "之前创建的编码",
"memos": "之前的备忘录"
}
}
{
"summary": {
"total_concepts": "识别的概念总数",
"total_codes": "创建的编码总数",
"processing_time": "处理时间(秒)",
"coding_progress": "编码进度"
},
"details": {
"concepts": [
{
"id": "概念ID",
"name": "概念名称(动词开头)",
"definition": "概念定义",
"examples": ["示例1", "示例2"],
"frequency": "出现频率",
"source_segments": ["来源段落ID列表"]
}
],
"codes": [
{
"id": "编码ID",
"concept_id": "关联概念ID",
"segment_id": "来源段落ID",
"code_text": "编码文本",
"context": "上下文信息"
}
],
"relationships": [
{
"from_concept": "源概念ID",
"to_concept": "目标概念ID",
"relationship_type": "关系类型",
"strength": "关系强度(0-1)"
}
],
"statistics": {
"concept_diversity": "概念多样性",
"coding_density": "编码密度",
"intercoder_agreement": "编码者间一致性(可选)"
}
},
"metadata": {
"timestamp": "时间戳",
"version": "版本号",
"skill": "performing-open-coding",
"processing_stage": "处理阶段"
}
}
# 1. 文本预处理
python scripts/preprocess_text.py --input interview.txt --output clean.json
# 2. 快速概念提取
python scripts/auto_loader.py --input interview.txt --output concepts.json
# 3. 持续比较
python scripts/compare_codes.py --input concepts.json --output comparison.json
# 4. 概念聚类(可选)
python scripts/cluster_concepts.py --input concepts.json --output clusters.json
# 5. 编码验证
python scripts/validate_codes.py --input concepts.json --output validation.json
使用预处理工具清洗文本:
python scripts/preprocess_text.py --input raw.txt --output clean.json
关键要点:
详见:references/theory.md - 预处理原理
使用自动提取工具获得初步概念:
python scripts/auto_loader.py --input raw.txt --output concepts_v1.json
编码原则:
详见:references/examples.md - 完整编码案例
人工精炼:
使用比较工具识别重复和关系:
python scripts/compare_codes.py --input concepts.json --output comparison.json
比较维度:
详见:references/theory.md - 持续比较方法
使用聚类发现模式(可选):
python scripts/cluster_concepts.py --input concepts.json --output clusters.json
使用验证工具检查质量:
python scripts/validate_codes.py --input concepts.json --output validation.json
质量标准:
详见:references/troubleshooting.md - 常见问题解决
记录编码过程的关键思考:
详见:writing-grounded-theory-memos 技能
所有工具使用统一的三层JSON格式:
{
"summary": {
"total_concepts": 20,
"top_concepts": ["学习", "帮助", "关系"],
"processing_time": 2.5
},
"details": {
"concepts": [...],
"statistics": {...}
},
"metadata": {
"timestamp": "2025-12-18T10:30:00",
"version": "1.0.0"
}
}
详见:references/examples.md - 完整输出示例
在完成开放编码后,请检查以下项目:
快速诊断:
references/troubleshooting.md - 问题1、2references/troubleshooting.md - 问题3compare_codes.py 自动识别validate_codes.py 检查中文特殊性:
references/chinese-context.mdreferences/theory.md - 扎根理论流派、核心原则references/examples.md - 完整编码过程references/troubleshooting.md - 问题诊断和解决references/chinese-context.md - 文化和语言特点完成开放编码后,应该产出:
此技能专为中文质性研究设计,提供从数据预处理到概念提取的完整开放编码支持。