solve-analyzelisted
Install: claude install-skill Tenstu/Pass-LLM-with-LLM
# Solve Analyze Skill
Structured diagnosis layer that compares a user's solve() against a standard solution generated
by the solve-skeleton pipeline. Produces a side-by-side diff report, identifies root cause tags,
and triggers feedback loops into mistake_log, user_profile, and exam-memory MCP.
This skill does not teach and does not build skeletons -- it diagnoses "what you wrote vs
what you should have written."
## 1. Overview
### Pipeline Position
```
solve-skeleton (template)
-> user fills logic
-> ** solve-analyze (diagnosis) ** <-- this skill
-> algo-annotation (# [防错] markers)
-> mistake_log (error record)
-> user_profile (weakness tracking)
-> choice-q-create (targeted question generation)
```
### Purpose
When a user completes a solve() function and wants to know what went wrong, this skill:
1. Performs a quick triage to determine report depth (full diagnosis vs lightweight style check).
2. Statically analyzes the user's code for logic errors, anti-patterns, and suspicious lines.
3. Generates a reference solution via the solve-skeleton pipeline.
4. Produces a structured comparison report highlighting every meaningful difference.
5. Extracts root cause tags and feeds them back into the harness feedback loops.
The output is actionable: each identified issue maps to a specific root cause tag, a suggested
fix, and an automatic (or user-confirmed) write to the error tracking system.
### What This Skill Does NOT Do
- Does not provide