28 lines
1.8 KiB
Markdown
28 lines
1.8 KiB
Markdown
---
|
|
name: ste100-sync
|
|
description: Sync the STE100 language rules with upstream speak-human-tw. Compare the pinned upstream version in references/ste100.md against the latest release, distill applicable changes, refresh ste100-lint.sh patterns, re-lint all jsc repos, then open a PR via jsc-git pr. Use on periodic maintenance or when upstream releases a new version; not for editing local-only rules.
|
|
---
|
|
|
|
# ste100-sync
|
|
|
|
Keep `references/ste100.md` in sync with its upstream source, [speak-human-tw](https://github.com/Raymondhou0917/speak-human-tw) (MIT).
|
|
|
|
## Steps
|
|
|
|
1. Read the pinned version from the「上游版本」line in `references/ste100.md`.
|
|
2. Clone the upstream repo (`--depth 1`). Read the `version` and `changelog` fields in its `SKILL.md` frontmatter.
|
|
3. Same version: report「上游沒有新版」and stop.
|
|
4. Newer version — distill the changes. **MUST run as a sub agent**:
|
|
- Walk the changelog entries newer than the pinned version.
|
|
- Keep only changes that apply to technical documents and conversation: Taiwan term replacements, punctuation rules, de-AI patterns, humanize targets.
|
|
- Drop marketing-copy scenes, eval material, and workflow-mode changes.
|
|
- Apply the distilled changes to `references/ste100.md`. Keep its trimmed structure. Update the「上游版本」line.
|
|
5. If the replacement table or cliché list changed, update the `TERMS` and `CLICHES` patterns in `tools/ste100-lint.sh`.
|
|
6. Run `tools/ste100-lint.sh` over every jsc repo. Fix hits in files this repo owns; report hits elsewhere.
|
|
7. Open a PR via `jsc-git:pr`.
|
|
|
|
## Notes
|
|
|
|
- Generated wiki content, commit messages, and PR descriptions stay in Traditional Chinese per the guidelines; only the rule distillation is at stake here.
|
|
- This skill fits the maintenance flow: list it as a maintenance method for the `plugins/meta` repo in `jsc-sdlc:maintain`.
|