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.
CommandDescriptionmicroservice-gen generate <input>Generate code, configs, or boilerplate. Run without args to view recent generationsmicroservice-gen template <input>Create or apply templates. Run without args to view recent template entriesmicroservice-gen convert <input>Convert between formats or languages. Run without args to view recent conversions
CommandDescriptionmicroservice-gen check <input>Run checks on code or configs. Run without args to view recent check entriesmicroservice-gen validate <input>Validate structure or schema compliance. Run without args to view recent validationsmicroservice-gen lint <input>Lint code for style and quality issues. Run without args to view recent lint entriesmicroservice-gen format <input>Format code or configuration files. Run without args to view recent format entries
CommandDescriptionmicroservice-gen explain <input>Explain code, errors, or concepts. Run without args to view recent explanationsmicroservice-gen diff <input>Record or analyze diffs between versions. Run without args to view recent diff entriesmicroservice-gen preview <input>Preview generated output before applying. Run without args to view recent previews
CommandDescriptionmicroservice-gen fix <input>Log fix actions or patches applied. Run without args to view recent fix entriesmicroservice-gen report <input>Generate reports from logged data. Run without args to view recent reports
CommandDescriptionmicroservice-gen statsShow summary statistics across all entry typesmicroservice-gen export <fmt>Export all data (formats: json, csv, txt)microservice-gen search <term>Search across all entries by keywordmicroservice-gen recentShow the 20 most recent activity log entriesmicroservice-gen statusHealth check — version, data dir, entry count, disk usagemicroservice-gen helpShow usage information and available commandsmicroservice-gen versionShow version (v2.0.0)
All data is stored locally in ~/.local/share/microservice-gen/:
check.log, generate.log, lint.log)YYYY-MM-DD HH:MM|value formathistory.log tracks all activity across commandsset -euo pipefail)wc, du, grep, tail, sed, date)generate and template to create boilerplate code, API definitions, and project structures for new servicescheck, validate, lint, and format to ensure code meets standards before committing or deployingdiff, explain, and preview to document changes, understand complex code, and review generated outputfix, convert, and format to log refactoring decisions, format migrations, and patch applicationsstats, search, report, and export to review development activity, track patterns, and generate team reportsbash
# 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
Each devtools command (check, generate, lint, etc.) works the same way:
This makes Microservice Gen both a development tool and a searchable devops journal.
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com