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.

Install it, pinned
mdr add renky1025/agent-skills/agent-coding-style@git:20260925.32ce6c0

Pins 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

The exact contents, by fingerprint
mdr add renky1025/agent-skills/agent-coding-style@sha256:e5f7fab227bb7bdb

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ucs6mptkmfl5gpbj.svg)](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.

versioncommittedcommitsizeaudit
git:20260925.32ce6c0 latest2026-09-25 32ce6c0 8,913 BA view · diff
git:20260830.2c099b82026-08-30 2c099b8 5,015 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from renky1025/agent-skills

AGENTS.md AGENTS.md file
renky1025/agent-skills · AGENTS.md
git:20260925.32ce6c0 · audit A · 11 stars
article-deconstructor SKILL.md skill
renky1025/agent-skills · article-deconstructor/SKILL.md · 拆解高流量文章:输入一篇文章,产出结构化拆解报告——核心观点与副观点、说服策略矩阵、情绪触发地图、金句库、情感曲线、情感层次、论证多样性、视角转化、语言风格,以及可复用的句式模板与写作模板。触发场景:用户要分析文章结构、提取写作技巧、学习高…
git:20260925.32ce6c0 · audit A · 11 stars
black-humor-writing SKILL.md skill
renky1025/agent-skills · black-humor-writing/SKILL.md · 生成有传播力的黑色幽默/讽刺/搞笑内容(推文、段子、评论文案、文章段落)。基于单立人单口喜剧教材,用五步 SOP 把生活观察变成预期违背式的笑点:定主题+态度+前提 -> 构建预期违背 -> 夸张荒谬点 -> 制造情绪冲突 ->…
v1.0.0 · audit A · 11 stars
chatgpt-bridge SKILL.md skill
renky1025/agent-skills · chatgpt-bridge/SKILL.md · 用用户本机已登录的 chatgpt.com 会话做两件事:(1) 新建对话,把你不确定/不清楚的技术问题发过去,等回答生成结束,把完整答案取回来;(2) 按关键字找回历史对话,在里面继续追问,拿到确切答案。复用 Chrome…
git:20260925.32ce6c0 · audit B · 11 stars
claude-remember SKILL.md skill
renky1025/agent-skills · claude-remember/SKILL.md · Review auto-memory entries and produce a report of proposed promotions across the memory hierarchy (project-level…
git:20260925.32ce6c0 · audit A · 11 stars
claude-simplify SKILL.md skill
renky1025/agent-skills · claude-simplify/SKILL.md · Review changed code for reuse, quality, and efficiency, then fix the issues found by launching three parallel review…
git:20260925.32ce6c0 · audit A · 11 stars
clean-code SKILL.md skill
renky1025/agent-skills · clean-code/SKILL.md · Knowledge base distilled from "Clean Code: A Handbook of Agile Software Craftsmanship" by Robert C. Martin (Uncle Bob)…
git:20260925.32ce6c0 · audit A · 11 stars
curriculum-design SKILL.md skill
renky1025/agent-skills · curriculum-design/SKILL.md · 专业输出课程级(教学大纲)与课堂级(教案)双层课程设计方案,遵循 OBE 反向设计与"两性一度"一流课程标准。适用于高校教师教学发展、职业院校课程建设、企业培训课程开发、在线课程设计。触发词:课程设计、教学设计、教学大纲、教案、课程目标、教…
git:20260925.32ce6c0 · audit A · 11 stars
de-ai-writing SKILL.md skill
renky1025/agent-skills · de-ai-writing/SKILL.md · 文本去AI味:用确定性检测与「删除 -> 声纹校准 -> 改写 -> 防过平反查」去除文字的机器腔,把文字放回具体的人身上。产出:静默改写终版或AI味检测报告+七维评分。触发场景:用户说「去AI味」「太像AI写的」「帮我润色得更像人写的」「…
git:20261010.f412a01 · audit A · 11 stars
design-md-extractor SKILL.md skill
renky1025/agent-skills · design-md-extractor/SKILL.md · Extract a visual design system from any website URL and generate a DESIGN.md that strictly follows the…
git:20260925.32ce6c0 · audit A · 11 stars
edulab SKILL.md skill
renky1025/agent-skills · edulab/SKILL.md · 面向中高考数学的可视化解题工具:空间几何题生成可交互 3D 解题演示(建系向量法 + sympy 校验 + Three.js),函数表达式生成参数可控的 2D 图形(滑块实时联动)。产物为单文件自包含交互式…
git:20260925.32ce6c0 · audit A · 11 stars
github-analyzer SKILL.md skill
renky1025/agent-skills · github-analyzer/SKILL.md · 一键分析 GitHub 项目,搞清楚它是什么、有什么用、怎么用,产出一份实用导向的中文分析报告 (这是什么 / 解决了什么问题 / 有什么用 / 怎么用 / 亮点 五节),写入文件并用 present_files 交付。 触发词:分析…
git:20260925.32ce6c0 · audit A · 11 stars

Every file in renky1025/agent-skills

Browse by kind, by grade A, or by owner.