x-validate
validates nested or piped function calls to determine if output types match all required input types
소스 정보
- 저장소
- adobe/data
- 최근 소스 활동
- 2026년 7월 24일 01:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 12
- 포크
- 8
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- x-validate
- description
- validates nested or piped function calls to determine if output types match all required input types
- input
- piped function calls
- options
- log = true
- output
- boolean
for each nested or piped function pair {
check that the output type matches the required input types of the next
}
if options.log then {
log results to chat
}
return true if they all validate or false if they don't
# Log
If `options.log`, print the pipeline **in source order**: initial value, then each `/skill` **exactly as many times as it appears** in the expression. **Never** add or omit a `/skill` that is not in the source.
**Between steps:** After a literal or `/skill`, before the next `/skill`, print **one** indented line:
- **OK** — the type leaving the producer toward the next step.
- **Fail** — only `<output> != <input>` (what the producer emitted vs what the next step requires). **No** separate line for the output type alone; the mismatch line is the whole message between that pair.
Put that line **after** the producer (literal or `/skill`) and **before** the consumer’s `/skill`. Never put the failure summary under the consumer.
After the first rejection, list remaining `/skill` lines from the source; each gets `—` as its only indented line (unreachable).
## Examples
2 | /x-double |> /x-double |> /x-log
2
number
/x-double
number
/x-double
number
/x-log
"foo" | /x-double |> /x-double |> /x-log
"foo"
string != number
/x-double
—
/x-double
—
/x-log
—
12 | /x-double |> /x-alpha |> /x-double |> /x-log
12
number
/x-double
number
/x-alpha
string != number
/x-double
—
/x-log
—
GitHub에서 보기