一键导入
prompt-refactor
Refactor existing prompt artifacts against explicit requirements through the full prompt-builder loop.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refactor existing prompt artifacts against explicit requirements through the full prompt-builder loop.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Canonical documentation capability for audit, drift, validate, and author modes in hve-core.
Text-to-speech voice-over generation from YAML speaker notes using Azure Speech SDK with SSML pronunciation control
PowerPoint slide deck generation and management using python-pptx with YAML-driven content and styling
Authors Vally conformance tests for prompts, instructions, agents, and skills, including refusals for jailbreak, prompt-injection, harmful-elicitation, TOS, CoC, and PII-extraction stimuli
Manage GitLab merge requests and pipelines with a Python CLI
Jira issue workflows for search, issue updates, transitions, comments, and field discovery via the Jira REST API. Use when you need to search with JQL, inspect an issue, create or update work items, move an issue between statuses, post comments, or discover required fields for issue creation.
| name | prompt-refactor |
| description | Refactor existing prompt artifacts against explicit requirements through the full prompt-builder loop. |
| argument-hint | [promptFiles=...] [requirements=...] |
| license | MIT |
| user-invocable | true |
This skill runs the full phase loop of the prompt-builder skill—test, evaluate, research, and update—focused on refactoring existing artifacts. Use the prompt-builder skill's orchestration reference for the phase loop, the sandbox contract, the Prompt Tester, Prompt Evaluator, Researcher Subagent, and Prompt Updater dispatch matrix, the artifact paths, and the cleanup contract. This skill adds only the refactor scope, the cleanup heuristics in references/refactor-checklist.md, and the validation-selection guidance in references/validation-matrix.md.
Refactor existing prompt-engineering artifacts by simplifying, consolidating, and removing confusion while preserving functional intent. When no explicit requirements are supplied, run a baseline evaluation first and derive refactoring objectives from the evaluation findings plus the standard cleanup checklist.
.copilot-tracking/sandbox/{{YYYY-MM-DD}}-{{topic}}-{{run-number}}, where {{YYYY-MM-DD}} is today's date and {{topic}} is the primary artifact's base name with the suffix stripped, or the parent folder name when the target is a SKILL.md, in kebab-case. When multiple promptFiles are supplied, use the lexically first entry as the primary artifact. See the prompt-builder skill's orchestration reference for the full sandbox and dispatch contract.Prompt Tester and Prompt Evaluator, then inspect the evaluation log. When requirements were omitted, derive the refactor objectives from this baseline evaluation plus the standard cleanup checklist.Prompt Updater, preserving functional intent unless a requirement changes it.promptFiles: (Optional) Existing prompt artifact(s) to refactor. Defaults to the current open or attached file(s).requirements: (Optional) Explicit refactoring objectives, constraints, or acceptance criteria. When omitted, derive the objectives from a baseline evaluation and the standard cleanup checklist.If the request needs a deeper read-only review, recommend /prompt-analyze. For broader create or update work, recommend /prompt-builder.
Report the changed files, refactor rationale, evaluation or validation status, skipped validations with reasons, and any remaining issues.