Skip to content

Commit 8012b0d

Browse files
committed
feat(claude): add agents support with capabilities to plugin 🤖
1 parent e157e0d commit 8012b0d

File tree

9 files changed

+18
-0
lines changed

9 files changed

+18
-0
lines changed

.claude-plugin/plugin.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,15 @@
2525
"./config/.claude/commands/no_spec.md",
2626
"./config/.claude/commands/prototype.md"
2727
],
28+
"agents": [
29+
"./config/rules/web-development.mdc",
30+
"./config/rules/miniprogram-development.mdc",
31+
"./config/rules/cloudrun-development.mdc",
32+
"./config/rules/database.mdc",
33+
"./config/rules/data-model-creation.mdc",
34+
"./config/rules/ui-design.mdc",
35+
"./config/rules/cloudbase-platform.mdc",
36+
"./config/rules/workflows.mdc"
37+
],
2838
"mcpServers": "./.mcp.json"
2939
}

config/rules/cloudbase-platform.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 云开发 CloudBase 平台知识和最佳实践
3+
capabilities: ["cloudbase-platform", "static-hosting", "cloud-storage", "authentication", "cloud-functions", "best-practices"]
34
alwaysApply: true
45
---
56

config/rules/cloudrun-development.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 云托管(CloudBase Run)后端开发规则(函数型/容器型),当用户需要部署后端服务的时候必须参考此规则
3+
capabilities: ["cloudrun", "backend", "docker", "serverless", "container", "cloud-function", "deployment"]
34
globs: ["**/*.js", "**/*.ts", "**/*.py", "**/*.go", "**/*.java", "**/*.php", "**/Dockerfile"]
45
alwaysApply: false
56
---

config/rules/data-model-creation.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 数据模型AI建模和创建专业规则,当用户需要创建和管理 MYSQL 数据库的时候必须参考此规则
3+
capabilities: ["data-modeling", "mysql", "mermaid", "database-design", "er-diagram", "schema-design"]
34
alwaysApply: false
45
---
56
# 数据模型AI建模专业规则

config/rules/database.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 云开发云数据库(NoSQL)参考指南,涉及到 CloudBase 的 db 数据库集合必须参考这个
3+
capabilities: ["database", "nosql", "cloudbase-db", "data-operations", "query", "crud"]
34
alwaysApply: false
45
---
56
# 数据库操作规则

config/rules/miniprogram-development.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 微信小程序开发规则,开发小程序必须参考这个
3+
capabilities: ["miniprogram", "wechat", "cloud-development", "wxss", "wxml", "miniprogram-ci"]
34
globs: ["**/*.wxml", "**/*.wxss", "**/*.js", "**/*.ts", "**/*.json", "miniprogram/**/*"]
45
alwaysApply: false
56
---

config/rules/ui-design.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 页面设计和UI规范,web 前端和小程序页面设计必须参考这个
3+
capabilities: ["ui-design", "ux", "prototype", "interface-design", "styling", "responsive-design"]
34
globs: ["**/*.css", "**/*.scss", "**/*.less", "**/*.wxml", "**/*.html", "**/*.vue", "**/*.jsx", "**/*.tsx"]
45
alwaysApply: false
56
---

config/rules/web-development.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: Web 前端项目开发规则,开发 web 前端页面必须参考这个规则
3+
capabilities: ["web-development", "frontend", "static-hosting", "cloudbase-sdk", "vite", "react", "vue"]
34
globs: ["**/*.html", "**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx", "**/*.vue"]
45
alwaysApply: false
56
---

config/rules/workflows.mdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 云开发 MCP 开发工作流程和部署流程
3+
capabilities: ["workflow", "deployment", "mcp-tools", "cloud-functions-deployment", "static-hosting-deployment"]
34
alwaysApply: false
45
---
56

0 commit comments

Comments
 (0)