sdlc-sync skillB
sdlc-sync is agent-read markdown (skill) from tscarpe/claude-sdlc-skills: Syncs local SDLC artifacts (requirement digest/audit/checklist, test cases) to a team-facing web platform and pulls PM clarification answers back into local markdown files. Bridges the single-developer local workflow with multi-role collaboration: push artifacts for sharing, pull answers to close the clarification loop, publish the clarified standard requirement document, register test cases for team traceability. Use when the user wants to 推送产物到平台 / 同步到平台 / 拉回答复 / 发布标准文档 / 用例上平台 / sdlc-sync. 触发.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 产物同步桥(sdlc-sync)
本地 markdown 是**工作权威**(六个 sdlc skill 的消费链不经过平台),平台是**共享权威与交互面**。本 skill 是两者之间唯一的桥:只做搬运与回写,不做任何质检/生成决策。
## 前置
- 平台地址:环境变量 `SDLC_PLATFORM_URL`,缺省 `http://127.0.0.1:8080`
- 请求方式:一律用 `curl`,payload 写入临时文件后 `-d @file.json`(避免 shell 转义问题)
- 需求对应关系记录在 `sdlc/<需求名>/.platform`(JSON:`{"reqId":"REQ-2026-001"}`),首次 push 后写入
- 平台本体与验收脚本在独立仓库 `~/IdeaProjects/sdlc-platform/`(连接拒绝时先确认服务已启动:`scripts/dev.sh`)
## 选择子命令
按用户意图选择,一条意图通常对应一个子命令:
| 意图 | 子命令 |
|---|---|
| 「把这个需求发到平台 / PM 要看质检结果」 | push-artifacts |
| 「拉一下 PM 的答复 / 看看平台上答了没」 | pull-answers |
| 「澄清完了,发布标准需求文档」 | publish |
| 「把用例登记到平台 / 用例上平台」 | push-cases |
| 「新需求建个卡片」 | submit |
## 子命令规范
### 1. submit —— 平台建卡(流程入口)
`POST /api/requirements`:
```json
{"name":"<需求名>","iter":"<迭代>","sourceType":"feishu","sourceUrl":"<飞书链接>","submittedBy":"<提交人>"}
```
`sourceType=text` 时用 `sourceText` 代替 `sourceUrl`。返回的 `reqId` 写入 `sdlc/<需求名>/.platform`。
### 2. push-artifacts —— 推质检三件套(需求进入待澄清)
读本地 `sdlc/<需求名>/intake/` 三件套,结构化为 payload(字段规范见 [references/payload-schema.md](references/payload-schema.md)):
- `snapshot`:**经 lark-cli 拉取飞书需求原文全文**放入 `{md}`(原文快照 = 质检与澄清的依据版本,平台据此实现出处定位;推送前报告快照字节数)
…Read the whole file at its exact version.
How to install
mdr add tscarpe/claude-sdlc-skills/sdlc-sync@git:20260919.25ece4cmdr add tscarpe/claude-sdlc-skills/sdlc-sync@sha256:e6b20f0c51333689Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ubpmx2wtne2eng34)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260919.25ece4c latest | 2026-09-19 | 25ece4c | 8,188 B | B | view · diff |
| git:20260918.13b03f4 | 2026-09-18 | 13b03f4 | 7,672 B | B | view · diff |
| git:20260918.92f6241 | 2026-09-18 | 92f6241 | 7,670 B | B | view · diff |
| git:20260918.cd3c536 | 2026-09-18 | cd3c536 | 5,695 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:8080)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8188 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 script tag
Source
tscarpe/claude-sdlc-skills · 63 stars · license MIT · pushed 2026-09-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ubpmx2wtne2eng34 GET https://markdownregistry.com/api/v1/resolve?ref=tscarpe/claude-sdlc-skills/sdlc-sync GET https://markdownregistry.com/api/v1/blob/e6b20f0c513336897a7dd18d8e328ec1bf2281b45d1975082383bca4ce3cfb25
Your agent 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.