一键导入
reflect-script-skills
Post-iteration reflection for script writing sessions. Load after a script has been written or iterated and the user signals it is done.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Post-iteration reflection for script writing sessions. Load after a script has been written or iterated and the user signals it is done.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Token-efficient man page reading. Load when looking up CLI tool docs, flags, options, usage examples, config formats. Do NOT use bash to run `man` directly without loading this skill first.
Load when user asks to create, update, edit, or refactor any OpenCode (OC) artefact: skills, agents, commands, tools, plugins, or snippets — including modifying an existing one. Triggers examples: "create skill to …", "draft a command to …", "add Y to OC cmd Z", "edit the W agent", "write a plugin to …", "create a tool for …", "update crafter skill". Guides user through discovery, drafting, and iterative refinement.
Methodology for drafting technical design specs. Load when asked to write, draft, or refine a spec, design doc, architecture note, RFC, or similar document for a system, API, protocol, or subsystem.
Load ONLY when user explicitly invokes /reflect-friction or directly asks to review session friction (e.g. "review friction", "what went wrong", "where did you push back"). Do NOT auto-load speculatively.
General script writing guidelines: structure, naming, error handling, and organization. Language-agnostic. Auto-load when writing or reviewing any script. Language-specific skills (write-script-bash, write-script-bats) build on top of this.
Load whenever new files or directories are created in a git repo — via write, bash, or any other tool. Ensures `git_track_new_file` is called so new files are git-tracked for the user.
| name | reflect-script-skills |
| description | Post-iteration reflection for script writing sessions. Load after a script has been written or iterated and the user signals it is done. |
| metadata | {"maintainers":["bew"]} |
Surface patterns and decisions from the current script-writing session that are not yet encoded
in the active write-script-* skills, and ask the user whether to add them.
Load this skill when all of the following are true:
write-script-* skill was active during the session.Do not load speculatively or mid-iteration.
Scan the session — Review what was written or changed in the script. Identify anything that:
write-script-* skills.Identify candidate rules — For each pattern found, decide:
write-script-generic?Ask the user — Present candidates as a short list. For each, name: what the pattern is, which skill it would go into, and why. Ask the user to confirm which ones to capture.
Summarize — After the user responds, output a brief summary:
If no candidates were found, say so briefly — do not invent friction.
write-script-generic or the active lang skill.