# Question Parsing

> Load and parse questions from /root/question.txt, extract question IDs and their artifact/product context. Validate that all questions are correctly mapped before proceeding to data retrieval.

- Skill: `cxcscmu/question-parsing` (Agent Skill)
- Install (CLI): `npx get-skill add cxcscmu/question-parsing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cxcscmu/question-parsing/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cxcscmu (https://skillmd.com/u/cxcscmu)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/cxcscmu/question-parsing

---


# Question Parsing Skill

## Step 1: Load Question File
- Read `/root/question.txt` completely
- Handle any encoding issues (UTF-8)
- Preserve all question entries

## Step 2: Parse Each Question
For each line/entry in the file:
- Extract the question ID (e.g., "q1", "q2", "q3")
- Extract the question text
- Identify the **artifact/product context** mentioned in the question
- Identify the **entity type** being asked for (e.g., reviewers, contributors, participants)
- Store parsed metadata in a structured dictionary

## Step 3: Validate and Debug
- Print all parsed questions with their IDs, artifact contexts, and entity types
- Verify the total count matches expectations
- Check for any malformed entries
- Confirm key names and values are correctly extracted

## Step 4: Return Parsed Questions
Return a dictionary mapping question IDs to:
```python
{
  "question_id": "q1",
  "text": "full question text",
  "artifact_context": "artifact or product name",
  "entity_type": "reviewers|contributors|participants|etc",
  "parsed_at": timestamp
}
```
