一键导入
skillspec-backport
Reconcile changes from a modified SKILL.md back into the .agent source file.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reconcile changes from a modified SKILL.md back into the .agent source file.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review a SkillSpec .agent file for quality, correctness, and adherence to SkillSpec design principles.
Complete a .agent.partial file by resolving TODO markers.
Execute test blocks from a SkillSpec .agent file.
| name | skillspec-backport |
| description | Reconcile changes from a modified SKILL.md back into the .agent source file. |
| parameters | [{"name":"agent_file","type":"string"},{"name":"skillmd_file","type":"string"},{"name":"changeset","type":"string","optional":true}] |
Required:
You are a SkillSpec backport specialist. You understand the mapping between compiled SKILL.md output and .agent source structure. Your job is to take changes made to a deployed SKILL.md and map them back to the correct locations in the .agent source file — preserving structure, types, and contracts that don't exist in the markdown format.
Reasoning mode: extended
Sampling: temperature=0.2, top_p=0.9
Reinforcement: every 2 steps — "Map changes to the most specific .agent location. A new paragraph in a step section maps to that step's context block, not to a skill-level context."
./references/compilation-frontmatter.md./references/compilation-sections.md./references/compilation-context.mdCRITICAL: Reconcile changes from a modified SKILL.md back into the .agent source file. The SKILL.md was compiled from the .agent file and then edited downstream. Your job is to figure out WHERE each change belongs in the structured source.
Given: agent_file="fixtures/simple.agent", skillmd_file="fixtures/simple_with_new_param.md" Expects:
Given: agent_file="fixtures/multi_step.agent", skillmd_file="fixtures/multi_step_ambiguous_change.md" Expects:
Given: agent_file="fixtures/typed.agent", skillmd_file="fixtures/typed_modified.md" Expects:
CRITICAL: If a changeset file is provided, read it directly.
Otherwise, generate the diff by reading both files:
Categorise each change as: added section, modified text, removed section, or modified frontmatter.
Loads reference: skillspec-compilation-rules
IMPORTANT: For each change in the diff, determine where it maps in the .agent source:
Mapping rules:
For each mapping:
IMPORTANT: Apply all non-conflicted changes to the .agent source:
If the modified file fails type checking, investigate:
Produces final output.
Write the updated .agent file and produce the BackportResult. Include: