Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

microservice-gen微服务一代

Agent Skill

microservice-gen 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,382

周安装

179

GitHub Stars

公开资料未说明

下载量

1,418
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:microservice-gen(微服务一代)
来源仓库:https://github.com/xueyetianya/microservice-gen
安装命令:
openclaw skills install microservice-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install microservice-gen

简介

具有 cli 工具的云原生 Go 微服务框架,可提高生产力。归零,去,ai-native,ai-native-development,云原生,代码生成。

SKILL.md

version
1.0.0
name
Go Zero
description
A cloud-native Go microservices framework with cli tool for productivity. go zero, go, ai-native, ai-native-development, cloud-native, code-generation.

Microservice Gen

Developer tools toolkit for checking, validating, generating, formatting, linting, explaining, converting, templating, diffing, previewing, fixing, and reporting on code and configurations. Microservice Gen provides a complete devtools workflow with timestamped logging for every operation. All entries are stored locally for full traceability.

Commands

Code Generation & Templating

CommandDescription
microservice-gen generate <input>Generate code, configs, or boilerplate. Run without args to view recent generations
microservice-gen template <input>Create or apply templates. Run without args to view recent template entries
microservice-gen convert <input>Convert between formats or languages. Run without args to view recent conversions

Code Quality & Validation

CommandDescription
microservice-gen check <input>Run checks on code or configs. Run without args to view recent check entries
microservice-gen validate <input>Validate structure or schema compliance. Run without args to view recent validations
microservice-gen lint <input>Lint code for style and quality issues. Run without args to view recent lint entries
microservice-gen format <input>Format code or configuration files. Run without args to view recent format entries

Analysis & Review

CommandDescription
microservice-gen explain <input>Explain code, errors, or concepts. Run without args to view recent explanations
microservice-gen diff <input>Record or analyze diffs between versions. Run without args to view recent diff entries
microservice-gen preview <input>Preview generated output before applying. Run without args to view recent previews

Maintenance & Reporting

CommandDescription
microservice-gen fix <input>Log fix actions or patches applied. Run without args to view recent fix entries
microservice-gen report <input>Generate reports from logged data. Run without args to view recent reports

Utility Commands

CommandDescription
microservice-gen statsShow summary statistics across all entry types
microservice-gen export <fmt>Export all data (formats: json, csv, txt)
microservice-gen search <term>Search across all entries by keyword
microservice-gen recentShow the 20 most recent activity log entries
microservice-gen statusHealth check — version, data dir, entry count, disk usage
microservice-gen helpShow usage information and available commands
microservice-gen versionShow version (v2.0.0)

Data Storage

All data is stored locally in ~/.local/share/microservice-gen/:

  • Each command type has its own log file (e.g., check.log, generate.log, lint.log)
  • Entries are timestamped in YYYY-MM-DD HH:MM|value format
  • A unified history.log tracks all activity across commands
  • Export supports JSON, CSV, and plain text formats
  • No external services or API keys required

Requirements

  • Bash 4.0+ (uses set -euo pipefail)
  • Standard UNIX utilities (wc, du, grep, tail, sed, date)
  • No external dependencies — works on any POSIX-compatible system

When to Use

  1. Microservice scaffolding — Use generate and template to create boilerplate code, API definitions, and project structures for new services
  2. Code quality enforcement — Use check, validate, lint, and format to ensure code meets standards before committing or deploying
  3. Code review workflow — Use diff, explain, and preview to document changes, understand complex code, and review generated output
  4. Refactoring & fixes — Use fix, convert, and format to log refactoring decisions, format migrations, and patch applications
  5. Development auditing — Use stats, search, report, and export to review development activity, track patterns, and generate team reports

Examples

# Generate a new service scaffold
microservice-gen generate "REST API service with user CRUD endpoints — Go + Chi router"

# Validate a configuration file
microservice-gen validate "Check docker-compose.yml against schema v3.8"

# Lint code for issues
microservice-gen lint "Run style checks on pkg/handler/*.go — enforce gofmt + golint"

# Create a template
microservice-gen template "Dockerfile template for Go microservice with multi-stage build"

# Diff two versions
microservice-gen diff "Compare v1.2 vs v1.3 API spec — breaking changes in /users endpoint"

# Search for all entries about a specific service
microservice-gen search user-service

# Export all data as JSON
microservice-gen export json

# View overall statistics
microservice-gen stats

How It Works

Each devtools command (check, generate, lint, etc.) works the same way:

  • With arguments: Saves the input as a new timestamped entry and logs it to history
  • Without arguments: Displays the 20 most recent entries for that command type

This makes Microservice Gen both a development tool and a searchable devops journal.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.88%
按下载量换算1,331

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills