con un clic
con un clic
Use when a user is stuck in a complex real-world situation with many conflicts, limited resources, unclear priorities, or asks to identify the principal contradiction, secondary contradictions, dominant aspect, breakthrough actions, monitoring thresholds, probability projection, and Markdown/Word/HTML/PDF reports. Triggers on 矛盾论, 主要矛盾, 次要矛盾, 主次矛盾, 卡住了, 优先级混乱, 找关键问题, 资源有限, 冲突很多. Do not use for philosophy-only summaries, Mao text commentary with no live case, generic brainstorming with no diagnosis, or final licensed medical, legal, investment, or psychological-crisis advice.
Use when adding or auditing Yao copyright comment headers for an agent skill package, especially SKILL.md, README.md, references, prompts, templates, examples, scripts, YAML, or TOML files.
当用户需要分析微信读书阅读历史、生成读书报告、可视化阅读统计、笔记、书架、词云、热力图、雷达图,或导出精排 HTML 报告时使用。也适用于创建 AI 创业者示例阅读报告。不用于通用图书推荐,或不生成报告的原始微信读书 API 查询。
Use when auditing an authorized website, SaaS, API, AI app, local code path, GitHub repo, staging URL, or owned runtime for security risks, vulnerability checklist scoring, static review, dynamic review, active validation, or Chinese security reports.
Route CEO-facing competition, negotiation, channel, pricing, platform, M&A, financing, competitor-response, alliance, and regulator problems through an applied game-theory framework router when decisions depend on opponent reactions, credible commitments, signals, payoff/equilibrium logic, historical behavior, dynamic updates, or Markdown/HTML/Word/PDF report export. Do not use for textbook tutoring, proofs, gambling, generic brainstorming, or final legal/financial/regulatory advice.
构建和维护领域知识图谱,帮助团队整理概念关系、术语定义和知识体系。支持技术、产品、业务等多种知识域。
| name | yao-codereview-hskill |
| description | 提供专业的代码审查服务,检查代码质量、安全漏洞、性能问题和最佳实践。支持多种编程语言和框架。 |
| metadata | {"author":"Code Quality Team","philosophy":"安全第一、可维护性优先、持续改进"} |
提供全面的代码审查和质量改进建议。
description.SKILL.md lean.references/, templates in templates/.Quick: 快速扫描,关注明显问题。Security: 安全聚焦,深入检查漏洞。Full: 全面审查,含架构和可维护性。| 维度 | 检查项 |
|---|---|
| 安全 | 注入、认证、授权、敏感数据 |
| 性能 | 算法效率、资源泄露、缓存策略 |
| 可读性 | 命名、注释、结构 |
| 可维护性 | 耦合度、测试覆盖、文档 |
| 规范性 | 编码规范、提交规范 |
## 审查摘要
- 代码行数: X
- 发现问题: Y (严重: a, 警告: b, 建议: c)
## 严重问题
[问题列表]
## 警告
[问题列表]
## 改进建议
[建议列表]
## 修复示例
[代码示例]
审查时参考以下最佳实践模板:
# -*- 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"
# 更多配置项...
/**
* @fileoverview 模块说明
* @author Code Quality Team
* @contributor 姚金刚 (yaojingang)
* @license MIT
*/
'use strict';
// 模块实现...
对于遗留代码,建议:
自动化工具处理规范性检查,人工审查关注: