feat(skills): add fuck-u-code-analysis skill for AI agent code qualit…#158
Open
Zerone-Agent wants to merge 1 commit into
Open
feat(skills): add fuck-u-code-analysis skill for AI agent code qualit…#158Zerone-Agent wants to merge 1 commit into
Zerone-Agent wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(skills): 新增 fuck-u-code-analysis 技能,支持 AI Agent 自动化代码质量审查
概述
新增一个专为 AI 编程 Agent(opencode、Claude Code、Cursor 等)设计的技能文件。Agent 在完成编码后,可自动调用
fuck-u-code analyze获取量化指标,并根据技能中定义的审查标准给出具体可执行的整改建议——无需依赖 CLI 的 AI 审查功能。新增文件
skills/fuck-u-code-analysis/SKILL.md(主文档)skills/fuck-u-code-analysis/references/thresholds.md(阈值参考表)skills/README.md(安装指南)工作原理
设计要点
fuck-u-code ai-reviewsrc/metrics/thresholds/language-thresholds.ts,确保技能与工具实际评分逻辑完全同步src/ai/prompts/code-review.ts和src/ai/index.ts文件变更
skills/README.mdskills/fuck-u-code-analysis/SKILL.mdskills/fuck-u-code-analysis/references/thresholds.md