From htmlgraph
Code hygiene, quality gates, and pre-commit workflows. Use for linting, type checking, testing, and fixing errors.
npx claudepluginhub shakestzd/htmlgraphThis skill uses the workspace's default tool permissions.
Use this skill for code hygiene, quality gates, and pre-commit workflows.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Use this skill for code hygiene, quality gates, and pre-commit workflows.
Trigger keywords: code quality, lint, go vet, type checking, go test, pre-commit, build, fix errors
Quality gate runs should be attributed. Before fixing errors:
htmlgraph statushtmlgraph bug create "Fix: description" then htmlgraph bug start <id>htmlgraph help for available commands# Before EVERY commit:
(cd packages/go && go build ./...) # Type checking + compile
(cd packages/go && go vet ./...) # Linting
(cd packages/go && go test ./...) # Run tests
# Only commit when ALL checks pass
git commit -m "..."
Before implementing anything new:
go.mod for what is already available as a dependencypackages/go/internal/ for shared utilities before duplicating logicCRITICAL: Fix ALL errors with every commit, regardless of when introduced.
The deployment script (deploy-all.sh) blocks on:
This is intentional - maintain quality gates.
# Build all packages
(cd packages/go && go build ./...)
# Build specific package
(cd packages/go && go build ./cmd/htmlgraph)
# Verbose output
(cd packages/go && go build -v ./...)
# Check all packages
(cd packages/go && go vet ./...)
# Check specific package
(cd packages/go && go vet ./cmd/htmlgraph)
# Verbose output
(cd packages/go && go vet -v ./...)
# Run all tests
(cd packages/go && go test ./...)
# Verbose output
(cd packages/go && go test -v ./...)
# Run specific test
(cd packages/go && go test -run TestName ./...)
# Run with coverage
(cd packages/go && go test -cover ./...)
// Before (type error)
func GetUser(id interface{}) *User {
return db.Query(id)
}
// After (typed)
func GetUser(id string) *User {
return db.Query(id)
}
// Before (unused import)
import (
"os"
"sys"
)
var x = 1
// After (clean)
var x = 1
# Go automatically formats with gofmt
# Most editors auto-format on save
(cd packages/go && gofmt -w .)
Track quality improvements:
# Create a spike to document fixes
htmlgraph spike create "Fix go vet errors in models.go"
# Then add findings via htmlgraph spike edit <id>
Remember: Fixing errors immediately is faster than letting them accumulate.