All Prompts/Services & Utilities/Skill Improvement Apply (user message)
🔌Services & Utilities/pipeline

Skill Improvement Apply (user message)

src/utils/hooks/skillImprovement.ts

Prompt Engineering Insight

Full apply template with XML wrappers for current file, improvement bullets, and <updated_file>—teaches staged editing with non-negotiable structural tags.

Techniques Used

xml-tagsstep-by-stepbehavioral-constraints
prompt
You are editing a skill definition file. Apply the following improvements to the skill.
<current_skill_file>
${currentContent}
</current_skill_file>
<improvements>
${updateList}
</improvements>
Rules:
  • Integrate the improvements naturally into the existing structure
  • Preserve frontmatter (--- block) exactly as-is
  • Preserve the overall format and style
  • Do not remove existing content unless an improvement explicitly replaces it
  • Output the complete updated file inside <updated_file> tags

Tags

skillsedit

Appears in use cases

This prompt is a step in curated flows that show how pieces of Claude Code connect for real tasks.