Skip to content

[Extension]: Add GitLab Integration #5607

Backlog

Description

@ohartwig

Extension ID

gitlab

Extension Name

GitLab Integration

Version

1.1.1

Description

Turns spec-kit features, user stories and tasks into GitLab issues via the glab CLI, keeps their status in sync, and closes completed tasks after implementation. Works with gitlab.com and self-hosted GitLab instances.

Author

Kai Ole Hartwig

Repository URL

https://github.com/ohartwig/spec-kit-gitlab

Download URL

https://github.com/ohartwig/spec-kit-gitlab/releases/download/v1.1.1/spec-kit-gitlab.zip

License

MIT

Homepage (optional)

https://github.com/ohartwig/spec-kit-gitlab

Documentation URL (optional)

https://github.com/ohartwig/spec-kit-gitlab/blob/v1.1.1/README.md

Changelog URL (optional)

https://github.com/ohartwig/spec-kit-gitlab/blob/v1.1.1/CHANGELOG.md

Required Spec Kit Version

=0.12.17

Required Tools (optional)

  • glab (>=1.50.0) - required
  • jq - required
  • bash - required

Number of Commands

8

Number of Hooks (optional)

2

Tags

gitlab, issues, issue-tracking, sync, self-hosted

Key Features

  • Interactive setup (speckit.gitlab.init) for gitlab.com or a self-hosted instance
  • Create the feature, user stories (spec.md) and tasks (tasks.md) as GitLab issues, with priorities as labels and the feature as a milestone
  • Import an existing GitLab issue as a feature
  • Two-way status sync between tasks.md and GitLab, and a status overview
  • Optional hooks: create issues after task generation, close completed tasks after implementation
  • Keeps a mapping file so issues are updated rather than duplicated

Testing Details

Tested on:

  • macOS 26.5 with the current Spec Kit release (v1.4.5), glab 1.107.0, against a self-hosted GitLab instance, in a real project by the author
  • Automated: the helper tests (config loading, tasks.md/spec.md parsing, mapping file) and ShellCheck run in GitHub Actions on ubuntu-latest and macos-latest for every change; all green for v1.1.1

Example Usage

specify extension add gitlab --from https://github.com/ohartwig/spec-kit-gitlab/releases/download/v1.1.1/spec-kit-gitlab.zip
# then, in your coding agent:
/speckit.gitlab.init
/speckit.gitlab.feature-to-issue
/speckit.gitlab.tasks-to-issues
/speckit.gitlab.sync

Proposed Catalog Entry

"gitlab": {
  "name": "GitLab Integration",
  "id": "gitlab",
  "description": "Turn spec-kit features, stories and tasks into GitLab issues via glab, keep their status in sync and close completed tasks. gitlab.com and self-hosted.",
  "author": "Kai Ole Hartwig",
  "version": "1.1.1",
  "download_url": "https://github.com/ohartwig/spec-kit-gitlab/releases/download/v1.1.1/spec-kit-gitlab.zip",
  "sha256": "d9b89f3836fe60200b37e8a422d1c6dfbdd1512461adfbb907ce84c16fb21489",
  "repository": "https://github.com/ohartwig/spec-kit-gitlab",
  "homepage": "https://github.com/ohartwig/spec-kit-gitlab",
  "documentation": "https://github.com/ohartwig/spec-kit-gitlab/blob/v1.1.1/README.md",
  "changelog": "https://github.com/ohartwig/spec-kit-gitlab/blob/v1.1.1/CHANGELOG.md",
  "license": "MIT",
  "category": "integration",
  "effect": "read-write",
  "requires": {
    "speckit_version": ">=0.12.17",
    "tools": [
      { "name": "glab", "version": ">=1.50.0", "required": true },
      { "name": "jq", "required": true },
      { "name": "bash", "required": true }
    ]
  },
  "provides": { "commands": 8, "hooks": 2 },
  "tags": ["gitlab", "issues", "issue-tracking", "sync", "self-hosted"],
  "verified": false,
  "downloads": 0,
  "stars": 0,
  "created_at": "2026-11-28T00:00:00Z",
  "updated_at": "2026-11-28T00:00:00Z"
}

Additional Context

The release archive is built by the repository's release workflow on tag push, which checks the tag against extension.yml, CHANGELOG.md and the README install command; the SHA-256 above matches the spec-kit-gitlab.zip.sha256 asset of the v1.1.1 release.

Activity

  1. ohartwig commented on Nov 28, 2026

    @ohartwig
    Author

    Update: v1.3.1 is out and replaces 1.1.1 in the proposed entry. Since 1.1.1 it hardens the extension: GitLab content is treated as untrusted input, URLs must be https, the mapping file is bound to its host and project, every writing command shows its target first, bulk changes ask for confirmation (with --dry-run), and text from tasks.md/spec.md never goes onto the command line. Release archives carry a signed build provenance attestation, and releases are immutable from 1.3.1 on.

    "version": "1.3.1",
    "download_url": "https://github.com/ohartwig/spec-kit-gitlab/releases/download/v1.3.1/spec-kit-gitlab.zip",
    "sha256": "d9ef8ef11e6c084c5fd3f2f74084a014072346990815327d003a430164b6e326",
    "documentation": "https://github.com/ohartwig/spec-kit-gitlab/blob/v1.3.1/README.md",
    "changelog": "https://github.com/ohartwig/spec-kit-gitlab/blob/v1.3.1/CHANGELOG.md"

    Verify: gh attestation verify spec-kit-gitlab.zip --repo ohartwig/spec-kit-gitlab

  2. added
    triage-must-have
    on Nov 30, 2026
  3. github-actions commented on Nov 30, 2026

    @github-actions
    Contributor

    cc @github/spec-kit-maintainers — new catalog submission for review.

  4. github-actions commented on Nov 30, 2026

    @github-actions
    Contributor

    Thanks for the submission — I ran the extension-submission validation for this issue.

    The submission currently fails validation on the checklist requirement:

    • Submission checklists: I could not find completed required checkboxes under the Testing Checklist and Submission Requirements sections in the issue body. This workflow requires all required checkboxes in those sections to be checked ([x]).

    How to fix

    Please edit this issue and complete the required checkboxes in those two sections, then re-run validation.

    Workflow run

    Generated by 🧩 Add Community Extension from Issue Submission for #5607 · copilot · gpt53codex · 17.9 AIC · ⌖ 0.646 AIC · ⊞ 28.5K · ◷

  5. KSchlobohm commented on Nov 30, 2026

    @KSchlobohm
    Contributor

    @ohartwig Can you complete the required checkboxes in the Testing Checklist and Submission Requirements, then let us know here so we can retrigger the workflow.

  6. added
    author-awaiting
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    author-awaitingextension-submissiontriage-must-havevalidation-failed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions