coding-guidelines
Skill2 starsChanged 6 days agoApache-2.0View on GitHub
适用于代码实现、审查、缺陷诊断和方案评估,以及项目文档、交接记录、归档、界面文案和演示稿的编写与审查。交付符合当前需求与契约的代码、审查结论或面向目标读者的文档内容。
23 other projects use a version of this.
Adopted by
Most recently taken up by
- delta-comic/delta-comictheir own version, first seen Nov 30, 2026
- marcioaltoe/skillstheir own version, first seen Nov 29, 2026
- Manram/esc-skillstheir own version, first seen Nov 29, 2026
- dennisdoomen/skillstheir own version, first seen Nov 29, 2026
- Apprentice-Geo/skillsword for word, first seen Nov 24, 2026
- AshrafDurjoy/genai-shared-patternstheir own version, first seen Nov 16, 2026
Used with
Projects with it also use security-review and grill-me.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 3 projects that use this
GoogleSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 4 projects that use this
Other versions23 projects use a version of this.
Word for word · 1
- Apprentice-Geo/skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 22
- ZhangHanDong/rust-skills★ 1.5ksame name
- actionbook/rust-skills★ 1.5ksame name
- fjrevoredo/mini-diarium★ 323same name
- delta-comic/delta-comic★ 305same name
- aromanarguello/roman-skills★ 18same name
- Keming-Shen/MotionSurf★ 16same name
- Lucky1192405754/MotionSurf★ 6same name
- 81wallace18/codex-skills★ 4same name
- jhlee0409/omni-harness-kit★ 2same name
- okaneconnor/agent-skills★ 2same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- article-format-correction/AGENTS.mdAGENTS.md
- audio-transcribe/AGENTS.mdAGENTS.md
- bili-audiosummary/AGENTS.mdAGENTS.md
- coding-guidelines/AGENTS.mdAGENTS.md
- subtitle-creator/AGENTS.mdAGENTS.md
- anti-sycophancy-reviewSkill
- article-format-correctionSkill
- audio-transcribeSkill
- bili-audiosummarySkill
- subscription-orchestratorSkill
- subtitle-creatorSkill
The file
Files
编码准则
分析、审查、诊断和方案类请求给出结论与建议。用户要求实现、修改或修复时才执行改动。
用户的要求、仓库中的明确指令和项目约定的优先级高于本准则。
调查与判断
- 按需阅读相关代码和文档,必要时联网核对现行官方文档。明确目标、验收条件和改动范围,查清关键行为的依赖条件和已有保护措施,澄清影响判断的疑点。
- 只提出会实质影响当前目标或用户决策的缺陷、限制和风险。说明触发情景、所依据的需求、契约或代码,以及具体影响。
- 调查后仍无法明确需求或解决需求冲突时,说明影响并询问用户。明确需求和项目约定足以指导常规实现时,可采用合理假设。
改动范围与实现
- 只做请求涉及或为保证正确性所需的改动,保留无关的本地修改、未跟踪文件和用户创建的产物。
- 新增或修改功能时,检查相关入口、调用路径和用户交互,同步调整受影响的界面、配置和其他必要部分,确保功能完整接入。
- 按需了解相关目录职责、同类实现和项目惯例,沿用合理的文件组织、命名、代码风格、资源管理和技术方案。
- 优先复用仓库和依赖中的已有功能。语义和职责相同的功能尽量共用一个实现。只在有必要时新增抽象、版本控制、配置或依赖。
- 设计、修改或验证基于浏览器渲染的界面或动画时,阅读前端开发与验证准则。
文档、文案与工作记录
- 围绕读者要理解或完成的事写项目文档,直接说明当前行为、用法和约束。理解约束所必需的设计依据可就地说明。曾用方案、设计取舍和变更经过放在专门的决策或历史文档中。
- 界面文案说明用户看到的状态和能执行的操作。演示稿围绕观众需要理解的问题和结论展开。两者都不包含曾用方案、设计取舍和变更经过。
- 修订文字时,把新信息和必要的限定融入正文。行文出现重复、跳跃、复杂化等不自然叙述时,重写受影响的句子或段落。
- 为相同的事实或规则明确一处权威来源,集中维护,其他位置优先引用。关键约束可在文档中少量重复。
- 代码与文档冲突时,依据需求和契约判断哪一方需要修正。无法判断时,报告具体分歧,避免猜测或仅凭现有实现改写文档。
- 需要确定文档职责或位置、维护交接记录或处理归档时,阅读文档组织准则。
验证与测试
- 按变更范围和风险选择能检验本次改动及关键依赖条件的最小验证,明确触发条件和预期可观察结果。优先复用已有测试和工具。无明确需求时,不新增测试框架、基础设施或复杂检查流程。
- 避免测试契约以外的细节,如 UI/CSS/DOM 的偶然结构、文档的精确措辞、私有实现、mock 调用顺序,以及文件、日志或缓存等副产物。
- 测试失败时,判断它保护的行为是否仍属有效契约。契约仍有效时修复实现。测试与已确认的新行为冲突时,同步更新测试。无法判断时,保留它并向用户说明。
- 未经授权,不修改、删除、放宽或跳过与当前改动无关的测试,也不得通过缩减 fixture、断言范围、测试环境或提高容差来掩盖回归。
结果汇报
- 先说结果,再给出用户判断所需的依据。省去需求复述、显而易见的内容和执行流水。
- 简要说明采用了哪些未经确认的假设,以及据此如何处理。
- 发现改动范围以外的问题时,汇报成因、触发情景和影响情况。
- 如实报告相关验证的通过、失败、未执行和受阻情况,交代具体风险、不确定性和未完成事项。
- 准确使用技术术语。翻译会引起歧义时使用原文,必要的代码块和关键报错原样引用。
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.

