Home / tscarpe / claude-sdlc-skills · skills/sdlc-sync/SKILL.md · GitHub

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

Latest version
mdr add tscarpe/claude-sdlc-skills/sdlc-sync@git:20260919.25ece4c
Exact content
mdr add tscarpe/claude-sdlc-skills/sdlc-sync@sha256:e6b20f0c51333689

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ubpmx2wtne2eng34.svg)](https://markdownregistry.com/a/art_ubpmx2wtne2eng34)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260919.25ece4c latest2026-09-19 25ece4c 8,188 BB view · diff
git:20260918.13b03f42026-09-18 13b03f4 7,672 BB view · diff
git:20260918.92f62412026-09-18 92f6241 7,670 BB view · diff
git:20260918.cd3c5362026-09-18 cd3c536 5,695 BB view

Audit of the latest version

B  16 of 17 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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.

More from tscarpe/claude-sdlc-skills

CLAUDE.md claude
tscarpe/claude-sdlc-skills · CLAUDE.md
git:20260916.20eb13e · audit A · 63 stars
sdlc-config-review skill
tscarpe/claude-sdlc-skills · skills/sdlc-config-review/SKILL.md · 扫描当前分支相对基线分支(master/main)的 Java 代码 diff,提取发版前需在代码之外人工处理的事项——①配置中心(Apollo/Nacos)Key:@Value 单值、@ConfigurationProperties…
git:20260916.d6329a2 · audit A · 63 stars
sdlc-doubt skill
tscarpe/claude-sdlc-skills · skills/sdlc-doubt/SKILL.md · 对刚做出的非平凡技术决策发起对抗式独立复查——把决策剥离结论后交给全新上下文的审查者"找问题"。Use when 影响ER或公共组件的决策回写前、复杂SQL/状态机流转定稿前、提交前对"已全范围检查"断言存疑时、用户说"这个判断我不放心""…
git:20260916.e9908db · audit A · 63 stars
sdlc-gate skill
tscarpe/claude-sdlc-skills · skills/sdlc-gate/SKILL.md · 评审关口:技术设计与测试用例定稿后的强制评审关口——4 个全新上下文子代理(3 角色预审 + 1 交叉审查)产出 issue 清单与分歧清单,人工逐条裁决后放行开发/测试执行。Use when 技术设计或测试用例已产出待评审、用户说…
git:20260916.592a91d · audit A · 63 stars
sdlc-guardrails skill
tscarpe/claude-sdlc-skills · skills/sdlc-guardrails/SKILL.md · Deterministic guardrail engine that enforces "write-it-and-it's-wrong" red-lines at write time - a PostToolUse hook…
git:20260916.396be06 · audit A · 63 stars
sdlc-intent skill
tscarpe/claude-sdlc-skills · skills/sdlc-intent/SKILL.md · Digests and health-checks product requirement documents (PRD). Stage 1 produces a structured digest (roles, concepts…
git:20260919.25ece4c · audit A · 63 stars
sdlc-test skill
tscarpe/claude-sdlc-skills · skills/sdlc-test/SKILL.md · AI 测试智能体编排:用例生成 → 静态代码一致性检测 → test 环境浏览器功能测试 → 报告生成。子命令(cases/static/exec/spec/report)独立可重跑,两道人工关卡(用例审核、报告复验);通过用例可资产化为…
git:20260920.9153cef · audit A · 63 stars

Every file in tscarpe/claude-sdlc-skills

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