4d-doc-lookup

Look up 4D documentation for commands, classes, or language concepts. Use when the user asks about a 4D command's syntax, parameters, or usage, needs class API reference, or wants to understand a 4D language concept. Resolves names to developer.4d.com URLs and optionally fetches page content.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "4d-doc-lookup" with this command: npx skills add e-marchand/skills/e-marchand-skills-4d-doc-lookup

4D Doc Lookup

Look up documentation from developer.4d.com for commands, classes, and topics.

Usage

# Get URL only (fast, no network needed)
python3 scripts/doc_lookup.py "JSON Parse"

# Fetch and extract page content
python3 scripts/doc_lookup.py "collection" --fetch

# Limit extracted text length
python3 scripts/doc_lookup.py "ORDA" --fetch --max-chars 2000

Query Types

The script auto-detects the query type:

QueryResolves toExample URL
Command name/commands/<slug>ALERT/commands/alert
Class name/API/<ClassName>collection/API/CollectionClass
4D.File, cs.DataStore/API/<ClassName>4D.File/API/FileClass
Topic keyword/Concepts/<path>orda/ORDA/overview

Output

{
  "query": "JSON Parse",
  "type": "command",
  "url": "https://developer.4d.com/docs/commands/json-parse"
}

With --fetch, adds "content" field with extracted text.

Supported Topics

orda, variables, methods, classes, parameters, shared, error handling, data types, collections, objects, forms, listbox, web server, rest, compiler, components, architecture

Combining with 4d-find-command

Use 4d-find-command to discover command names, then 4d-doc-lookup to get full documentation:

# Step 1: Find commands
python3 scripts/find_command.py json

# Step 2: Look up specific command
python3 scripts/doc_lookup.py "JSON Parse" --fetch

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

4d-publish-github

No summary provided by upstream source.

Repository SourceNeeds Review
General

4d-check-syntax

No summary provided by upstream source.

Repository SourceNeeds Review
General

4d-run

No summary provided by upstream source.

Repository SourceNeeds Review
General

4d-find-command

No summary provided by upstream source.

Repository SourceNeeds Review