← ClaudeAtlas

language-polishinglisted

Synthesize the user's filled data into a polished, professional-grade communication text following the current WiseTalk model's generation prompt (baked into the agent's instructions — the `## Model reference` section, mirrored in config/model-reference.md), applying any user revision request. The generated text is gated by Skill-12's hallucination check BEFORE it is returned — invented claims trigger regeneration (max 2 retries), never a user-visible draft. Use when Skill-3 has validated the fields and the user wants the final text, or when a critique iteration asks for a rewrite. Do NOT use for critiquing, compressing, or validating fields — this skill only generates.
ay4322-a11y/WiseTalk_GOAI · ★ 0 · AI & Automation · score 67
Install: claude install-skill ay4322-a11y/WiseTalk_GOAI
# Skill-7: Exclusive Language Polishing & Final Generation Input: `agent_model` (e.g. `RIDE`) + `use_case` (e.g. `Salary_Negotiation`) + `filled_data` (JSON, validated by Skill-3) + optional `user_revision_request` (e.g. "Make the tone less aggressive") Output: strict JSON — `{ "final_text": "...", "word_count": N, "hallucination_gate": "PASS" | "WARN" | null, "gap_note": "..." | null }` ## Procedure 1. **Load the model's generation prompt** — Read the `## Model reference` section in your agent instructions and extract the **Generation prompt** (or Read `config/model-reference.md` for the same text). Done when the model's synthesis prompt is in context; if missing → stop, report `{"action": "error", "reason": "Model <agent_model> has no generation prompt"}`. 1.5. **Validate the input before generating (Skill-12 input gate)** — Run the hallucination gate on the filled card data (the script lives in the sibling `hallucination-check` skill folder — from this skill's directory, `../hallucination-check/scripts/hallucination-gate.py`): `python ../hallucination-check/scripts/hallucination-gate.py --mode input --data "<the filled card values>"` (or `--data-file <path>` — the saved cards file; on Windows prefer the stdin pipe with `--data` first for non-ASCII safety). - `PASS` → proceed to Step 2. - `WARN` → proceed to Step 2 but confirm the flagged items (placeholders must become real values) with the user at the earliest natural point. - `BLOCK` → do NOT gene