{ if (edit) { submitHandler(); } else { showConfirm = true; } }} >
{#if edit}
{id}
{:else} {/if}
{#if !edit} {/if}
{ _content = e; if (!edit) { const fm = extractFrontmatter(e); if (fm.title && !name) { name = formatSkillName(fm.title); id = nameToId(fm.title); } if (fm.description && !meta.description) { meta = { ...meta, description: fm.description }; } } }} onSave={async () => { if (formElement) { formElement.requestSubmit(); } }} />
{$i18n.t('Warning:')} {$i18n.t('Functions can execute arbitrary code.')} {$i18n.t('Only install functions from sources you trust.')}
{ submitHandler(); }} >
{$i18n.t('Please carefully review the following warnings:')}
  • {$i18n.t('Functions allow arbitrary code execution.')}
  • {$i18n.t('Do not install functions from sources you do not fully trust.')}
{$i18n.t( 'I acknowledge that I have read and I understand the implications of my action. I am aware of the risks associated with executing arbitrary code and I have verified the trustworthiness of the source.' )}