.agents/skills/architecture/SKILL.md
Understand onepixel runtime architecture, host-based app dispatch, and redirect analytics flow before changing behavior across routes/controllers/db.
npx skillsauth add championswimmer/onepixel_backend architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when implementing features that cross app startup, routing, controller behavior, or data boundaries.
src/main.go.db.GetAppDB)db.GetEventsDB)db.GetGeoIPDB)Host header:
ADMIN_SITE_HOST -> server.CreateAdminAppMAIN_SITE_HOST -> server.CreateMainAppsrc/db/init.go.src/routes/redirect/redirect.go.EventsController.LogRedirectAsync.src/utils/posthog/posthog_client.go).src/server/parsers) -> validator (src/server/validators) -> controller -> DTO responsetesting
Run onepixel unit and e2e tests with correct env setup, coverage artifacts, and troubleshooting guidance for GeoIP/network-related failures.
data-ai
Understand onepixel database topology by environment, data ownership across app/events stores, and initialization/migration behavior.
development
Apply onepixel repository conventions for env loading, DB backend selection, auth locals, error payloads, and shortcode semantics.
development
Build and run onepixel binaries, generate Swagger docs when needed, and produce cross-platform release artifacts.