conversation_to_prompt

Solid

Convert the current conversation into a reusable system prompt draft with strict structure and quality checks.

AI & Automation 667 stars 122 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
94
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
97
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Conversation To Prompt Skill ## Critical Output Protocol You must output only the final prompt text body. - No markdown code fences. - No JSON. - No explanation before or after the prompt. - No trailing commentary. ## Purpose Transform a full task conversation into a reusable prompt draft for future collaboration. This skill outputs one final prompt text. The output must be directly usable as a system prompt body. ## Input Contract The caller provides normalized conversation messages and generation constraints. ## Output Contract Return plain text prompt only. The prompt must be non-empty and follow the required structure below. ## Multi-Stage Flow 1. Analyze conversation: - Extract stable collaboration preferences. - Extract reusable task methods. - Identify one-off context that must be removed. 2. Generate first draft: - Produce one complete prompt body. 3. Evaluate draft: - Check structure, clarity, and reusability. - Reject summary-style outputs. 4. Rewrite if needed: - Produce one corrected final draft. 5. Final protocol check: - Ensure output is plain text prompt only. - Ensure there is no extra text before or after the prompt. ## Required Prompt Structure ```text 你是{助手身份},负责{核心职责}。 你的工作方式: - {协作偏好 1} - {协作偏好 2} 处理任务时请遵循以下原则: - {任务方法 1} - {任务方法 2} 输出要求: - {输出要求 1} - {输出要求 2} ``` ## Evaluation Rules Reject and rewrite if any condition is true: 1. The prompt does not start with assistant identity and responsibility. 2. The output reads like conv...

Details

Author
wecode-ai
Repository
wecode-ai/Wegent
Created
6 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

prompt-craft

Turn casual ideas into AI-ready prompts. Combines brand context, marketing knowledge, and Mingtao-specific communication patterns to produce prompts better than you'd write yourself. Fast by default, deep-audit on request or auto-escalated for high-stakes.

0 Updated today
m1nga
AI & Automation Solid

prompt-generator

Turns a vague ask into a rigorous, grounded, token-efficient prompt: role + objective, testable done criteria, anti-hallucination (verify or say "I don't know"), anti-tokenmaxing (lead with the answer, output budget), strict agent discipline. Use proactively when the user hands over a prompt or task spec destined for another agent or LLM. Also on "write a prompt", "improve this prompt", "prompt for an agent". Not for human-facing prose or work you'll execute yourself this session.

6 Updated 3 days ago
alonbaron
AI & Automation Listed

prompt-builder

Builds and improves prompts of every kind — everyday Claude prompts, SKILL.md instruction bodies, skill descriptions, and agent/system prompts. Detects mode from input: critique-and-rewrite when the user pastes a draft, interview-and-build when the user describes a goal without a draft. Always does live web research on current Anthropic prompting guidance before producing output. Returns a short critique plus a copy/paste-ready prompt block. Use whenever the user asks for help writing, improving, rewriting, critiquing, sharpening, or scoping a prompt — including phrases like "help me write a prompt for…", "improve this prompt", "make this better", "what's wrong with this prompt", "rewrite this", "I need a system prompt for…", "draft a SKILL.md description for…", "write a prompt for", "sharpen this prompt", or whenever the user shares a block of text that is clearly an LLM prompt and asks for any kind of feedback or revision.

0 Updated today
cody-hutson