coding-workflow SKILL.md skillA
coding-workflow from freehul/sgme is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add freehul/sgme/coding-workflow@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- freehul/sgme
- Path
skills/coding-workflow/SKILL.md- Versions recorded
- 1
- Latest version
- v1.0.0, committed Sep 29, 2026
- Size
- 2,545 bytes
- Repository stars
- 15
- License
- MIT
统一开发工作流:需求拆解、CodeGraph 影响分析、TDD、系统调试、代码审查、验证和本地提交。适用于在 SGME 或其它代码仓库中开发、修复、重构和审查代码。.
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
# 编码开发工作流 ## 何时使用 需要写代码、改测试、修 Bug、重构、审查或提交时使用。只提供开发方法;SGME 架构细节、适配器细节和技能治理分别由对应技能提供。 ## 工作闭环 1. **确认范围**:读项目规范、当前 Backlog 和相关设计;列出改动文件、依赖、验收标准。 2. **理解影响**:仓库存在 `.codegraph/` 时优先运行 `codegraph explore "<问题或符号>"`,再用 `codegraph affected <changed-files>` 找受影响测试;没有 CodeGraph 再用项目索引工具。 3. **TDD**:先写能复现需求或 Bug 的失败测试(RED),确认失败后做最小实现(GREEN),最后重构(REFACTOR)。 4. **调试**:先保存完整错误和复现条件;沿调用链定位根因,形成可证伪假设,一次只改一个根因并补回归测试。 5. **审查**:检查边界、异常、兼容性、权限、日志、秘密、路径可移植性和是否误删原件;代码与文档必须一致。 6. **验证**:先跑目标测试,再跑项目全量测试;执行项目配置的格式/lint 检查。没有新鲜输出证据,不宣称完成。 7. **提交**:按逻辑分组提交(commit),使用 `feat:` / `fix:` / `refactor:` / `test:` / `docs:` / `chore:`;多步骤任务按依赖拆成小提交或本地 PR 分支。 ## 不可绕过的边界 - 原始会话、数据库、配置和用户数据只读;迁移、重建、清理必须在副本或明确目标上执行。 - 不把密钥、真实内网地址、个人身份信息或本机绝对路径写进代码、测试、文档和示例。 - 同一命令连续失败三次后停止盲试,升级到官方文档、Issue、社区资料,再重新评估方案。 - 不为了通过测试删除功能、降低安全性或吞掉异常;优先修根因。 ## 最小验收清单 ```text □ 需求/设计/Backlog 已核对 □ 失败测试先于实现,回归测试已保留 □ 目标测试通过 □ 全量测试通过 □ lint/format 已执行并区分新增问题与既有基线 □ git diff --check 通过 □ 无秘密、无误删、无未记录的行为变化 ```
Read the whole file at its exact version.
How to install
mdr add freehul/sgme/coding-workflow@sha256:f90b1ad5ad95caaeThe line at the top of this page pins the label v1.0.0, 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_fbyoomwsf5zmh5ez)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 29, 2026.
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 (2545 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
freehul/sgme · 15 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fbyoomwsf5zmh5ez GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/coding-workflow GET https://markdownregistry.com/api/v1/blob/f90b1ad5ad95caae9b2e877fac6d2c74197f8e38d7bb23e56aca7f1d963d9d45
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.