sgme-development SKILL.md skillA
sgme-development 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/sgme-development@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/sgme-development/SKILL.md- Versions recorded
- 1
- Latest version
- v1.0.0, committed Sep 29, 2026
- Size
- 2,492 bytes
- Repository stars
- 15
- License
- MIT
SGME 引擎开发规范:架构边界、memory/wiki/skills 模块、提炼管线、数据库变更、测试和文档对齐。修改 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
# SGME 引擎开发 ## 开始前 先读 SGME 根目录 `AGENTS.md`、当前架构设计和 Backlog;不要凭记忆断言功能是否存在。仓库有 `.codegraph/` 时先用 CodeGraph 了解符号和调用影响。 设计与代码不一致时,先更新设计说明,再改实现;完成后把 Task 标记、测试证据和运行影响写回文档仓。 ## 模块边界 ```text adapters → server / mcp_server → operations → engine / data / profile / llm / config ``` - `data/` 是唯一数据库 CRUD 层;禁止入口层直接拼业务 SQL。 - `operations/` 是 HTTP 与 MCP 共用的业务操作层;入口层只做鉴权、参数转换和响应投影。 - `engine/` 编排 L0→L1→L1.5→L2 提炼;`refinery/` 提供知识提炼基础设施。 - `memory` 是事实、偏好、项目上下文与提炼;`wiki` 是长期手册/经验;`skills` 是 git 真源的专业流程。 - 技能唯一来源是 `skills.source_dirs` 中的 `SKILL.md`;wiki 不再桥接为技能。 - `adapters/<host>/` 是适配器真源;`skills/adapter-<host>/` 是可重建的分发副本,不直接手改。 ## 常见改动配方 ### 新表或字段 按「DDL → 幂等迁移 → DAO → operations → HTTP/MCP 路由 → 恢复 → 测试」闭环实现。不要直接改生产库;迁移必须可重复执行并保留原始数据。 ### 新操作或端点 复制 `sgme/operations/health.py` / `inject.py` 的三段式结构:业务函数返回协议无关结果,必要时分别提供 `http_payload` / `mcp_payload`,两入口不互相 import。 ### 技能改动 先修改 `skills/<name>/SKILL.md` 真源并验证 frontmatter;新增适配器后运行 `scripts/publish_adapter_skills.py --check`,再发布分发副本。普通技能不批量 materialize。 ## 验证 ```powershell $env:PYTHONUTF8 = "1" & ".\.venv\Scripts\python.exe" -m pytest -q & ".\.venv\Scripts\python.exe" scripts/adapter_parity.py --strict git diff --check ``` …
Read the whole file at its exact version.
How to install
mdr add freehul/sgme/sgme-development@sha256:322bd2625482c52cThe 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_6ofkvpms47oz5xyg)
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 (2492 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_6ofkvpms47oz5xyg GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/sgme-development GET https://markdownregistry.com/api/v1/blob/322bd2625482c52c6f83f8f2e4b2010a6706bb23ca4ed854b6bec8ae4f07a430
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.