跳到正文
cccskills
免费在 GitHub 公开

fskill-creator-migrate

Migrate lane for fskill-creator; analyzes a legacy skill directory into behavior map, function split proposal, and source evidence.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(14)

  • SKILL.md4.3 KB
  • functions/extract_shared_references.md1.5 KB
  • functions/load_legacy_skill.md2.2 KB
  • functions/map_existing_behavior.md1.6 KB
  • functions/propose_function_split.md2.8 KB
  • logs/runs/.gitkeep1 B
  • references/script-rules.md1.3 KB
  • references/shared-glossary.md1.6 KB
  • scripts/.gitkeep1 B
  • scripts/lint_skill.mjs2.1 KB
  • scripts/migrate_proposal.mjs8.6 KB
  • scripts/migrate_proposal.test.mjs4.0 KB
  • scripts/test_cases.mjs4.5 KB
  • testcases/unit/propose_function_split.basic.case.json2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

fskill-creator-migrate

Goal

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".

Principles

  • Preserve existing behavior first, then optimize structure.
  • Load the whole legacy skill package, not only SKILL.md.
  • Keep source section and file evidence so reviewers can trace migrated content.
  • Only output migration_context; must not directly write target skill files.
  • Duplicated rules, schemas, and vocabulary move to reference_plan.
  • Existing references/, scripts/, and tools/ are inventoried before proposing splits.
  • Deterministic parsing, formatting, validation, or mechanical transforms are identified as script_plan, to be generated or preserved later by the main skill.
  • Optional viewers only enter tool_plan; final files are generated uniformly by the main skill's add_runtime_capabilities.

References

ResourceLoad TimingPurpose
shared_glossaryOn demandStable migration terminology and output fields.
script_rulesBefore proposing scriptsRules for deciding what belongs in scripts/.

External Inputs

FieldSourceDescription
legacy_skill_diruser or repositoryPath to the legacy skill directory containing SKILL.md.
legacy_skill_pathuser or repositoryDeprecated alias for legacy_skill_dir; may also be a direct path to SKILL.md, which resolves to its parent directory.
legacy_skill_contentuser or repositoryExisting skill markdown content when the directory is inaccessible.
migration_constraintsuserConstraints such as preserving file names, tone, or platform rules.
known_testcasesuser or repositoryExisting examples, traces, or expected behaviors.
existing_scriptsrepositoryExisting helper scripts associated with the legacy skill.
include_viewersuserWhether to suggest generating tools/log_viewer.mjs and tools/tester_viewer.mjs.
script_runtimeenvironmentWhether this sub-skill's own Node.js scripts can be run.

Execution Pipeline

StepFunctionPurposeInputOutput
1load_legacy_skillLoad and normalize the legacy skill package.legacy_skill_dir<br>legacy_skill_path<br>legacy_skill_contentlegacy_skill
2map_existing_behaviorIdentify goals, rules, inputs, outputs, and behaviors that must be preserved.legacy_skill<br>migration_constraintsbehavior_map
3propose_function_splitPropose function boundaries, script opportunities, optional viewer tools, and target file layout.legacy_skill<br>behavior_map<br>script_rules<br>include_viewers<br>script_runtimemigration_proposal<br>script_plan<br>tool_plan
4extract_shared_referencesMove duplicated or shared rules into references.legacy_skill<br>migration_proposal<br>script_planreference_plan

Output

The main skill combines the above outputs into:

FieldDescription
migration_context.legacy_skillLoaded source skill package data.
migration_context.behavior_mapBehaviors that must be preserved.
migration_context.migration_proposalFunction split and target structure proposal.
migration_context.reference_planTerms, rules, and schemas that should go into shared references.
migration_context.script_planDeterministic helpers to generate, preserve, or refactor.
migration_context.tool_planOptional viewer choices.
migration_context.source_evidenceLegacy source sections, companion files, and behavior preservation evidence.

Output Scope

Only output migration context; must not directly write target skill files or delete the legacy skill.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Starter template for a functional agent skill.

中文简介正在准备中。当前显示原文说明。

AGI-comming/functional-skill-creator2572026年6月29日 更新

Create, maintain, or migrate functional skills; supports creating from a requirement brief and migrating an existing legacy skill directory into a functional skill structure.

中文简介正在准备中。当前显示原文说明。

AGI-comming/functional-skill-creator2572026年6月29日 更新

Create lane for fskill-creator; normalizes user briefs into create_context for the main skill to generate functional skills.

中文简介正在准备中。当前显示原文说明。

AGI-comming/functional-skill-creator2572026年6月29日 更新

Convert meeting notes into owners, action items, decisions, and follow-up messages.

中文简介正在准备中。当前显示原文说明。

AGI-comming/functional-skill-creator2572026年6月29日 更新

查看 AGI-comming 的全部技能

报告此技能的问题