4d-publish-github

Publish a 4D project to GitHub using gh CLI. Use this skill when the user wants to publish, push, or share a 4D project to GitHub. Creates remote repository, initializes git, adds CI/CD workflows for building and releasing. Supports release-on-tag or release-on-create workflows.

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

4D Publish to GitHub

Publish a 4D project to GitHub with CI/CD workflows.

Scripts

Two scripts available, both support interactive and non-interactive modes.

1. publish.py - Publish to GitHub

Creates GitHub 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]
ArgumentDescription
--yes, -yNon-interactive mode
--publicCreate public repository (default: private)
--description "...", -dRepository description

Examples:

# Interactive
python3 publish.py

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

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

2. install_workflows.py - Add CI/CD Workflows

Installs build and release workflows.

Interactive mode:

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

Non-interactive mode (with arguments):

python3 "<skill_path>/scripts/install_workflows.py" --yes [options]
ArgumentDescription
--yes, -yNon-interactive mode
--buildInstall build.yml
--release-on-tagInstall release workflow (triggered on tag push)
--release-on-createInstall release workflow (triggered on manual release)
--no-pushDon't commit and push changes

Examples:

# Interactive
python3 install_workflows.py

# Build workflow only
python3 install_workflows.py --yes --build

# Build + auto-release on tag
python3 install_workflows.py --yes --build --release-on-tag

# Release on manual create only
python3 install_workflows.py --yes --release-on-create

Creating Releases

With release-on-tag workflow

git tag v1.0.0
git push origin v1.0.0

With release-on-create workflow

  1. Go to repository → Releases → Create new release
  2. Fill release details and publish
  3. Workflow builds and attaches .zip to the release

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.

General

4d-run

No summary provided by upstream source.

Repository SourceNeeds Review
General

4d-check-syntax

No summary provided by upstream source.

Repository SourceNeeds Review
General

4d-create-project

No summary provided by upstream source.

Repository SourceNeeds Review