원클릭으로
wechat-miniprogram-skill
微信小程序开发指南 - 从入门到精通。当用户提到微信小程序、小程序开发、WeChat Mini Program、wx API、微信小程序框架时使用此技能。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
微信小程序开发指南 - 从入门到精通。当用户提到微信小程序、小程序开发、WeChat Mini Program、wx API、微信小程序框架时使用此技能。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications.
Analyzes websites to generate multi-language content strategy, keyword research, and competitor analysis. Use when user provides a URL and needs industry analysis, SEO planning, or competitor research for content marketing in specific countries and languages.
Build and execute a content marketing strategy for a solopreneur business. Use when planning what content to create, deciding on content formats and channels, building a content calendar, measuring content performance, or systematizing content production. Covers audience research for content, content pillars, distribution strategy, repurposing workflows, and metrics. Trigger on "content strategy", "content marketing", "what content should I create", "content plan", "content calendar", "content ideas", "content distribution", "grow through content".
📊 Powerful ECharts-based data visualization skill optimized for Feishu (Lark) ecosystem. Supports 12+ chart types, 6+ data sources (Excel/CSV/Bitable/Sheet/Markdown), auto chart recommendation, auto analysis reports, generates high-definition PNG charts perfectly displayed in Feishu. No configuration required, works out of the box.
Analyze CSV/Excel files to extract insights, generate statistics, create charts, and produce summaries. Use when user wants to (1) upload or analyze spreadsheet data, (2) get insights from data files, (3) generate charts or visualizations, (4) calculate statistics or trends, (5) clean or transform data.
Knowledge graph operations via Graphiti API. Search facts, add episodes, and extract entities/relationships.
| name | wechat-miniprogram-skill |
| version | 1.0.0 |
| description | 微信小程序开发指南 - 从入门到精通。当用户提到微信小程序、小程序开发、WeChat Mini Program、wx API、微信小程序框架时使用此技能。 |
微信小程序开发指南 - 从入门到精通
小程序是一种全新的连接用户与服务的方式,可以在微信内被便捷地获取和传播。
| 特性 | 小程序 | Web |
|---|---|---|
| 渲染线程 | 双线程 | 单线程 |
| DOM API | 不可用 | 可用 |
| jQuery/Zepto | 不可用 | 可用 |
| 运行环境 | iOS/Android 微信客户端 | 浏览器 |
miniprogram/
├── app.js # 小程序入口文件
├── app.json # 全局配置
├── app.wxss # 全局样式
├── pages/ # 页面目录
│ └── index/
│ ├── index.js
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── components/ # 自定义组件
└── utils/ # 工具函数
{
"pages": ["pages/index/index"],
"window": {
"navigationBarBackgroundColor": "#000000",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "小程序标题"
},
"tabBar": {
"color": "#999999",
"selectedColor": "#007AFF",
"list": [
{"pagePath": "pages/index/index", "text": "首页"}
]
}
}
Page({
data: {
text: "Hello World"
},
onLoad: function(options) {
// 页面创建时执行
},
onShow: function() {
// 页面出现在前台
},
onPullDownRefresh: function() {
// 下拉刷新
},
handleTap: function() {
this.setData({ text: '点击了' });
}
});
<!-- 数据绑定 -->
<view>{{message}}</view>
<!-- 列表渲染 -->
<view wx:for="{{array}}" wx:key="id">{{item.name}}</view>
<!-- 条件渲染 -->
<view wx:if="{{condition}}">显示</view>
<!-- 事件处理 -->
<view bindtap="handleTap">点击</view>
wx.request({
url: 'https://api.example.com/data',
method: 'GET',
success: function(res) {
console.log(res.data);
}
});
wx.navigateTo({ url: '/pages/detail/detail?id=1' });
wx.redirectTo({ url: '/pages/index/index' });
wx.switchTab({ url: '/pages/index/index' });
wx.navigateBack({ delta: 1 });
wx.setStorageSync('key', 'value');
const value = wx.getStorageSync('key');
Component({
properties: {
title: { type: String, value: '默认标题' }
},
data: { count: 0 },
methods: {
increment: function() {
this.setData({ count: this.data.count + 1 });
this.triggerEvent('change', { count: this.data.count });
}
}
});
更多小程序文档请参考 references/ 目录下的文档文件。