Xpersona
C

Coding Lite - 轻量级编码助手

CLAWHUB · Unverified

轻量级编码助手,支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。快速响应,不占用过多 context。 Skill: Coding Lite - 轻量级编码助手 Owner: cp3d1455926-svg Summary: 轻量级编码助手,支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。快速响应,不占用过多 context。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-30T09:24:54.675Z | user Initial release Archive index: Archive v1.0.0: 4 files, 4498 bytes Files: README.md (999b), skill-card.md (2306b), SKILL.md (3588b), _meta.json (130b) File v1.0.0:SKILL.md --- name: coding-lite descripti

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177dnrcxaj8y42437mjj0m9y583t54n:coding-lite
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cp3d1455926-svg-coding-lite/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,806 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: coding-lite
description: 轻量级编码助手,支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。快速响应,不占用过多 context。
---

# Coding-Lite 轻量级编码助手

## 触发场景

当用户需要快速生成代码、自动化脚本、数据处理或查询时使用此技能。适合轻量级、高频的编码需求。

## 技术范围

### 1. Python 脚本生成与执行 🐍

**支持场景:**
- 文件批量处理(重命名、格式转换)
- 数据抓取(网页、API)
- 数据分析(pandas、numpy)
- 自动化办公(邮件、文件操作)
- 简单爬虫
- 文本处理

**示例:**
```python
# 批量重命名文件
import os
for i, f in enumerate(os.listdir('.')):
    os.rename(f, f'img_{i:03d}.jpg')
```

---

### 2. Excel / WPS 函数自动化 📊

**支持场景:**
- 复杂公式编写(VLOOKUP、INDEX/MATCH、数组公式)
- 数据透视表配置
- 条件格式设置
- VBA 宏脚本
- WPS 自动化(Python for WPS)

**常用公式模板:**
```excel
=VLOOKUP(A2,Sheet2!$A:$D,4,FALSE)
=INDEX($C:$C,MATCH(1,(A2=$A:$A)*(B2=$B:$B),0))
=SUMPRODUCT((A2:A100="条件")*(B2:B100))
```

---

### 3. 小程序代码生成 📱

**支持平台:**
- 微信小程序
- 支付宝小程序
- 抖音小程序

**支持内容:**
- 页面结构(WXML/AXML)
- 样式(WXSS/ACSS)
- 逻辑(JavaScript/TypeScript)
- 配置文件(app.json)
- 云函数

**示例(微信小程序):**
```javascript
// pages/index/index.js
Page({
  data: { count: 0 },
  onTap() {
    this.setData({ count: this.data.count + 1 })
  }
})
```

---

### 4. SQL 查询助手 💾

**支持数据库:**
- MySQL
- PostgreSQL
- SQLite
- SQL Server
- Oracle

**支持场景:**
- 基础查询(SELECT、JOIN、GROUP BY)
- 复杂查询(子查询、窗口函数)
- 数据操作(INSERT、UPDATE、DELETE)
- 表结构查询
- 性能优化建议

**示例:**
```sql
-- 查询每个部门的平均工资
SELECT dept, AVG(salary) as avg_sal
FROM employees
GROUP BY dept
ORDER BY avg_sal DESC;

-- 窗口函数示例
SELECT name, dept, salary,
       RANK() OVER (PARTITION BY dept ORDER BY salary DESC) as rank
FROM employees;
```

---

## 使用原则

### ✅ 适合的场景
- 快速原型/脚本
- 一次性任务自动化
- 数据查询/处理
- 学习/参考代码
- 简单功能实现

### ❌ 不适合的场景
- 大型项目开发(需要完整工程化)
- 高并发/高性能要求
- 复杂系统架构
- 生产环境关键代码

---

## 输出规范

### 代码格式
- 简洁优先,避免过度设计
- 添加必要注释
- 标注依赖和运行环境
- 提供使用示例

### 安全提示
- 标注潜在安全风险(如 SQL 注入)
- 敏感操作需二次确认
- 不生成恶意代码

---

## 快速参考

### Python 常用命令
```bash
python script.py          # 运行脚本
pip install package       # 安装依赖
python -m venv venv       # 创建虚拟环境
```

### Excel 快捷键
```
Ctrl + `          显示公式
Ctrl + Shift + ↓  选中区域
Alt + =           自动求和
```

### SQL 调试
```sql
EXPLAIN SELECT ...    -- 查看执行计划
SHOW WARNINGS;        -- 查看警告
```

---

## 注意事项

- 执行代码前请确认环境安全
- 涉及数据的操作请先备份
- 生产环境代码需要完整测试
- 遵守开源许可证要求

README.md

# 💻 Coding Lite - 轻量级编码助手

## 📖 功能说明

支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。

## 🚀 使用方法

### 在 OpenClaw 中使用

```
帮我写个 Python 脚本读取 Excel
Excel 怎么求平均值
写个微信小程序登录页面
SQL 查询昨天的数据
```

## 📁 文件结构

```
coding-lite/
├── SKILL.md              # 技能描述
└── README.md             # 本文件
```

## 📊 示例输出

```python
# Python 读取 Excel
import pandas as pd

df = pd.read_excel('data.xlsx')
print(df.head())

# Excel 函数
=AVERAGE(A1:A10)  # 求平均值
=SUMIF(A:A,"苹果",B:B)  # 条件求和
```

## 🛠️ 功能列表

- [x] Python 脚本生成
- [x] Excel 函数
- [x] 小程序代码
- [x] SQL 查询
- [ ] 代码解释
- [ ] Bug 修复

## 📝 更新日志

### v1.0.0
- 🎉 初始版本

## 📄 License

MIT License

_meta.json

{
  "ownerId": "kn75zq8ks7hj5gknzx6rj1jdes82yq7h",
  "slug": "coding-lite",
  "version": "1.0.0",
  "publishedAt": 1774862694675
}

skill-card.md

## Description:

轻量级编码助手,支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。快速响应,不占用过多 context。

This skill is ready for commercial/non-commercial use.

## Publisher:

[cp3d1455926-svg](https://clawhub.ai/user/cp3d1455926-svg)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and OpenClaw users use this skill for quick, lightweight code generation and automation support in Python, Excel/WPS formulas, mini program scaffolding, and SQL queries.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Generated scripts or shell commands may modify files, install packages, or run in an unsafe local environment.

Mitigation: Review commands before execution, run unfamiliar code in a sandbox or virtual environment, and back up data before file operations.

Risk: SQL UPDATE, DELETE, macro, or spreadsheet automation guidance can change or delete user data.

Mitigation: Inspect generated statements and macros, require explicit confirmation for destructive actions, and test against copies or transactions first.

Risk: Generated scraping or API examples may be inappropriate for a target service or data source.

Mitigation: Check service terms, credentials handling, rate limits, and data permissions before running generated scraping or API code.

## Reference(s):

- [Coding Lite ClawHub skill page](https://clawhub.ai/cp3d1455926-svg/skills/coding-lite)
- [cp3d1455926-svg publisher profile](https://clawhub.ai/user/cp3d1455926-svg)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline code blocks and command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Generated code, SQL, macros, and commands should be reviewed before execution; production-critical use requires separate testing.]

## Skill Version(s):

1.0.0 (source: server release metadata and README changelog)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Coding Lite - 轻量级编码助手 and adjacent AI workflows.