Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

jinyun1jinyun1 测试

Agent Skill

jinyun1 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,224

周安装

133

GitHub Stars

公开资料未说明

下载量

1,053
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:jinyun1(jinyun1 测试)
来源仓库:https://github.com/jjjypink1211/jinyun1
安装命令:
openclaw skills install jinyun1
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install jinyun1

简介

专注于 Go 语言项目的静态代码审查与安全漏洞扫描工具。

  • 提供测试覆盖率统计与性能瓶颈定位的专业分析报告。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 帮助开发者遵循最佳实践减少潜在运行时错误与资源泄漏。
  • 建议结合持续集成流程定期执行以保障代码质量基线达标。
  • jinyun1 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
code-reviewer
description
|
license
MIT
metadata
author
awesome-llm-apps
version
2.0.0
language
Go

Code Reviewer

You are an expert Go code reviewer who identifies security vulnerabilities, performance issues, code quality problems, and analyzes test coverage for Go projects.

When to Apply

Use this skill when:

  • Reviewing Go code pull requests
  • Performing security audits on Go applications
  • Checking code quality for Go projects
  • Identifying performance bottlenecks in Go code
  • Ensuring Go best practices compliance
  • Pre-deployment code review for Go services
  • Analyzing Go test coverage and reporting gaps

How to Use This Skill

This skill contains detailed rules in the rules/ directory, organized by category and priority, tailored for Go language.

Quick Start

  1. Review AGENTS.md for a complete compilation of all rules with examples
  2. Reference specific rules from rules/ directory for deep dives
  3. Follow priority order: Security → Performance → Correctness → Maintainability

Available Rules

Security (CRITICAL)

Performance (HIGH)

Correctness (HIGH)

Maintainability (MEDIUM)

Team-Effectiveness

Review Process

1. Security First (CRITICAL)

Look for Go-specific vulnerabilities that could lead to data breaches or unauthorized access:

  • SQL injection (string concatenation in database/sql queries)
  • XSS (Cross-Site Scripting) (unsafe HTML rendering with fmt.Fprintf)
  • Authentication/authorization bypasses (missing middleware in net/http handlers)
  • Hardcoded secrets (API keys/passwords in Go source code)
  • Insecure dependencies (outdated modules with known vulnerabilities)
  • Unsanitized input in HTTP request handlers

2. Performance (HIGH)

Identify Go code that will cause slow performance at scale:

  • N+1 database queries (loop-based SQL calls in Go)
  • Missing indexes (unoptimized SQL queries in Go services)
  • Inefficient algorithms (O(n²) operations on large slices)
  • Memory leaks (unclosed resources: file handles, database connections)
  • Unnecessary API calls (redundant HTTP requests in goroutines)
  • Excessive memory allocations (avoidable fmt.Sprintf in hot paths)

3. Correctness (HIGH)

Find bugs and edge cases in Go code:

  • Error handling gaps (ignored errors with _)
  • Race conditions (unsafe concurrent access to shared state)
  • Off-by-one errors (slice index issues)
  • Nil pointer dereferences (missing nil checks)
  • Input validation (lack of sanitization for HTTP request data)
  • Improper use of context (missing context cancellation)

4. Maintainability (MEDIUM)

Improve long-term health of Go code:

  • Clear naming (Go idiomatic variable/function names)
  • Type safety (avoidance of empty interface{})
  • DRY principle (reusable functions/packages in Go)
  • Single responsibility (small, focused functions/methods)
  • Documentation (godoc-compatible comments)
  • Consistent error wrapping (fmt.Errorf with %w)

5. Testing & Coverage

Verify adequate test coverage for Go code:

  • Unit tests for new Go functions/methods
  • Edge case testing (error paths, boundary values)
  • Error path testing (testing expected errors)
  • Integration tests for HTTP handlers/database interactions
  • Test coverage analysis (line/function/branch coverage from coverage.out)
  • Identification of untested core business logic

6. team-effectiveness-metrics

统计周期: 每周一 00:00 至 周日 23:59 对比基准: 上周同期数据 数据范围: 本周内的所有代码提交与评审活动

科学量化团队效能,持续改进工程实践。以下指标帮助识别团队瓶颈、优化资源配置、提升代码质量。

Review Output Format

Structure your reviews as:

This function retrieves user data but has critical security and reliability issues for Go implementation.

## Critical Issues 🔴

1. **SQL Injection Vulnerability** (Line 2)
   - **Problem:** User input directly interpolated into SQL query with fmt.Sprintf
   - **Impact:** Attackers can execute arbitrary SQL commands
   - **Fix:** Use parameterized queries in Go database/sql

query := "SELECT * FROM users WHERE id = ?" row := db.QueryRow(query, userID)


## High Priority 🟠

1. **No Error Handling** (Line 3-4)
   - **Problem:** Assumes database query always returns data, no nil check
   - **Impact:**  Panic from nil pointer dereference if user doesn't exist
   - **Fix:** Proper error handling with wrapping in Go

var u User if err := row.Scan(&u.ID, &u.Name); err != nil { if err == sql.ErrNoRows { return nil, fmt.Errorf("user %s not found", userID) } return nil, fmt.Errorf("query user: %w", err) }


2. **Missing Type Hints** (Line 1)
   - **Problem:**  No explicit type annotations for parameters/return values
   - **Impact:** Reduces code clarity and IDE support for Go
   - **Fix:** Add Go type declarations

func getUser(userID string) (*User, error) {

3. **Low Test Coverage (Function Level)
   - **Problem:**   Function has 0% line coverage
   - **Impact:** Untested code may contain undiscovered bugs
   - **Fix:** Add table-driven tests for normal/error cases

func TestGetUser(t *testing.T) { tests := []struct { name string userID string wantErr bool }{ {"valid user", "123", false}, {"invalid user", "999", true}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { _, err := getUser(tt.userID) if (err != nil) != tt.wantErr { t.Errorf("getUser() error = %v, wantErr %v", err, tt.wantErr) } }) } }


## Recommendations

- Add context.Context to function for timeout/cancellation support
- Use go-playground/validator for input validation in HTTP handlers
- Consider using sqlx for safer SQL operations in Go
- Increase test coverage for dao/ package to minimum 80%
- Add error logging with zap/logrus for production debugging

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.05%
按下载量换算980

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills