← Back to Skills Marketplace
weirubo

sql-to-go

by weirubo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
207
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sql-to-go
Description
Convert MySQL CREATE TABLE statements to Go structs with form, json, and xorm tags. Use when converting SQL DDL to Go struct definitions, generating ORM mode...
Usage Guidance
This skill is an instruction-only converter and appears coherent: it asks for nothing sensitive and does not install or fetch code. Before relying on generated structs, test with representative CREATE TABLE inputs (edge cases: enums, complex defaults, unusual types) to ensure mappings and tags match your app's expectations. As with any code-generation helper, review the generated code for correctness and security (e.g., handling of nullable fields, precision for decimals).
Capability Analysis
Type: OpenClaw Skill Name: sql-to-go Version: 1.0.0 The skill bundle is a utility for converting MySQL CREATE TABLE statements into Go structs with specific tags (form, json, xorm). The instructions in SKILL.md and the reference data in type_mappings.md are purely informational and focused on text transformation, with no evidence of malicious intent, data exfiltration, or unauthorized command execution.
Capability Assessment
Purpose & Capability
Name/description match the instructions: all steps and mapping tables relate to converting MySQL CREATE TABLE DDL into Go structs with form/json/xorm tags. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md describes parsing SQL, mapping types, converting names, and emitting tags; it does not instruct reading system files, accessing environment variables, contacting external endpoints, or performing actions outside the stated conversion task.
Install Mechanism
No install spec or code files are included (instruction-only), so nothing will be downloaded or written to disk by an installer. This is a low-risk install surface.
Credentials
The skill declares no required environment variables, credentials, or config paths; that aligns with its stated function and is minimal and proportional.
Persistence & Privilege
Flags are default (always:false, user-invocable:true). The skill does not request persistent/system-wide privileges or modify other skills; autonomous invocation is allowed by platform default but not a red flag here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sql-to-go
  3. After installation, invoke the skill by name or use /sql-to-go
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release: Convert MySQL CREATE TABLE statements to Go structs - Maps MySQL column types to Go types, including handling of unsigned and nullable types - Converts snake_case column names to CamelCase Go field names, preserving common acronyms - Automatically generates form, json, and xorm tags for each struct field - Supports key xorm tag constraints: pk, autoincr, unique, not null, defaults, comments, and index - Uses table comments as Go struct comments for improved code documentation
Metadata
Slug sql-to-go
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is sql-to-go?

Convert MySQL CREATE TABLE statements to Go structs with form, json, and xorm tags. Use when converting SQL DDL to Go struct definitions, generating ORM mode... It is an AI Agent Skill for Claude Code / OpenClaw, with 207 downloads so far.

How do I install sql-to-go?

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

Is sql-to-go free?

Yes, sql-to-go is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does sql-to-go support?

sql-to-go is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created sql-to-go?

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

💬 Comments