一键导入
fskill-creator-migrate
Migrate lane for fskill-creator; analyzes a legacy skill directory into behavior map, function split proposal, and source evidence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Migrate lane for fskill-creator; analyzes a legacy skill directory into behavior map, function split proposal, and source evidence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create, maintain, or migrate functional skills; supports creating from a requirement brief and migrating an existing legacy skill directory into a functional skill structure.
Convert meeting notes into owners, action items, decisions, and follow-up messages.
Create lane for fskill-creator; normalizes user briefs into create_context for the main skill to generate functional skills.
Starter template for a functional agent skill.
| name | fskill-creator-migrate |
| description | Migrate lane for fskill-creator; analyzes a legacy skill directory into behavior map, function split proposal, and source evidence. |
Analyze a large or hard-to-maintain legacy skill directory into structured migration context while preserving behavior. This sub-skill only performs migration pre-analysis and does not directly write final functional skill files; final artifact generation, runtime capability provisioning, file writing, and validation are handled by the main fskill-creator.
Invoked by the main skill when the user has an existing monolithic skill and wants to "refactor into functional", "migrate to functional skill", or "restructure into functions/references/scripts".
SKILL.md.migration_context; must not directly write target skill files.reference_plan.references/, scripts/, and tools/ are inventoried before proposing splits.script_plan, to be generated or preserved later by the main skill.tool_plan; final files are generated uniformly by the main skill's add_runtime_capabilities.| Resource | Load Timing | Purpose |
|---|---|---|
shared_glossary | On demand | Stable migration terminology and output fields. |
script_rules | Before proposing scripts | Rules for deciding what belongs in scripts/. |
| Field | Source | Description |
|---|---|---|
legacy_skill_dir | user or repository | Path to the legacy skill directory containing SKILL.md. |
legacy_skill_path | user or repository | Deprecated alias for legacy_skill_dir; may also be a direct path to SKILL.md, which resolves to its parent directory. |
legacy_skill_content | user or repository | Existing skill markdown content when the directory is inaccessible. |
migration_constraints | user | Constraints such as preserving file names, tone, or platform rules. |
known_testcases | user or repository | Existing examples, traces, or expected behaviors. |
existing_scripts | repository | Existing helper scripts associated with the legacy skill. |
include_viewers | user | Whether to suggest generating tools/log_viewer.mjs and tools/tester_viewer.mjs. |
script_runtime | environment | Whether this sub-skill's own Node.js scripts can be run. |
| Step | Function | Purpose | Input | Output |
|---|---|---|---|---|
| 1 | load_legacy_skill | Load and normalize the legacy skill package. | legacy_skill_dirlegacy_skill_pathlegacy_skill_content | legacy_skill |
| 2 | map_existing_behavior | Identify goals, rules, inputs, outputs, and behaviors that must be preserved. | legacy_skillmigration_constraints | behavior_map |
| 3 | propose_function_split | Propose function boundaries, script opportunities, optional viewer tools, and target file layout. | legacy_skillbehavior_mapscript_rulesinclude_viewersscript_runtime | migration_proposalscript_plantool_plan |
| 4 | extract_shared_references | Move duplicated or shared rules into references. | legacy_skillmigration_proposalscript_plan | reference_plan |
The main skill combines the above outputs into:
| Field | Description |
|---|---|
migration_context.legacy_skill | Loaded source skill package data. |
migration_context.behavior_map | Behaviors that must be preserved. |
migration_context.migration_proposal | Function split and target structure proposal. |
migration_context.reference_plan | Terms, rules, and schemas that should go into shared references. |
migration_context.script_plan | Deterministic helpers to generate, preserve, or refactor. |
migration_context.tool_plan | Optional viewer choices. |
migration_context.source_evidence | Legacy source sections, companion files, and behavior preservation evidence. |
Only output migration context; must not directly write target skill files or delete the legacy skill.