xiaohongshu
xiaohongshu
go-service-hexagonal
Define, review, and scaffold Go service directory structures using hexagonal (ports-and-adapters / “jexagonal”) architecture and Go best practices. Use when creating or refactoring Go services, deciding package boundaries, organizing cmd/internal/api/config/deploy/migrations, or choosing layouts ...
Full skill instructions
<service>/cmd/<service>-<binary> and <service>/internal/....references/layout-http-rest.mdreferences/layout-grpc.mdreferences/layout-worker.mdreferences/layout-cli.mdinternal/domain.internal/app and define inbound ports in internal/interface.internal/adapter.internal/interface/* (primary) and outbound adapters in internal/adapter/* (secondary).internal/interface/options only for config mode.internal/bootstrap.Compose(...) and keep cmd/* thin.Use references/architecture-rules.md as the dependency rulebook.
references/refactor-workflow.md.references/refactor-testing.md.references/refactor-plan-template.md and agree on it with the user before making changes.REFACTORING.md at repo root and mark completed items as you finish them.Run the scaffolder to generate a starting tree plus minimal compileable stubs:
python3 scripts/scaffold_hex_service.py --root <repo> --service <name> --kinds http,worker
Pick a settings mode:
--settings none--settings env--settings configExample (config mode):
python3 scripts/scaffold_hex_service.py --root <repo> --service <name> --kinds http --settings config
Config files (when enabled) support json/yaml/toml with keys: http_addr, pprof_addr, pprof_port, log_level. If the config file has no extension, TOML is assumed. Environment values override config values when both are set.
HTTP scaffolding defaults to Echo. For explicit Echo:
python3 scripts/scaffold_hex_service.py --root <repo> --service <name> --kinds http --http-framework echo
For a pure net/http baseline:
python3 scripts/scaffold_hex_service.py --root <repo> --service <name> --kinds http --http-framework nethttp
HTTP scaffolds include GET /health/live and GET /health/ready, plus request logging using Logrus (github.com/sirupsen/logrus).
Optional (opt-in) HTTP debug endpoints:
--http-pprof adds handlers under GET /debug/pprof/* (pprof index + profiles).--http-trace adds GET /debug/pprof/trace (execution trace).PPROF_PORT is set (e.g. PPROF_PORT=6060); optionally set PPROF_ADDR to change the bind address (default 127.0.0.1).internal/interface/debughttp.For new projects, if --module is omitted the module path defaults to the <repo> folder name (no github.com/... assumption).
If go.mod is created (new project), the scaffolder runs go mod tidy to fetch dependencies (Echo + Logrus). Use --skip-deps to skip.
Generated projects include required README.md, AGENTS.md, and Makefile at repo root.
When HTTP is scaffolded, the project also includes test/health_test.go.
Then edit the generated packages to match your domain and ports.
Read references/index.md and then open only the layout file(s) you need for the chosen service kind.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience