一键导入
document-release
Update a small, factual set of project docs from local changes and write a durable summary without committing or using GitHub APIs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update a small, factual set of project docs from local changes and write a durable summary without committing or using GitHub APIs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check local gstack setup health, detect stale build/setup state, and write a bounded upgrade-readiness report.
Interrogate an idea like a bounded YC-style office hours session and write a durable local memo.
Review recent local repository history and write a bounded engineering retrospective.
Prepare a local authenticated browser session for OpenCode QA and design workflows using gstack browse cookie import flows.
Audit a local rendered page with browser evidence, write a bounded design report, and optionally apply local UI fixes when explicitly requested.
Run a structural pre-landing code review in OpenCode, write a durable local report, and optionally apply low-risk fixes when explicitly requested.
| name | document-release |
| description | Update a small, factual set of project docs from local changes and write a durable summary without committing or using GitHub APIs. |
| compatibility | opencode |
| metadata | {"host":"opencode","migration_phase":"4","mode":"local-only"} |
This is the first OpenCode-native /document-release slice for gstack. It updates a narrow, factual set of Markdown docs from local repository changes and writes a durable summary artifact.
In this v1 slice:
.gstack/document-release/Do not commit, push, edit PR bodies, or use GitHub APIs in this v1 workflow.
Target only these files in v1 unless the user narrows scope further:
README.mdREADME-zh-CN.mdAGENTS.mdARCHITECTURE.mdCONTRIBUTING.mdTODOS.mddocs/**/*.mdOut of scope in v1:
CHANGELOG.mdVERSIONREADME.claude.backup.mdPrefer local-only refs in this order:
if git show-ref --verify --quiet refs/remotes/origin/main; then echo origin/main;
elif git show-ref --verify --quiet refs/remotes/origin/master; then echo origin/master;
elif git show-ref --verify --quiet refs/heads/main; then echo main;
elif git show-ref --verify --quiet refs/heads/master; then echo master;
else echo NO_BASE; fi
If there is no usable base branch but the user gave explicit doc targets and local files to compare, continue with that narrower scope.
Only make factual updates only. Good examples:
Do not do large narrative rewrites, philosophy changes, or speculative documentation cleanup.
.gstack/document-release/ if neededUse .gstack/document-release/document-release-{slug}.md unless the user provides an explicit output path.
git diff <base> --name-only and git diff <base> --stat when a base existsUpdate only what the diff or explicit request clearly supports.
If the user explicitly names target docs, treat those files as required outputs for this run rather than optional candidates.
Examples:
Write a summary artifact under .gstack/document-release/ listing:
If the request provides an explicit summary output path, use that exact path.
CHANGELOG.md, VERSION, or README.claude.backup.md in this workflow unless the user explicitly overrides scope