跳到正文
cccskills
免费在 GitHub 公开

fskill-creator

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

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

查看安装方法

包含的文件(37)

  • SKILL.md7.2 KB
  • functions/add_runtime_capabilities.md2.4 KB
  • functions/assemble_skill_files.md2.2 KB
  • functions/design_skill_structure.md2.7 KB
  • functions/draft_skill_artifacts.md2.4 KB
  • functions/normalize_skill_blueprint.md2.8 KB
  • functions/resolve_task_mode.md1.9 KB
  • functions/validate_skill.md2.5 KB
  • logs/runs/.gitkeep1 B
  • references/script-rules.md1.3 KB
  • references/shared-glossary.md1.9 KB
  • scripts/.gitkeep1 B
  • scripts/init_skill.mjs24.8 KB
  • scripts/init_skill.test.mjs3.7 KB
  • scripts/lint_skill.mjs2.1 KB
  • scripts/test_cases.mjs5.4 KB
  • scripts/test_cases.test.mjs1.4 KB
  • sub-skills/create/functions/collect_create_brief.md1.9 KB
  • sub-skills/create/references/.gitkeep1 B
  • sub-skills/create/scripts/.gitkeep1 B
  • sub-skills/create/SKILL.md1.2 KB
  • sub-skills/create/testcases/unit/.gitkeep1 B
  • sub-skills/migrate/functions/extract_shared_references.md1.5 KB
  • sub-skills/migrate/functions/load_legacy_skill.md2.2 KB
  • sub-skills/migrate/functions/map_existing_behavior.md1.6 KB
  • sub-skills/migrate/functions/propose_function_split.md2.8 KB
  • sub-skills/migrate/logs/runs/.gitkeep1 B
  • sub-skills/migrate/references/script-rules.md1.3 KB
  • sub-skills/migrate/references/shared-glossary.md1.6 KB
  • sub-skills/migrate/scripts/.gitkeep1 B
  • sub-skills/migrate/scripts/lint_skill.mjs2.1 KB
  • sub-skills/migrate/scripts/migrate_proposal.mjs8.6 KB
  • sub-skills/migrate/scripts/migrate_proposal.test.mjs4.0 KB
  • sub-skills/migrate/scripts/test_cases.mjs4.5 KB
  • sub-skills/migrate/SKILL.md4.3 KB
  • sub-skills/migrate/testcases/unit/propose_function_split.basic.case.json2.0 KB
  • testcases/unit/design_skill_structure.basic.case.json2.0 KB

SKILL.md(原文)

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

fskill-creator

Goal

Unify the create and migrate lanes to produce a self-contained, reviewable, testable functional agent skill directory. The main skill handles routing, blueprint normalization, shared artifact generation, runtime capability provisioning, file writing, and validation; sub-skills only handle pre-analysis for their respective input forms.

Use this skill when the user wants to "generate a functional skill", "create a functional skill", "add functions to an existing functional skill", or "migrate an existing legacy skill directory into a functional skill".

