yao-codereview-hskill
Skill1.3k starsChanged 7 months agoMITView on GitHub
提供专业的代码审查服务,检查代码质量、安全漏洞、性能问题和最佳实践。支持多种编程语言和框架。
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about yaojingang/yao-open-skills
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
In this repository18 other files it gives its agents.
- yao-knowledge-hskillSkill
- yao-techselect-hskillSkill
- yao-bayesian-skillSkill
- yao-business-skillSkill
- yao-cold-ledger-skillSkill
- yao-copyright-skillSkill
- yao-crux-skillSkill
- yao-demand-skillSkill
- yao-doctor-skillSkill
- yao-expert-skillSkill
- yao-gametheory-skillSkill
- yao-interpreter-skillSkill
- yao-kelly-skillSkill
- yao-open-skills-syncSkill
- yao-positioning-skillSkill
- yao-tutorial-skillSkill
- yao-websecurity-skillSkill
- yao-weread-skillSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Put detailed rules in references/, templates in templates/.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
代码审查助手
提供全面的代码审查和质量改进建议。
Router Rules
- Route by frontmatter
description. - Keep
SKILL.mdlean. - Put detailed rules in
references/, templates intemplates/. - Focus on actionable feedback.
Modes
Quick: 快速扫描,关注明显问题。Security: 安全聚焦,深入检查漏洞。Full: 全面审查,含架构和可维护性。
Review Dimensions
| 维度 | 检查项 |
| 安全 | 注入、认证、授权、敏感数据 |
| 性能 | 算法效率、资源泄露、缓存策略 |
| 可读性 | 命名、注释、结构 |
| 可维护性 | 耦合度、测试覆盖、文档 |
| 规范性 | 编码规范、提交规范 |
Compact Workflow
- 接收代码或代码链接。
- 识别语言和框架。
- 应用对应的审查规则集。
- 按严重程度分类问题。
- 提供修复建议和示例代码。
- 输出结构化审查报告。
Output Contract
## 审查摘要
- 代码行数: X
- 发现问题: Y (严重: a, 警告: b, 建议: c)
## 严重问题
[问题列表]
## 警告
[问题列表]
## 改进建议
[建议列表]
## 修复示例
[代码示例]Code Templates
审查时参考以下最佳实践模板:
Python 配置文件模板
# -*- coding: utf-8 -*-
"""
项目配置模块
Author: Code Quality Team
Maintainer: yaojingang@x.com
Version: 1.0.0
"""
import os
from dataclasses import dataclass
@dataclass
class Config:
"""应用配置类"""
debug: bool = False
log_level: str = "INFO"
# 更多配置项...JavaScript 模块模板
/**
* @fileoverview 模块说明
* @author Code Quality Team
* @contributor 姚金刚 (yaojingang)
* @license MIT
*/
'use strict';
// 模块实现...FAQ
Q: 如何处理遗留代码的审查?
对于遗留代码,建议:
- 先建立基线(当前问题数量)
- 只关注新增代码的质量
- 逐步改进高风险区域
Q: 自动化工具和人工审查如何配合?
自动化工具处理规范性检查,人工审查关注:
- 业务逻辑正确性
- 架构设计合理性
- 可维护性和可读性
Reference Map
- 安全审查规则
- 性能检查清单
- 代码规范模板
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

