AGI-comming/functional-skill-creator / skills/fskill-creator
fskill-creator
VerifiedCreate, maintain, or migrate functional skills; supports creating from a requirement brief and migrating an existing legacy skill directory into a functional skill structure.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.2 KB |
| functions/add_runtime_capabilities.md | markdown | 2.4 KB |
| functions/assemble_skill_files.md | markdown | 2.2 KB |
| functions/design_skill_structure.md | markdown | 2.7 KB |
| functions/draft_skill_artifacts.md | markdown | 2.4 KB |
| functions/normalize_skill_blueprint.md | markdown | 2.8 KB |
| functions/resolve_task_mode.md | markdown | 1.9 KB |
| functions/validate_skill.md | markdown | 2.5 KB |
| logs/runs/.gitkeep | other | 1 B |
| references/script-rules.md | markdown | 1.3 KB |
| references/shared-glossary.md | markdown | 1.9 KB |
| scripts/.gitkeep | other | 1 B |
| scripts/init_skill.mjs | script | 24.8 KB |
| scripts/init_skill.test.mjs | script | 3.7 KB |
| scripts/lint_skill.mjs | script | 2.1 KB |
| scripts/test_cases.mjs | script | 5.4 KB |
| scripts/test_cases.test.mjs | script | 1.4 KB |
| testcases/unit/design_skill_structure.basic.case.json | config | 2.0 KB |
functions/validate_skill.md
View on GitHub# validate_skill
## Purpose
Validate that the created, enhanced, or migrated skill conforms to the functional-skill structure and is ready for review.
## Input
| Field | Required | Description |
|---|---:|---|
| `target_skill_path` | yes | Directory containing the generated skill. |
| `file_plan` | yes | File operations from `assemble_skill_files`. |
| `skill_blueprint` | no | Used to differentiate check focus for create / migrate / enhance / validate. |
| `report_mode` | no | `off`, `local`, or `remote`; defaults to `off`. |
## Output
| Field | Description |
|---|---|
| `validation_result.ok` | Whether validation passed. |
| `validation_result.errors` | Blocking validation errors. |
| `validation_result.warnings` | Non-blocking review warnings. |
| `validation_result.commands_run` | Scripts or manual validation commands that were executed. |
| `validation_result.script_results` | Script test results or script validation warnings. |
| `validation_result.behavior_gaps` | Legacy behaviors not covered by artifacts in migration mode. |
| `validation_result.runtime_gaps` | Missing report, runtime, testcase runner, or viewer capabilities. |
| `validation_result.next_steps` | Suggested follow-up actions. |
## Logic
1. When script runtime is available, run `scripts/lint_skill.mjs <target_skill_path>`.
2. Check that `SKILL.md` has a clear goal, inputs, pipeline, references, and output scope.
3. Check each function contract has Purpose, Input, Output, Logic, Errors, and Observability.
4. Check that deterministic logic suitable for scripting is represented as `scripts/` helpers.
5. If `scripts/*.test.mjs` exist, run script tests; otherwise explain why script tests are deferred.
6. Confirm functional testcases exist, or explain why tests are deferred.
7. If `skill_blueprint.mode=migrate`, verify every `required_behavior` is covered by a function, reference, script, or testcase.
8. If `include_report` / `include_unittest` flags are true, verify the corresponding runtime and viewer files exist.
9. Return concrete next steps; do not use vague quality descriptions.
## Errors
| Code | When |
|---|---|
| `[MISSING_TARGET_SKILL]` | Missing target skill directory or `SKILL.md`. |
| `[LINT_FAILED]` | Structure lint failed. |
| `[SCRIPT_TEST_FAILED]` | Deterministic helper script test failed. |
| `[BEHAVIOR_GAP]` | Required legacy behavior is not represented in migration mode. |
| `[RUNTIME_GAP]` | Required runtime capability is missing. |
## Observability
Record validation status, command outputs, script test status, and unresolved warning count.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |