4d-project-info

Analyze a 4D project and produce a structured summary. Use when the user wants to understand a 4D project's structure, get an overview of methods/classes/forms/dependencies, onboard onto a codebase, or when context about the project is needed before performing other tasks.

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-project-info" with this command: npx skills add e-marchand/skills/e-marchand-skills-4d-project-info

4D Project Info

Analyze a 4D project and produce a JSON summary of its structure.

Usage

python3 scripts/project_info.py [path] [--format json|human|terse] [--compact]
  • path: Any path inside a 4D project, the project root itself, the Project/ directory, or a direct path to the .4DProject file. Defaults to current directory.
  • --format: json for structured output, human for a readable text summary, terse for a token-light text summary. Aliases: text, token, tokens, toon.
  • --compact: For json output, return only names and counts instead of full per-file details.

If no project root can be resolved, the script still exits with an error, but it also returns a list of nearby .4DProject files to use explicitly on the next run.

Output

JSON compact mode

{
  "project_root": "/path/to/project",
  "settings": { "project_file": "MyProject.4DProject", "compatibility_version": 2100 },
  "summary": {
    "methods_count": 12,
    "classes_count": 5,
    "forms_count": 3,
    "database_methods": ["onStartup"],
    "has_catalog": true,
    "total_code_lines": 1847,
    "dependencies": { "file_exists": true, "dependencies": { "SemVer": { "github": "mesopelagique/SemVer" } } }
  },
  "method_names": ["test_Feature", "utils_helper"],
  "class_names": ["Employee", "DataStore"],
  "form_names": ["MainForm", "Dialog_Settings"]
}

Human mode

Returns a short readable summary with project settings, counts, and comma-separated names.

Terse mode

Returns the same key facts in a token-light text format.

JSON full mode

Adds per-method line counts and per-class details (properties, functions, extends).

When to Use

  • Before any refactoring or migration task
  • When the user asks "what's in this project?"
  • To provide project context to other skills (e.g., 4d-migrate-syntax, 4d-generate-doc)
  • When onboarding onto an unfamiliar 4D codebase

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