prompt-refactor

द्वारा microsoft

मौजूदा प्रॉम्प्ट आर्टिफैक्ट्स को स्पष्ट आवश्यकताओं के अनुसार पूर्ण प्रॉम्प्ट-बिल्डर लूप के माध्यम से रीफैक्टर करें।

npx skills add https://github.com/microsoft/hve-core --skill prompt-refactor

Prompt Refactor Compatibility Skill

Goal

Preserve legacy prompt-refactor activation while simplifying approved prompt-engineering artifacts through the hve-builder refactor route and its independent quality gates.

Flow

  1. Translate promptFiles to existing targets and resolve the behavior that must remain unchanged.
  2. When requirements are omitted, use the HVE Builder baseline review to derive evidence-backed cleanup objectives.
  3. Activate hve-builder with mode=refactor, the approved write boundary, requirements, and any caller-owned evidence root.
  4. Return the HVE Builder static verdict, behavior-test fidelity and verdict, validation result, and overall outcome.

Inputs

  • promptFiles: existing prompt-engineering artifacts to refactor
  • requirements: optional cleanup objectives, constraints, and preserved behavior
  • evidenceRoot: optional caller-owned HVE Builder evidence path

Success Criteria

  • The approved targets are simpler without unintended behavior change.
  • Static review, behavior testing, and host validation pass.
  • Source changes stay inside the approved write boundary.
  • The returned overall outcome is unchanged from hve-builder.

Constraints

  • Do not dispatch legacy Prompt Tester, Prompt Evaluator, or Prompt Updater workers.
  • Do not create a second orchestration loop or sandbox contract.
  • Route a requested type change, artifact split, or new support artifact back through HVE Builder scope approval.

Stop Rules

  • Stop Pass only when the HVE Builder refactor route passes every required gate.
  • Preserve Revise, Deferred, or Blocked and its rerun condition.
  • Ask when preserved behavior or write scope cannot be inferred safely.

Handoff

Use prompt-analyze for read-only follow-up review and prompt-builder when the requested work intentionally changes behavior or creates artifacts.

Final Response Contract

Return targets, changed files, refactor rationale, static verdict, behavior-test fidelity and verdict, validation result, overall outcome, evidence links, and next action.

microsoft की और Skills

oss-growth
microsoft
OSS ग्रोथ हैकर व्यक्तित्व
official
accessibility-aria-expert
microsoft
React/Fluent UI वेबव्यू में पहुँच संबंधी समस्याओं का पता लगाता है और उन्हें ठीक करता है। स्क्रीन रीडर संगतता के लिए कोड की समीक्षा करते समय, ARIA लेबल ठीक करते समय, सुनिश्चित करते समय उपयोग करें…
official
generate-canvas-app
microsoft
[पुराना हो चुका है — इसके बजाय canvas-app का उपयोग करें] एक पूर्ण Power Apps कैनवास ऐप जनरेट करें।
official
django
microsoft
Django वेब डेवलपमेंट के लिए सर्वोत्तम अभ्यास जिसमें मॉडल, व्यू, टेम्पलेट और परीक्षण शामिल हैं।
official
github-issue-creator
microsoft
कच्चे नोट्स, एरर लॉग्स, वॉइस डिक्टेशन या स्क्रीनशॉट को साफ-सुथरे GitHub-फ्लेवर्ड मार्कडाउन इश्यू रिपोर्ट्स में बदलें। तब उपयोग करें जब उपयोगकर्ता बग जानकारी, एरर…
official
python-package-management
microsoft
निर्भरता प्रबंधन के लिए uv और कार्य स्वचालन के लिए poethepoet का उपयोग करता है।
official
runtime-validation
microsoft
माइग्रेटेड एप्लिकेशन के लिए रनटाइम सत्यापन — परीक्षण रणनीति (योजना चरण) और परीक्षण निष्पादन (सत्यापन चरण) को शामिल करता है: स्टार्टअप सत्यापन,…
official
azure-postgres-ts
microsoft
Azure Database for PostgreSQL Flexible Server से pg (node-postgres) पैकेज का उपयोग करके कनेक्ट करें, जिसमें पासवर्ड और Microsoft Entra ID (पासवर्डलेस) प्रमाणीकरण के लिए समर्थन है।
official