git-platform

Featured

Git platform detection and cross-platform command mapping for GitHub, GitLab, and Bitbucket

Code & Development 350 stars 43 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Table of Contents - [Overview](#overview) - [When to Use](#when-to-use) - [Platform Detection](#platform-detection) - [Quick Command Reference](#quick-command-reference) - [Terminology](#terminology) - [Integration Pattern](#integration-pattern) - [Detailed Resources](#detailed-resources) - [Exit Criteria](#exit-criteria) # Git Platform Detection & Command Mapping ## Overview Cross-platform abstraction for git forge operations. Detects whether the current project uses GitHub, GitLab, or Bitbucket, and provides equivalent CLI commands for each platform. The SessionStart hook (`detect-git-platform.sh`) automatically injects the detected platform into session context. This skill provides the command reference for translating operations across platforms. ## When To Use - Before running `gh`, `glab`, or forge API commands - When a skill or command needs to create issues, PRs/MRs, or post comments - When writing CI/CD configuration - Any time forge-specific CLI commands appear in a workflow ## When NOT To Use - Local-only git operations (`git commit`, `git branch`, etc.) - Projects without a hosted git remote ## Platform Detection Detection is automatic via the SessionStart hook. The session context will contain: ``` git_platform: github|gitlab|bitbucket, cli: gh|glab, mr_term: pull request|merge request ``` If you need to re-detect manually: ```bash # Check remote URL git remote get-url origin 2>/dev/null # Check file markers ls -d .github/ .gitlab-ci.yml bitbuc...

Details

Author
athola
Repository
athola/claude-night-market
Created
12 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

glab-cli

GitLab CLI (`glab`) reference and workflow for repository, merge request, issue, CI/CD, release, and API operations across GitLab.com and self-managed or dedicated instances. Use when Codex needs to run or explain `glab` commands, usually by relying on the current `glab` context first, and only falling back to `git remote -v` or explicit host and repo arguments when the target platform or repository is unclear.

39 Updated 2 days ago
flc1125
AI & Automation Listed

platform-sync

Use when this repo may have fallen behind the AI coding platforms it targets — Claude Code, Codex CLI, Cursor, Gemini CLI, OpenCode. Triggers: 'what new features am I missing', 'am I up to date with the latest docs', 'check my repo against the latest docs', 'is my plugin using current best practices', 'sync my plugin', 'audit every platform', 'did they ship anything new I should adopt', '/platform-sync'. Also when a platform manifest or CHANGELOG is being bumped, when a release is being cut, or when it has been more than a day since the last check.

2 Updated 2 days ago
Tamircohen28
DevOps & Infrastructure Listed

platform-skills

Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes, GitOps, CI/CD, and security concerns intersect. Provides structured diagnosis with blast radius, validation steps, and rollback plan for: Kubernetes, Flux CD, Argo CD, Terraform, GitHub Actions (composite actions, OIDC, SHA pinning), AWS, Azure, GKE, Linkerd, KEDA, Karpenter, supply chain security (Cosign, SBOM, SLSA), Falco, Chaos Engineering, DORA metrics, Datadog/Dynatrace/LLM observability, SOC 2, and PR review.

72 Updated 6 days ago
nitinjain999