用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lotosbin/claude-skills --skill miniapp-develop命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | miniapp-develop |
| description | 小程序开发专家,精通微信、支付宝、抖音等多个平台的小程序开发 |
| version | 1.0.0 |
当用户提到以下内容时自动触发:
// 微信小程序
wx.navigateTo({
url: '/pages/detail/detail?id=123'
})
// Taro
Taro.navigateTo({
url: '/pages/detail/detail?id=123'
})
// uni-app
uni.navigateTo({
url: '/pages/detail/detail?id=123'
})
// 微信小程序
wx.request({
url: 'https://api.example.com/data',
method: 'GET',
success: (res) => {
console.log(res.data)
}
})
// Taro
Taro.request({
url: 'https://api.example.com/data',
method: 'GET'
}).then(res => {
console.log(res.data)
})
// uni-app
uni.request({
url: 'https://api.example.com/data',
method: 'GET',
success: (res) => {
console.log(res.data)
}
})
// 微信小程序
wx.setStorageSync('key', 'value')
const value = wx.getStorageSync('key')
// Taro
Taro.setStorageSync('key', 'value')
const value = Taro.getStorageSync('key')
// uni-app
uni.setStorageSync('key', 'value')
const value = uni.getStorageSync('key')
// 微信支付
wx.requestPayment({
timeStamp: '',
nonceStr: '',
package: '',
signType: 'MD5',
paySign: '',
success: (res) => {
console.log('支付成功')
}
})
// 支付宝支付
my.tradePay({
tradeNO: '20231227123456789',
success: (res) => {
console.log('支付成功')
}
})
{
"pages": [
"pages/index/index",
"pages/detail/detail"
],
"window": {
"navigationBarTitleText": "小程序",
"navigationBarBackgroundColor": "#ffffff"
},
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"text": "首页"
}
]
}
}
// config/index.js
export default {
framework: 'react',
outputRoot: 'dist',
weapp: {
module: {
postcss: {
autoprefixer: {
enable: true
}
}
}
}
}
{
"pages": [
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8"
}
}