원클릭으로
coding
Advanced coding assistance with code review, optimization, design patterns, and refactoring guidance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Advanced coding assistance with code review, optimization, design patterns, and refactoring guidance
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Summarize and condense content effectively
Translate content between languages with context awareness
API testing best practices, tools, and workflows for RESTful API testing.
Code quality standards, metrics, and practices for maintaining clean, maintainable codebases.
Code review best practices, guidelines, and checklists for effective peer reviews.
Go debugging best practices, tools, and techniques for effective troubleshooting.
| name | coding |
| description | Advanced coding assistance with code review, optimization, design patterns, and refactoring guidance |
| version | 1.0.0 |
| author | go-magic |
| tags | ["coding","review","optimization","design-patterns","refactoring"] |
| tools | ["read_file","file_search","lint","format_code"] |
Load this skill when:
Comprehensive code review covering:
Optimization strategies for:
Common patterns and when to use them:
Refactoring techniques:
[ ] Input validation and sanitization
[ ] SQL injection prevention (use parameterized queries)
[ ] XSS prevention (escape output)
[ ] No hardcoded secrets or credentials
[ ] Proper authentication/authorization
[ ] Secure random number generation
[ ] HTTPS for sensitive data transmission
[ ] Proper error handling (no information leakage)
[ ] No N+1 query problems
[ ] Appropriate caching implemented
[ ] Database queries optimized
[ ] Pagination for large datasets
[ ] Resource cleanup (files, connections)
[ ] Memory allocation optimized
[ ] Concurrency used where appropriate
[ ] Clear, descriptive naming
[ ] Single responsibility principle
[ ] No duplicated code (DRY)
[ ] Proper abstraction levels
[ ] Comprehensive error handling
[ ] Unit tests for critical paths
[ ] Documentation for public APIs
[ ] Consistent code style
[Priority] [Category]: Description
Examples:
[High] Security: SQL injection vulnerability in user input
[High] Performance: N+1 query in user listing
[Medium] Style: Consider extracting to helper function
[Low] Documentation: Missing function documentation
gofmt for formattingconst and let over varcargo clippy for linting// Bad
query := "SELECT * FROM users WHERE id = " + userID
// Good
query := "SELECT * FROM users WHERE id = ?"
rows, err := db.Query(query, userID)
// Bad - N+1 query
for _, user := range users {
orders := getOrders(user.ID) // Query in loop
}
// Good - Single query with JOIN
orders := getOrdersForUsers(userIDs)
// Before
func process(data []Data) {
for i := 0; i < len(data); i++ {
if data[i].Type == "A" {
processA(data[i])
} else if data[i].Type == "B" {
processB(data[i])
}
}
}
// After
func process(data []Data) {
for _, d := range data {
processByType(d)
}
}
func processByType(d Data) {
switch d.Type {
case "A":
processA(d)
case "B":
processB(d)
}
}
This skill integrates with:
lint: Automatic code lintingformat_code: Code formattingread_file: Code analysisfile_search: Finding related code