Answer collector

From matteocervelli/llms · View interactive version

Answer collector is an AI agent skill from the GitHub repository matteocervelli/llms. TODO: Brief description of what the Skill does and when to use it

How to use this skill

Skill file

Answer Collector Skill

Purpose: Incrementally collect and validate product assessment responses in structured JSON format.


When to Use


How It Works

1. Reading Questions

Questions are organized in 4 sections (questions.md):

Each question is numbered 1-17.

2. Writing JSON Incrementally

Start with a template and add answers one at a time:

{
  "metadata": {
    "product_name": "Your Product Name",
    "created_at": "2025-11-03T00:00:00Z",
    "status": "in_progress"
  },
  "answers": {
    "why_section": {
      "q1_problem_evidence": "Answer here..."
    }
  }
}

Build incrementally:

3. Validation Logic

Auto-calculate:

Validation rules:


Quick Reference

| Section | Questions | Type |

|---------|-----------|------|

| WHY | 1-4 | Text |

| WHO | 5-8 | Text |

| WHAT | 9-13 | Text |

| GO/NO-GO | 14-17 | Boolean |


Usage Pattern

  1. Initialize: Create JSON with metadata and product_name
  2. Collect: Answer one question, validate, save
  3. Review: Check completion_percentage and go_no_go_result
  4. Decide: When all answers complete, review go_no_go_result

File Structure

~/.claude/skills/answer-collector/
├── SKILL.md           # This file
├── questions.md       # The 17 assessment questions
├── schema.json        # JSON validation schema
└── assessments/       # (optional) Stored assessment JSONs
    └── product-name.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.