AgentSkillsCN

agentuity-cli-git-status

显示当前项目的 GitHub 连接状态。需要身份验证。

SKILL.md
--- frontmatter
name: agentuity-cli-git-status
description: Show GitHub connection status for current project. Requires authentication
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity git status"
  tags: "read-only"

Git Status

Show GitHub connection status for current project

Prerequisites

  • Authenticated with agentuity auth login
  • Project context required (run from project directory or use --project-id)

Usage

bash
agentuity git status

Examples

Show GitHub status for current project:

bash
bunx @agentuity/cli git status

Get status in JSON format:

bash
bunx @agentuity/cli --json git status

Output

Returns JSON object:

json
{
  "orgId": "string",
  "connected": "boolean",
  "integrations": "array",
  "projectId": "string",
  "linked": "boolean",
  "repoFullName": "string",
  "branch": "string",
  "directory": "string",
  "autoDeploy": "boolean",
  "previewDeploy": "boolean"
}
FieldTypeDescription
orgIdstringOrganization ID
connectedbooleanWhether GitHub is connected to the org
integrationsarrayConnected GitHub accounts
projectIdstringProject ID
linkedbooleanWhether the project is linked to a repo
repoFullNamestringFull repository name
branchstringBranch
directorystringDirectory
autoDeploybooleanAuto-deploy enabled
previewDeploybooleanPreview deploys enabled