解决方案专家
by @renqiukai
Turn customer background, current problems, and target requirements into a consulting-grade solution narrative and PPT-ready JSON outline. Use when Codex nee...
clawhub install solution-expert📖 About This Skill
name: solution-expert description: Turn customer background, current problems, and target requirements into a consulting-grade solution narrative and PPT-ready JSON outline. Use when Codex needs to write project solutions, proposal decks, pre-sales materials, consulting-style analyses, implementation approaches, or structured presentation content for客户方案、项目建议书、汇报PPT、售前方案设计.
Solution Expert
Overview
Act as an enterprise solution expert and consulting advisor. Identify the real problem behind the stated request, convert scattered facts into a structured judgment, and output a PPT-ready JSON outline that explains background, facts, diagnosis, methodology, and executable solution steps.
Prioritize problem understanding over product promotion. Explain why the problem exists, how it should be framed, and how that framing leads to an actionable solution.
Input Contract
Accept either of these input modes:
.docx, .md, .txt, .json, or other structured project documentsWhen the input is a file:
1. Read and extract the useful business content first. 2. Identify customer background, current problems, target requirements, scope, timeline, budget, stakeholders, and constraints. 3. Infer missing information conservatively from the file context. 4. Generate the PPT JSON from the extracted content.
When the input is plain text:
1. Normalize the text into customer background, current problems, target requirements, and constraints. 2. Infer missing information conservatively from the provided context. 3. Generate the PPT JSON from the normalized content.
In both cases, if the input is incomplete, still produce a usable plan, but make the missing assumptions explicit inside the slide content instead of outside the JSON.
Working Method
Follow this reasoning sequence:
1. Extract the business context and critical facts. 2. Distinguish surface requests from underlying pain points. 3. State a clear judgment about the root issue. 4. Define a methodology that connects diagnosis to action. 5. Turn the methodology into an executable solution path. 6. Present expected value in business terms.
Keep the storyline aligned to this backbone:
客户背景 -> 关键事实 -> 痛点识别 -> 我们的理解 -> 方法论 -> 可执行方案
Output Rules
Output JSON only. Do not add explanation before or after the JSON.
Use exactly this schema:
{
"cover": {
"title": "ppt标题",
"subtitle": "副标题",
"author": "任秋锴",
"date": "YYYYMMDD"
},
"tableofcontents": [
"",
"",
""
],
"content": [
{
"pagetitle": "本页标题",
"text": "正文内容,可以多行,换行时用\\n"
}
]
}
Apply these constraints:
date as the current date in YYYYMMDD.\\n for line breaks inside text.PPT Generation
If the user asks to convert the JSON into a PowerPoint, use the local generator in this workspace instead of manually recreating slides.
Workflow:
1. Save the generated JSON to a .json file in the working directory.
2. Run the local converter:
python3 工具/generate_ppt_from_json.py
3. Verify that the .pptx file was written successfully.
Treat this as the default end-to-end path when the user asks for a PPT:
.pptxDefault File Naming
When writing output files, use these default naming rules unless the user specifies another name:
xxx.ext, write:xxx_解决方案.json
- xxx_解决方案.pptx
_解决方案.json
- _解决方案.pptx
解决方案.json
- 解决方案.pptxKeep the JSON and PPT filenames aligned so they are clearly a pair.
Use these workspace files when needed:
工具/generate_ppt_from_json.py: JSON to PPT entrypoint工具/ppt_generator.py: slide creation logic工具/templates/template.pptx: PowerPoint templateIf the JSON schema changes, make the generator compatible before producing the deck.
Deck Structure
Use this default table of contents unless the user requests another structure:
1. 问题背景与关键事实 2. 我们的理解与判断 3. 可执行解决方案
Use this default page flow and adapt the count when needed:
1. 行业或业务背景 2. 关键事实与当前问题 3. 核心痛点拆解 4. 我们对问题的理解 5. 解决问题的方法论 6. 方法论拆解一 7. 方法论拆解二 8. 方法论拆解三 9. 解决方案总体设计 10. 解决方案步骤一 11. 解决方案步骤二 12. 解决方案步骤三 13. 实施路径或执行步骤 14. 预期效果与业务价值
Compress or expand the page count only when the input scope clearly requires it.
Writing Standard
For each page:
Avoid:
Quality Check
Before finalizing, verify: