lfx-git-setup

Configure DCO signoff and GPG-signed commits in Git for LFX projects.

8|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/linuxfoundation/lfx-skills --skill lfx-git-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lfx-git-setup
Source: https://github.com/linuxfoundation/lfx-skills/tree/main/lfx-git-setup
Command: npx skills add https://github.com/linuxfoundation/lfx-skills --skill lfx-git-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill guides contributors through configuring DCO signoff and GPG-signed commits in Git for Linux Foundation projects, enabling compliant, verifiable contributions.

Core Features & Use Cases

  • Step-by-step, platform-aware guidance to enable DCO signoff and GPG signing across macOS, Linux, and Windows (including WSL2 for Windows users).
  • Instructions for key generation, Git configuration, and verification to ensure commits display proper signs on GitHub.
  • Use case: onboarding a new contributor to an LFX project who needs sign-off and verification for pull requests.

Quick Start

Begin by identifying your OS and follow the platform-specific steps in the references to enable DCO signoff and GPG-signed commits.

Frequently Asked Questions about lfx-git-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure GPG signing for Git commits on Linux Foundation projects?

To configure GPG signing for Git commits on Linux Foundation projects, you need to generate a GPG key, configure Git to use it, and register the key on GitHub for verification. This skill provides step-by-step, platform-aware guidance for macOS, Linux, and Windows environments.

What is DCO signoff and when do I need it for LFX project contributions?

DCO signoff is a Developer Certificate of Origin process required for Linux Foundation project contributions to certify authorship. You need it when submitting pull requests to ensure your commits are compliant and verifiable.

Can I set up Git commit signing on Windows using WSL2?

Yes, you can set up Git commit signing on Windows using WSL2. This skill provides platform-specific guidance covering prerequisites, key generation, Git configuration, and GitHub key registration specifically for Windows users working within WSL2.

Why does my GPG-signed commit not show as verified on GitHub?

Your GPG-signed commit may not show as verified on GitHub if the GPG key is not properly registered to your GitHub account or if Git is not configured to use the correct key. This skill includes validation steps to ensure commits display proper verification signs.

Do I need to generate a new GPG key to enable DCO signoff in Git?

Yes, generating a GPG key is part of the process to enable GPG-signed commits, which works alongside DCO signoff for Linux Foundation projects. The workflow covers key creation, Git configuration, and export to ensure compliant contributions.

What's the best way to validate my Git signing configuration for LFX projects?

The best way to validate your Git signing configuration is to follow the multi-phase workflow included in this skill, which covers verification, key creation, configuration, export, and validation steps to ensure your commits are properly signed and verified on GitHub.