Principles

  • The main SKILL.md only orchestrates the shared create / migrate / enhance / validate workflow.
  • Create and migrate are two pre-lanes; they must first converge into a unified skill_blueprint.
  • Function-specific behavior lives in functions/*.md; create / migrate specific pre-behavior lives in sub-skills/*/functions/*.md.
  • Shared vocabulary, policies, and schemas live in references/*.md.
  • Deterministic parsing, formatting, validation, and mechanical transforms live in scripts/.
  • Report, unit test, viewer, and testcase capabilities are maintained only once in the main skill, and vendored into the target skill by add_runtime_capabilities.
  • Preserve user-provided domain constraints; the migrate lane must also preserve legacy behavior evidence.
  • When the user has not approved direct modification, generated files should be treated as proposals.

Sub-Skills

Sub-skillWhenResponsibilityOutput
sub-skills/createUser provides a new skill brief or wants to enhance an existing functional skillNormalize requirements, target path, inputs/outputs, constraints, and viewer choicescreate_context
sub-skills/migrateUser provides a legacy skill directory, monolithic skill content, or a migration requestLoad the legacy skill package, identify behaviors that must be preserved, propose function boundaries and evidencemigration_context

Sub-skills do not directly write final target skill files. Their output must go through normalize_skill_blueprint before entering the shared artifact pipeline.

References

ResourceLoad TimingPurpose
shared_glossaryOn demandStable terminology and cross-lane field semantics.
script_rulesBefore designing or drafting scriptsRules for deciding whether deterministic work belongs in scripts/.
sub-skills/createCreate laneForm create_context from user brief.
sub-skills/migrateMigrate laneForm migration_context from a legacy skill directory.

External Inputs

FieldSourceDescription
task_modeuser or derivedcreate, migrate, enhance, or validate; inferred by resolve_task_mode when absent.
skill_requestuserRequirement description for creating or enhancing a skill.
legacy_skill_diruser or repositoryPath to an existing legacy skill directory containing SKILL.md and optional companion files.
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_contentuserLegacy skill markdown provided when the path is inaccessible.
target_skill_pathuser or derivedDirectory where the functional skill should live.
skill_nameuser or derivedOptional target skill name.
existing_skill_filesrepositoryOptional existing functional skill files.
migration_constraintsuserFile names, tone, platform rules, or behaviors that must be preserved during migration.
known_testcasesuser or repositoryExisting examples, traces, or expected behaviors.
existing_scriptsrepositoryHelper scripts associated with the legacy skill.
include_reportuserWhether to generate report log runtime in the target skill; defaults to true.
include_unittestuserWhether to generate unittest / testcase runner in the target skill; defaults to true.
script_runtimeenvironmentWhether this skill's own Node.js scripts can be run.
report_modeuseroff, local, or remote; defaults to off.

Viewers are generated following the capability flags: tools/log_viewer.mjs when include_report=true; tools/tester_viewer.mjs when include_unittest=true.

Execution Pipeline

StepFunctionPurposeInputOutput
1resolve_task_modeDetermine whether this request should go through create, migrate, enhance, or validate.task_mode<br>skill_request<br>legacy_skill_dir<br>legacy_skill_path<br>legacy_skill_content<br>existing_skill_filestask_context
2Asub-skills/create::collect_create_briefCreate/enhance lane: normalize user brief.skill_request<br>target_skill_path<br>skill_namecreate_context
2Bsub-skills/migrate::load_legacy_skill + map_existing_behavior + propose_function_split + extract_shared_referencesMigrate lane: read the legacy skill package, extract behaviors and migration evidence.legacy_skill_dir<br>legacy_skill_path<br>legacy_skill_content<br>migration_constraints<br>include_report<br>include_unittest<br>script_runtimemigration_context
3normalize_skill_blueprintConverge create / migrate / enhance inputs into a unified blueprint.task_context<br>create_context<br>migration_context<br>target_skill_path<br>include_report<br>include_unittestskill_blueprint
4design_skill_structureDesign function pipeline, references, scripts, testcases, and file layout based on blueprint.skill_blueprint<br>existing_skill_files<br>script_rulesskill_structure<br>script_plan<br>tool_plan
5draft_skill_artifactsDraft SKILL.md, function contracts, references, script specs, and testcase suggestions.skill_blueprint<br>skill_structure<br>script_planskill_artifacts
6add_runtime_capabilitiesProvision report log, runtime wrapper, unit testcase runner, viewer, and smoke tests according to include flags.skill_blueprint.include_report<br>skill_blueprint.include_unittest<br>skill_artifactsruntime_artifacts<br>skill_artifacts
7assemble_skill_filesGenerate or update target skill directory files.target_skill_path<br>skill_structure<br>skill_artifacts<br>runtime_artifacts<br>script_runtimefile_plan<br>created_files<br>updated_files
8validate_skillValidate functional-skill structure, runtime capabilities, testcases, and migration behavior preservation.target_skill_path<br>file_plan<br>skill_blueprint<br>report_modevalidation_result

Output Scope

This skill may read legacy skills and create or modify functional skill files under target_skill_path. Do not delete the original legacy skill unless the user explicitly requests deletion; do not modify unrelated repository files unless the user explicitly requests project-level integration.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Starter template for a functional agent skill.

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

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日 更新

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

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

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 的全部技能

报告此技能的问题