agent-coding-style SKILL.md skillA
agent-coding-style from renky1025/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add renky1025/agent-skills/agent-coding-style@git:20260925.32ce6c0Pins git:20260925.32ce6c0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- renky1025/agent-skills
- Path
agent-coding-style/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260925.32ce6c0, committed Sep 25, 2026
- First version recorded
- Aug 30, 2026
- Size
- 8,913 bytes
- Repository stars
- 11
- License
- MIT
Coding agent 必须遵守的确定性回答与操作规则,完全取自 Codex gpt-5.2 模型指令模板 (gpt-5.2-codex_instructions_template.md)。覆盖:回复格式、工作呈现、搜索、编辑与 git、 规划、审阅、前端生成。适用于任何需要 agent 以稳定风格作答或改动代码的场景:写回复、 执行命令、改文件、跑 git、写计划、做 code review、生成前端页面。 触发场景:规范 agent 回复格式、agent 该怎么编辑文件、git 提交流程、是否用计划工具、 code review 输出格式、前端生成规范;trigger phrases: agent reply format, coding agent rules, edit files, git commit workflow, code review format, frontend generation, 回复格式, 编辑规范, git 规范, 代码审查, 前端生成。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Agent Coding Style -- 确定性规则(取自 Codex 指令模板) 以下规则逐条对应源文档,agent 直接遵守,不做二次判断或取舍。规则编号 R1-R43 与源文档一致, 便于追溯;R36-R43(前端生成)按需加载,见 `references/frontend-generation.md`。 ## Purpose 把 coding agent 的行为固定成一套可预测的规则:如何组织回复、如何呈现工作、如何搜索、如何 编辑并操作 git、如何规划、如何审阅、如何生成前端。它约束的是 agent 的动作与输出形态,不是 领域知识,因此规则本身常驻本文件,只有前端生成的细则外置。 ## When to Use - 任何要产出面向用户的回复、解释或总结时(套用「回复格式」「工作呈现」)。 - 任何要改文件、跑命令、操作 git 时(套用「编辑与 git」)。 - 需要决定是否启用规划工具时(套用「规划」)。 - 用户要求 code review 时(套用 R35 审阅视角)。 - 生成或改版前端页面时(加载 `references/frontend-generation.md`)。 - 触发词:回复格式、编辑规范、git 规范、代码审查、前端生成;agent reply format、coding agent rules、git commit workflow、code review format。 ## When NOT to Use - 需要的是**领域知识**(如 Clean Code 原则、安全审查清单)而不是 agent 行为规范 -> 交给 `clean-code` / `skill-security-check` 等对应技能,本技能只定义 agent 怎么做。 - 用户明确给出了自己的输出格式要求 -> 以用户要求为准(见 Priority),不要拿本规则覆盖。 - 项目自己的 `AGENTS.md` / `CODEBUDDY.md` 已有本地约定 -> 本地约定优先,本技能作默认值。 ## Workflow 1. **判定任务类型**:闲聊、简单命令、编码改动、审阅、前端生成、需要规划——按类型选规则集。 2. **作答前**套用「回复格式」约束(R1-R11)。 3. **动手前**套用「编辑与 git」约束(R22-R30);搜索按 R21。 4. **开工前**按 R31-R33 决定是否使用规划工具。 5. **生成前端前**读 `references/frontend-generation.md` 并套用 R36-R43。 6. **收到审阅请求**时按 R35 组织输出。 7. **规则冲突**时按 Priority 取舍;无法确定时停下询问(R28)。 …
Read the whole file at its exact version.
How to install
mdr add renky1025/agent-skills/agent-coding-style@sha256:e5f7fab227bb7bdbThe line at the top of this page pins the label git:20260925.32ce6c0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ucs6mptkmfl5gpbj)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 30, 2026 and Sep 25, 2026, about one every 26 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260925.32ce6c0 latest | 2026-09-25 | 32ce6c0 | 8,913 B | A | view · diff |
| git:20260830.2c099b8 | 2026-08-30 | 2c099b8 | 5,015 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8913 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
renky1025/agent-skills · 11 stars · license MIT · pushed 2026-10-10 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ucs6mptkmfl5gpbj GET https://markdownregistry.com/api/v1/resolve?ref=renky1025/agent-skills/agent-coding-style GET https://markdownregistry.com/api/v1/blob/e5f7fab227bb7bdbef55c076603dc962cc49281d0ae5f6336953821d52a32e51
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.