← Back to Skills Marketplace
cp3d1455926-svg

Coding Lite - 轻量级编码助手

by cp3d1455926-svg · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
481
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install coding-lite
Description
轻量级编码助手,支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。快速响应,不占用过多 context。
README (SKILL.md)

\r \r

Coding-Lite 轻量级编码助手\r

\r

触发场景\r

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

技术范围\r

\r

1. Python 脚本生成与执行 🐍\r

\r 支持场景:\r

  • 文件批量处理(重命名、格式转换)\r
  • 数据抓取(网页、API)\r
  • 数据分析(pandas、numpy)\r
  • 自动化办公(邮件、文件操作)\r
  • 简单爬虫\r
  • 文本处理\r \r 示例:\r
# 批量重命名文件\r
import os\r
for i, f in enumerate(os.listdir('.')):\r
    os.rename(f, f'img_{i:03d}.jpg')\r
```\r
\r
---\r
\r
### 2. Excel / WPS 函数自动化 📊\r
\r
**支持场景:**\r
- 复杂公式编写(VLOOKUP、INDEX/MATCH、数组公式)\r
- 数据透视表配置\r
- 条件格式设置\r
- VBA 宏脚本\r
- WPS 自动化(Python for WPS)\r
\r
**常用公式模板:**\r
```excel\r
=VLOOKUP(A2,Sheet2!$A:$D,4,FALSE)\r
=INDEX($C:$C,MATCH(1,(A2=$A:$A)*(B2=$B:$B),0))\r
=SUMPRODUCT((A2:A100="条件")*(B2:B100))\r
```\r
\r
---\r
\r
### 3. 小程序代码生成 📱\r
\r
**支持平台:**\r
- 微信小程序\r
- 支付宝小程序\r
- 抖音小程序\r
\r
**支持内容:**\r
- 页面结构(WXML/AXML)\r
- 样式(WXSS/ACSS)\r
- 逻辑(JavaScript/TypeScript)\r
- 配置文件(app.json)\r
- 云函数\r
\r
**示例(微信小程序):**\r
```javascript\r
// pages/index/index.js\r
Page({\r
  data: { count: 0 },\r
  onTap() {\r
    this.setData({ count: this.data.count + 1 })\r
  }\r
})\r
```\r
\r
---\r
\r
### 4. SQL 查询助手 💾\r
\r
**支持数据库:**\r
- MySQL\r
- PostgreSQL\r
- SQLite\r
- SQL Server\r
- Oracle\r
\r
**支持场景:**\r
- 基础查询(SELECT、JOIN、GROUP BY)\r
- 复杂查询(子查询、窗口函数)\r
- 数据操作(INSERT、UPDATE、DELETE)\r
- 表结构查询\r
- 性能优化建议\r
\r
**示例:**\r
```sql\r
-- 查询每个部门的平均工资\r
SELECT dept, AVG(salary) as avg_sal\r
FROM employees\r
GROUP BY dept\r
ORDER BY avg_sal DESC;\r
\r
-- 窗口函数示例\r
SELECT name, dept, salary,\r
       RANK() OVER (PARTITION BY dept ORDER BY salary DESC) as rank\r
FROM employees;\r
```\r
\r
---\r
\r
## 使用原则\r
\r
### ✅ 适合的场景\r
- 快速原型/脚本\r
- 一次性任务自动化\r
- 数据查询/处理\r
- 学习/参考代码\r
- 简单功能实现\r
\r
### ❌ 不适合的场景\r
- 大型项目开发(需要完整工程化)\r
- 高并发/高性能要求\r
- 复杂系统架构\r
- 生产环境关键代码\r
\r
---\r
\r
## 输出规范\r
\r
### 代码格式\r
- 简洁优先,避免过度设计\r
- 添加必要注释\r
- 标注依赖和运行环境\r
- 提供使用示例\r
\r
### 安全提示\r
- 标注潜在安全风险(如 SQL 注入)\r
- 敏感操作需二次确认\r
- 不生成恶意代码\r
\r
---\r
\r
## 快速参考\r
\r
### Python 常用命令\r
```bash\r
python script.py          # 运行脚本\r
pip install package       # 安装依赖\r
python -m venv venv       # 创建虚拟环境\r
```\r
\r
### Excel 快捷键\r
```\r
Ctrl + `          显示公式\r
Ctrl + Shift + ↓  选中区域\r
Alt + =           自动求和\r
```\r
\r
### SQL 调试\r
```sql\r
EXPLAIN SELECT ...    -- 查看执行计划\r
SHOW WARNINGS;        -- 查看警告\r
```\r
\r
---\r
\r
## 注意事项\r
\r
- 执行代码前请确认环境安全\r
- 涉及数据的操作请先备份\r
- 生产环境代码需要完整测试\r
- 遵守开源许可证要求\r
Usage Guidance
This skill appears coherent with its stated purpose, but generated code can still be dangerous if executed. Before running any code produced by the skill: (1) review it for network, file, and system access; (2) do not paste secrets into prompts; (3) run unfamiliar scripts in a sandbox or isolated environment; (4) review SQL for injection risks and validate any automation that touches production data. If you plan to let an agent execute code autonomously, enforce runtime sandboxing and explicit confirmation for sensitive operations.
Capability Analysis
Type: OpenClaw Skill Name: coding-lite Version: 1.0.0 The 'coding-lite' skill bundle is a standard coding assistant designed to provide templates and instructions for generating Python, Excel, SQL, and mini-program code. The files (SKILL.md, README.md) contain helpful documentation and safety warnings regarding SQL injection and data backups, with no evidence of malicious intent, data exfiltration, or prompt-injection attacks.
Capability Assessment
Purpose & Capability
Name and description (Python, Excel/WPS, mini-programs, SQL helper) match the SKILL.md content: examples, templates, and usage guidance for those tasks. No unrelated capabilities or credentials are requested.
Instruction Scope
SKILL.md limits itself to code generation, templates, examples and high-level execution hints (e.g., 'python script.py', 'pip install'). It does not instruct reading arbitrary host files, environment variables, system configs, or sending data to external endpoints. It warns about security and sensitive operations.
Install Mechanism
No install spec or code files to write/execute are present. The skill is instruction-only, so nothing will be downloaded or installed by the skill itself.
Credentials
The skill requires no environment variables, credentials, or config paths. The content references common developer commands but does not request secrets or unrelated service tokens.
Persistence & Privilege
always is false and no special persistence or system-wide modifications are requested. The skill does not attempt to modify other skills or agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install coding-lite
  3. After installation, invoke the skill by name or use /coding-lite
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug coding-lite
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Coding Lite - 轻量级编码助手?

轻量级编码助手,支持 Python 脚本生成与执行、Excel/WPS 函数自动化、小程序代码生成、SQL 查询助手。快速响应,不占用过多 context。 It is an AI Agent Skill for Claude Code / OpenClaw, with 481 downloads so far.

How do I install Coding Lite - 轻量级编码助手?

Run "/install coding-lite" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Coding Lite - 轻量级编码助手 free?

Yes, Coding Lite - 轻量级编码助手 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Coding Lite - 轻量级编码助手 support?

Coding Lite - 轻量级编码助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Coding Lite - 轻量级编码助手?

It is built and maintained by cp3d1455926-svg (@cp3d1455926-svg); the current version is v1.0.0.

💬 Comments