Files
playbook/skills/tsl-api-reference/SKILL.md
T
csh c0bf0358e0 📝 docs(tsl): sync api skill with corrected codegen
Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index.

Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
2026-07-07 16:47:03 +08:00

1.4 KiB

name, description
name description
tsl-api-reference Use when writing or reviewing TSL code and needing authoritative TSL API facts: builtin/dotnet functions, module APIs, exact signatures, parameters, return values, examples, or Chinese keyword discovery when the function name is unknown.

TSL API Reference

Use this skill for TSL API facts only: function/module names, exact signatures, parameters, return values, and examples. For TSL syntax, control flow, variables, object model, or runtime language rules, use the TSL language docs instead.

Do not infer API signatures from memory or similar languages. TSL names are case-insensitive, but underscores are significant: do not remove underscores or camel-case names when querying or reporting APIs.

Run the bundled lookup script. Replace <this-skill-dir> with the directory containing this SKILL.md.

  • Known API name:

    python <this-skill-dir>/scripts/lookup.py --name argmax
    
  • Unknown name, known behavior or Chinese keywords:

    python <this-skill-dir>/scripts/lookup.py --kw 数组 排序
    
  • Keyword terms use AND semantics; add terms to narrow results.

  • Use --limit N to change how many candidate rows are printed.

Exact lookup prints the full entry body and source marker. Keyword lookup prints candidate rows; pick a candidate, then rerun exact lookup with --name.

If exact lookup has no match, retry with Chinese keywords. If bundled data is missing, reinstall the skill.