원클릭으로
use-modern-go
Apply modern Go guidelines for go-revjs, targeting Go 1.23 features that are valid for this repository.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Apply modern Go guidelines for go-revjs, targeting Go 1.23 features that are valid for this repository.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guide for adding HTTP API routes in go-revjs. Use when creating new route modules or REST-style endpoints.
Guide for creating new biz modules in go-revjs. Use when adding business logic modules or generated biz/repo scaffolding.
Apply Go best practices, idioms, and conventions when writing, reviewing, or refactoring go-revjs backend code.
Use when designing or refactoring react-revjs frontend pages that should feel compact, refined, content-dense, tool-like, doc-like, or suitable for search/detail/BBS style content pages instead of marketing landing pages.
Use when adding or changing js-deob cases, transforms, decoder handling, switch-flattening rules, or deobfuscation pattern support. Requires adding or updating focused tests for the new case and running the full js-deob test suite to confirm existing behavior is not broken.
Use when a react-revjs page component has substantial logic (state, derived values, handlers, side effects) that should be extracted into a dedicated hook file so the TSX file is reduced to pure rendering.
| name | use-modern-go |
| description | Apply modern Go guidelines for go-revjs, targeting Go 1.23 features that are valid for this repository. |
This repository targets Go 1.23.0 and uses toolchain go1.24.2.
When writing Go code here, prefer modern standard-library patterns that are valid for Go 1.23 without relying on newer language or library features.
any instead of interface{}errors.Is and errors.As for wrapped error checkserrors.Join when multiple independent errors need to be returned togetherstrings.Cut, strings.CutPrefix, strings.CutSuffix over manual slicing when appropriateslices and maps helpers instead of manual loops when that makes the code clearermin, max, and clear where they simplify logicsync.OnceFunc and sync.OnceValue for one-time initialization helperstime.Since and time.Until instead of manual subtractionUse the most modern approach that keeps the code obvious to maintainers already working in this codebase.