bage2014/study/mcp-apps-project-standard
Claude Code and agent skill by bage2014/study
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
MCP Apps项目规范 - 后端驱动UI渲染架构。所有页面由后端生成HTML通过MCP协议返回渲染。Invoke when developing or maintaining MCP Apps projects, especially when creating new pages, tools, or stores.
Install
npx vskill@latest install bage2014/study/mcp-apps-project-standardSKILL.md
The same SKILL.md was published earlier as bage2014/study/mcp-apps-project-standard.
MCP Apps 项目规范
核心架构原则
后端驱动UI渲染(MVP模式)
- Model(数据层):后端存储和管理所有业务数据
- View(视图层):前端仅负责渲染,不包含业务逻辑
- Presenter(展示层):后端生成完整的HTML页面,通过MCP协议返回
数据流向
目录结构
工具命名规范
| 工具类型 | 命名格式 | 示例 | |
|---|---|---|---|
| UI获取 | get{PageName}UI | getFamilyTreeUI, getMemberManageUI | |
| 数据查询 | list{Entity}, get{Entity} | listFamilies, getMemberById | |
| 数据创建 | create{Entity} | createFamily, createMember | |
| 数据更新 | update{Entity} | updateFamily, updateMember | |
| 数据删除 | delete{Entity} | deleteFamily, deleteMember |
UI页面生成规范
HTML模板结构
样式规范
- 主色调:绿色系列 (
#10B981) - 辅助色:蓝色系列 (
#3B82F6) - 成功色:
#10B981 - 警告色:
#F59E0B - 错误色:
#EF4444
JavaScript规范
- 防抖机制:防止重复请求导致界面闪烁
- innerHTML渲染:使用innerHTML一次性渲染,优化性能
- 错误处理:完善的错误捕获和用户提示
开发工作流
- 创建数据存储(Store)
- 创建MCP工具(Tools)
- 创建UI页面(HTML)
- 注册工具到Server
- 更新前端菜单
- 测试验证
质量保证
- 使用严格模式TypeScript
- 使用Zod进行参数验证
- 完善的错误处理
- 防抖机制防止闪烁
- 输入验证防止XSS
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingstudy-ai-mcp-apps/.trae/skills/mcp-apps-project-standard/SKILL.md
Popularity
- Repository stars
- 640
- Repository forks
- 113
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Sep 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bage2014/study/mcp-apps-project-standard)