skills/doc-software-system-solution/SKILL.md
End-to-end technical solution architecting for software projects. Use when users ask to analyze a project directory and generate a technical solution document, architecture documentation, or system design proposal. Handles context gathering from project files, requirements analysis, architecture design with Mermaid diagrams and interactive prototypes, and DOCX generation via Pandoc. Automatically processes pptx, docx, xlsx, and pdf files using corresponding skills.
npx skillsauth add cruldra/skills doc-software-system-solutionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本技能帮助用户从项目目录中收集信息,分析需求,设计系统架构,并生成专业的技术解决方案文档。
当用户提出类似以下请求时触发此技能:
用户应将所有项目相关信息放置在指定的$dir目录下,包括:
扫描项目目录
glob扫描$dir目录结构收集背景信息 从可用文档中提取以下信息:
信息缺口识别
文档内容提取
.pptx → 使用pptx skill分析.docx → 使用docx skill分析.xlsx → 使用xlsx skill分析.pdf → 使用pdf skill分析需求整理 将收集到的需求分类为:
需求验证
系统架构设计
创建架构图
示例:
graph TB
A[用户界面] --> B[API网关]
B --> C[业务服务层]
C --> D[数据访问层]
D --> E[(数据库)]
组件详细设计
创建交互式原型 (Interactive Prototype)
web-artifacts-builder 或 frontend-design 技能创建交互式原型references/demo-prompt-template.md 构建提示词$dir/prototypes/ 目录捕获原型截图
playwright 技能(或 dev-browser)打开生成的HTML原型$dir/assets/ 目录,命名清晰(如 auth-flow-demo.png)使用模板
references/technical-solution-template.md作为基础模板文档结构 按照模板结构组织内容:
*图:用户登录流程的交互原型截图。完整演示请查看 [HTML文件](./prototypes/login.html)*格式要求
Markdown转DOCX
./scripts/convert_doc.sh <input.md> [output.docx]
pandoc "source.md" \
--lua-filter=scripts/mermaid-filter.lua \
-o "output.docx"
验证输出
交付
在执行文档转换前,请确认以下依赖已安装:
Pandoc: 文档转换工具
pandoc --version
Mermaid CLI (mmdc): Mermaid图表渲染
mmdc --version
如果依赖缺失,请提示用户先安装:
npm install -g @mermaid-js/mermaid-clireferences/technical-solution-template.md - 技术解决方案文档模板references/demo-prompt-template.md - 交互式原型请求模板scripts/mermaid-filter.lua - Pandoc Lua过滤器,用于处理Mermaid图表scripts/convert_doc.sh - 文档转换辅助脚本生成的技术解决方案文档应类似于:
examples/系统解决方案示例.md (如存在)问题:Pandoc命令失败
问题:Mermaid图表未渲染
问题:文档格式错乱
testing
智能体 UAT 验收测试技能。用于验证智能体在真实场景下的表现是否满足预期。支持任意智能体框架(langchain、langgraph、deepagents、crewai 等)。触发词:测试智能体、验收测试、agent test、UAT
tools
Use when you need to create a Gitea issue, update its spec/plan markers, read or merge an issue's state JSON, or post a PR review comment in a repo that uses the spx CLI (superpowers-vscode workflow).
development
Use when implementing, modifying, refactoring, or reviewing code and the agent must follow explicit coding standards for simplicity, readability, maintainability, testability, project conventions, and minimal safe changes.
development
Use when integrating the deepagents SDK into a Python project — creating agents, configuring backends, adding subagents, middleware, memory, or skills. Also use when debugging deepagents agents or choosing between StateBackend, FilesystemBackend, and LocalShellBackend.