원클릭으로
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 페이지를 검토하고 설치를 진행할 수 있습니다.
| 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.
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.