🎯 技能系统
技能(Skill)是将常用工作流封装成可复用模块的系统。NeoWeb AI 内置 18 个预置技能,覆盖开发、运维、写作等场景,同时支持完全自定义。
什么是技能?
技能本质上是一段预设的系统提示(System Prompt)+ 工具权限组合。激活技能后,AI 会以特定的专业角色和工作方式与你交互,无需每次都重复说明背景。
例如,激活「代码审查」技能后,AI 会自动以资深代码审查员的视角分析你的代码,关注安全性、性能和可维护性。
预置技能(18 个)
专业代码审查,关注安全漏洞、性能瓶颈、代码规范和可维护性。
自动为代码生成 API 文档、README、注释,支持多种格式。
系统化排查 Bug,分析错误日志,定位问题根因并给出修复方案。
引导完成应用部署流程,包括环境配置、服务启动和健康检查。
解析系统日志、应用日志,识别异常模式,生成分析报告。
检查系统安全配置,发现潜在漏洞,提供加固建议。
撰写技术文章、博客、教程,语言清晰、结构合理。
识别代码异味,提出重构方案,提升代码质量和可读性。
网络信息收集、整理和分析,生成结构化研究报告。
SQL 优化、数据库设计、查询调试和性能分析。
Docker / Kubernetes 配置、部署、排障,容器化最佳实践。
分析应用性能瓶颈,给出前端、后端、数据库层面的优化建议。
编写单元测试、集成测试,设计测试用例,提升代码覆盖率。
HTML/CSS/JS 开发辅助,响应式设计,框架使用指导。
Linux 运维、服务器管理、自动化脚本编写,DevOps 实践。
技术文档翻译,中英文互译,保留专业术语准确性。
项目拆解、任务排期、风险识别,生成结构化项目计划。
通用智能助理,处理日常任务、信息查询和工作辅助。
如何使用技能
- 在 NeoWeb AI 界面中,点击左侧的「技能」面板(🎯 图标)
- 浏览预置技能列表,点击任意技能卡片查看详情
- 点击「激活」按钮,技能即被应用到当前对话
- 新建对话或点击「停用」即可切换回普通模式
自定义技能
NeoWeb AI 支持创建完全自定义的技能,满足个性化的工作场景需求。
创建新技能
进入 技能 → 新建技能,填写以下信息:
{
"name": "我的代码助手",
"description": "专注于 Python 和 FastAPI 开发的助手",
"icon": "🐍",
"systemPrompt": "你是一位 Python 专家,精通 FastAPI、SQLAlchemy 和异步编程。...",
"tools": ["fs_read", "fs_write", "shell_exec", "python_exec"],
"temperature": 0.3
}
System Prompt 编写建议
- 明确角色定位:「你是一位...专家」
- 说明专业范围:具体技术栈、擅长领域
- 设定工作方式:回答风格、详细程度
- 可加入背景信息:项目背景、团队规范
技能 API
技能也可通过 REST API 管理,详情请参考 API 参考文档。
# 列出所有技能
GET /api/skills
# 删除技能
DELETE /api/skills/:id
🎯 Skill System
Skills package common workflows into reusable modules. NeoWeb AI includes 18 preset skills covering development, operations, writing, and more — fully customizable.
What Is a Skill?
A skill is essentially a preset system prompt + tool permission combination. Once activated, AI interacts with you in a specific professional role and work style.
For example, activating "Code Review" makes AI analyze your code from a senior reviewer's perspective, focusing on security, performance, and maintainability.
18 Preset Skills
Professional code review focusing on security vulnerabilities, performance bottlenecks, code standards, and maintainability.
Automatically generate API docs, README, and code comments. Supports multiple formats.
Systematically troubleshoot bugs, analyze error logs, pinpoint root causes, and provide fixes.
Guide through the deployment process including env setup, service launch, and health checks.
Parse system and application logs, identify anomaly patterns, generate analysis reports.
Check system security config, find potential vulnerabilities, provide hardening recommendations.
Write technical articles, blogs, and tutorials with clear language and logical structure.
Identify code smells, propose refactoring plans, improve code quality and readability.
Collect, organize, and analyze web information, generate structured research reports.
SQL optimization, database design, query debugging, and performance analysis.
Docker / Kubernetes config, deployment, troubleshooting, and container best practices.
Analyze app performance bottlenecks, provide frontend, backend, and DB optimization advice.
Write unit and integration tests, design test cases, improve code coverage.
HTML/CSS/JS development, responsive design, framework usage guidance.
Linux admin, server management, automation scripting, DevOps practices.
Technical document translation, Chinese-English bilingual, preserving accurate terminology.
Break down projects, schedule tasks, identify risks, generate structured project plans.
General-purpose intelligent assistant for daily tasks, information lookup, and work support.
How to Use Skills
- Click the "Skills" panel (🎯 icon) on the left side of the NeoWeb AI interface
- Browse the preset skills list, click any skill card to view details
- Click "Activate" — the skill is applied to the current conversation
- Start a new conversation or click "Deactivate" to switch back to normal mode
Custom Skills
NeoWeb AI supports creating fully custom skills to meet your specific work needs.
Create a New Skill
Go to Skills → New Skill and fill in:
{
"name": "My Code Assistant",
"description": "Focused on Python and FastAPI development",
"icon": "🐍",
"systemPrompt": "You are a Python expert, proficient in FastAPI, SQLAlchemy and async programming...",
"tools": ["fs_read", "fs_write", "shell_exec", "python_exec"],
"temperature": 0.3
}Skills API
Skills can also be managed via the REST API. See the API Reference for details.
# List all skills
GET /api/skills
# Delete a skill
DELETE /api/skills/:id