golang
Build, test, lint, and format Go projects with integrated dev tooling. Use when compiling binaries, running tests, linting code, or formatting files.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain3/golangGolang
Developer toolkit for checking, validating, generating, formatting, linting, converting, and managing Go development entries. All operations are logged with timestamps and stored locally for full traceability.
Commands
| Command | Usage | Description |
|---|---|---|
check | golang check <input> | Record a check entry or view recent checks |
validate | golang validate <input> | Record a validation entry or view recent validations |
generate | golang generate <input> | Record a generate entry or view recent generations |
format | golang format <input> | Record a format entry or view recent formatting operations |
lint | golang lint <input> | Record a lint entry or view recent lint results |
explain | golang explain <input> | Record an explain entry or view recent explanations |
convert | golang convert <input> | Record a convert entry or view recent conversions |
template | golang template <input> | Record a template entry or view recent templates |
diff | golang diff <input> | Record a diff entry or view recent diffs |
preview | golang preview <input> | Record a preview entry or view recent previews |
fix | golang fix <input> | Record a fix entry or view recent fixes |
report | golang report <input> | Record a report entry or view recent reports |
stats | golang stats | Show summary statistics across all entry types |
export <fmt> | golang export json|csv|txt | Export all entries to JSON, CSV, or plain text |
search <term> | golang search <term> | Search across all log files for a keyword |
recent | golang recent | Show the 20 most recent history entries |
status | golang status | Health check — version, entry count, disk usage, last activity |
help | golang help | Show help with all available commands |
version | golang version | Print version string |
Each command (check, validate, generate, format, lint, explain, convert, template, diff, preview, fix, report) works the same way:
- With arguments: Saves the input with a timestamp to
<command>.logand logs tohistory.log. - Without arguments: Displays the 20 most recent entries from
<command>.log.
Data Storage
All data is stored locally at ~/.local/share/golang/:
<command>.log— Timestamped entries for each command (e.g.,check.log,lint.log,format.log)history.log— Unified activity log across all commandsexport.json,export.csv,export.txt— Generated export files
No cloud, no network calls, no API keys required. Fully offline.
Requirements
- Bash 4+ (uses
set -euo pipefail) - Standard Unix utilities (
date,wc,du,grep,head,tail,sed) - No external dependencies
When to Use
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain3-golang": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
skill-tracker
通用技能使用统计追踪器,支持 Python 和 Node.js 技能,自动记录调用次数、成功率,生成使用排行榜。数据本地存储,保护隐私。
cmms
Computerized maintenance management system
consent
Build cookie consent banners and track opt-in compliance status. Use when implementing GDPR consent, auditing cookies, generating privacy banners.
amr
Autonomous mobile robot fleet manager. Use when json amr tasks, csv amr tasks, checking amr status.
breaker
Circuit breaker sizing and coordination tool. Use when json breaker tasks, csv breaker tasks, checking breaker status.