Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

script-designer

/script-designer

Odczytuje i zmienia treść skryptu wybranej definicji skryptu SmartCMP w osadzonym edytorze skryptów.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
03.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 03.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/read_current_script.py

Co robi i kiedy

Odczytuje i zmienia treść skryptu wybranej definicji skryptu SmartCMP w osadzonym edytorze skryptów.

Oryginalny opis (EN)

Use when reading or modifying the script content of the exact SmartCMP script definition selected by an embedded script-editor page Context.

Jak działa

  1. Workflow
  2. Safety
Sekcje z nagłówków SKILL.md, w oryginale · 20 linii, 227 słów
Podgląd SKILL.md
---
name: "script-designer"
description: "Use when reading or modifying the script content of the exact SmartCMP script definition selected by an embedded script-editor page Context."
provider_type: "smartcmp"
instance_required: "true"

triggers:
  - modify current SmartCMP script
  - improve current script
  - update script content
  - 修改当前脚本
  - 完善当前脚本
  - 优化当前脚本

use_when:
  - User is interacting from a SmartCMP script editor and asks to change the current saved script
  - User wants a complete replacement script body for manual copying into CMP

avoid_when:
  - User wants to execute a script
  - User wants to save, publish, delete, or otherwise write a script through CMP APIs
  - No SmartCMP script editor Context is active

tool_current_name: "smartcmp_read_current_script_definition"
tool_current_description: "Read the exact saved script definition bound to the active SmartCMP script-editor Context. The tool uses the request user's session and server-owned object scope, takes no script ID, and never writes to CMP."
tool_current_entrypoint: "scripts/read_current_script.py:read_current_script"
tool_current_groups:
  - cmp
  - script-designer
tool_current_capability_class: "provider:smartcmp"
tool_current_priority: 115
tool_current_result_mode: "llm"
tool_current_parameters: |
  {
    "type": "object",
    "properties": {},
    "additionalProperties": false
  }
---

# script-designer

Read the current saved SmartCMP script and produce user-directed replacement content.

## Workflow

1. Always call `smartcmp_read_current_script_definition` before analyzing or changing the script. Never ask the user for a script ID that is already bound by Context.
2. Use the returned script type, parameters, properties, form content, resource types, and complete current body as the source of truth. In this first phase, all fields except `content` are read-only compatibility context.
3. Apply only the requested behavior. Preserve unrelated logic, public entrypoints, parameter names, return contracts, runtime compatibility, and error semantics.
4. Return the complete updated script body in one fenced code block. Never return only a diff, partial snippet, or content containing ellipsis placeholders.
5. Do not propose replacement values for `params`, `properties`, `formContent`, or other script-definition metadata. If the requested behavior requires one of those fields to change, state that the current Skill only generates `content` and identify the unmet metadata change separately.
6. State that the result is for manual review and copying into the CMP script `content` field. Do not claim that the script was saved, published, or executed.

## Safety

- Do not call POST, PUT, PATCH, DELETE, publish, execute, or task APIs.
- Do not invent Provider SDK calls, endpoints, credentials, or runtime variables.
- Preserve the current script language and compatibility constraints unless the user explicitly requests a migration.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • scripts/read_current_script.py 2 KB

Wersje

W bazie nie ma innych skilli o nazwie script-designer.

Migawka bazy z 13.11.2026 · wersja paczki 3ec50b01838c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90component-script-designer
    Odczytuje i modyfikuje skrypt z katalogu scripts/ dla komponentu SmartCMP wskazanego w kontekście strony edytora, z regułami zależnymi od typu zasobu.
  • 90optimization-policy-designer
    Czyta i modyfikuje treść reguł oraz edytowalną definicję wybranej polityki optymalizacji kosztów SmartCMP w osadzonej stronie edytora polityk.
  • 90feature
    Dodaje lub zmienia funkcję skryptu, pisząc najpierw testy na przykładowych danych, zanim zmieni się działanie na stronie.
  • 92write-script-go
    Prowadzi przez pisanie skryptów w Go zgodnie z konwencjami tej platformy.
  • 92write-script-csharp
    Prowadzi przez pisanie skryptów w C# zgodnie z konwencjami tej platformy.
  • 90sealed-capture
    Zbiera dane testowe do zapieczętowanego skryptu u jego właściciela krok po kroku albo zamyka skrypt, gdy właściciel o to poprosi.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.