4d-publish-gitlab

star 1

Publish a 4D project to GitLab using glab CLI. Use this skill when the user wants to publish, push, or share a 4D project to GitLab. Creates remote repository, initializes git, and pushes code. Supports gitlab.com and private/self-hosted GitLab instances with group/namespace support.

e-marchand By e-marchand schedule Updated 2/6/2026

name: 4d-publish-gitlab description: Publish a 4D project to GitLab using glab CLI. Use this skill when the user wants to publish, push, or share a 4D project to GitLab. Creates remote repository, initializes git, and pushes code. Supports gitlab.com and private/self-hosted GitLab instances with group/namespace support. license: Apache 2.0

4D Publish to GitLab

Publish a 4D project to GitLab with support for gitlab.com and self-hosted instances.

Script

publish.py - Publish to GitLab

Creates GitLab repository from 4D project.

Interactive mode:

python3 "<skill_path>/scripts/publish.py"

Non-interactive mode (with arguments):

python3 "<skill_path>/scripts/publish.py" --yes [options]
Argument Description
--yes, -y Non-interactive mode
--public Create public repository (default: private)
--description "...", -d Repository description
--hostname GitLab instance hostname (default: gitlab.com)
--group, -g GitLab group/namespace for the repository

Examples:

# Interactive
python3 publish.py

# Private repo on gitlab.com, no questions
python3 publish.py --yes

# Public repo with description
python3 publish.py --yes --public --description "My 4D component"

# Self-hosted GitLab instance
python3 publish.py --yes --hostname gitlab.example.com

# Under a group namespace
python3 publish.py --yes --group my-team

# Self-hosted + group
python3 publish.py --yes --hostname gitlab.example.com --group my-team --description "Shared component"
Install via CLI
npx skills add https://github.com/e-marchand/skills --skill 4d-publish-gitlab
Repository Details
star Stars 1
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator