sync-pstack
Analyze upstream cursor/plugins pstack changes and guide semantic ports into Codex-native Jstack without overwriting local skills. Use when the user says "sync pstack", "check pstack updates", or asks to update Jstack from upstream.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- sync-pstack
- description
- Analyze upstream cursor/plugins pstack changes and guide semantic ports into Codex-native Jstack without overwriting local skills. Use when the user says "sync pstack", "check pstack updates", or asks to update Jstack from upstream.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档agents/openai.yaml266 B
- 参考文档references/porting-policy.md2.0 KB
- 脚本scripts/analyze.sh7.4 KB
03 SKILL.md 正文
Sync pstack into Jstack
Treat upstream pstack as design input and port its intent without overwriting local Codex work.
Workflow
-
Read porting-policy.md, then read
skills/jesus-mode/references/codex-compatibility.mdandskills/jesus-mode/references/routes.mdin the target repository. -
Run the read-only analyzer with a retained checkout:
bash skills/sync-pstack/scripts/analyze.sh "$PWD" --keep-upstreamUse
--base <40-hex-commit>only when deliberately comparing another upstream baseline. Use--upstream-dir <new-path>when a stable checkout location is needed; the path must not already exist. -
Inspect every reported upstream delta in
UPSTREAM_DIRand its mapped local counterpart. Record one disposition per changed upstream path in the task response:adopt,translate,preserve-local, orskip, with rationale. Do not create a project folder, issue map, or ledger file for this workflow. -
Implement accepted changes as deliberate semantic ports. Preserve local Codex interfaces, authorization boundaries, shared-checkout rules, and the
tdd→pstack-tddandteach→pstack-teachnames. Never blindly copy Cursor runtime scripts or overwrite a skill from upstream. -
Run
node scripts/validate.mjsandpython3 ~/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py .. -
Update
NOTICE.md's source baseline only after every changed path has a disposition, accepted ports are integrated, and validation passes. A partial or interrupted sync leaves the existing baseline unchanged.
Report
Summarize the baseline and head, changed paths, each disposition, accepted ports, validation commands, and anything intentionally preserved or skipped.
04 同仓库更多 Skills
why
Why code is this way: design rationale, regressions, and history from evidence. For runtime: how.
unslop
Edit prose to remove AI writing patterns when polishing text or asked to make it sound natural.
typescript-best-practices
Use when writing or reviewing .ts/.tsx code: types, validation boundaries, and API signatures.
swarm
Fan out N parallel workers, drain them, and return one report. Use for /swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.
statechart
Check a finite TLA+ model and explain its paths and rule failures as a statechart.
show-me-your-work
Use when asked for a decision trail, or when unattended work needs a durable record of decisions and evidence.