self-hosted-gitea

Create and manage private repositories on a self-hosted Gitea instance.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/alexgorbatchev/ai-registry --skill self-hosted-gitea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-hosted-gitea
Source: https://github.com/alexgorbatchev/ai-registry/tree/main/skills/self-hosted-gitea
Command: npx skills add https://github.com/alexgorbatchev/ai-registry --skill self-hosted-gitea

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating and managing repositories on a self-hosted Gitea instance, with private-by-default settings, owner resolution, and remote configuration to support secure collaboration.

Core Features & Use Cases

  • Private repository creation on git.internal.example.com under a chosen owner when needed.
  • Existence checks to avoid duplicate repositories and safe remote configuration.
  • Guarded push workflow including remote origin setup, pre-push safety checks, and post-push verification.

Quick Start

Create a new private repository on git.internal.example.com under the desired owner and push your current local branch.

Frequently Asked Questions about self-hosted-gitea

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

FAQPage Schema
How do I create a private repository on a self-hosted Gitea instance?

You can create a private repository on a self-hosted Gitea instance by resolving the target owner, checking for existing duplicates, and applying private-by-default settings during setup to ensure secure collaboration.

What's the best way to configure a remote origin and push to Gitea securely?

The best way to configure a remote origin and push securely to Gitea is using a guarded push workflow. This involves setting up the remote origin URL, executing pre-push safety checks to prevent errors, and verifying the commit status post-push.

How do I check if a Gitea repository already exists before creating a new one?

To check if a Gitea repository already exists, you perform an existence check against the target owner and repository name on your internal server. This prevents duplicate repositories and ensures safe remote configuration before proceeding.

Can I automate private repository creation and ownership handling for Gitea?

Yes, you can automate private repository creation and ownership handling for Gitea. The process involves automated owner determination, existence checks, and explicit reporting during setup to guarantee credentials are used correctly for secure remote management.

What is the guarded push workflow in Gitea remote management?

The guarded push workflow in Gitea remote management is a safety-oriented process that includes remote origin setup, pre-push safety checks to prevent accidental overwrites, and post-push verification to confirm successful repository updates.

Why does my Gitea push fail when setting up a new private repository?

A Gitea push may fail during private repository setup if the remote origin configuration is incorrect or pre-push safety checks detect an existing duplicate repository. Verifying owner credentials and checking repository existence beforehand resolves these issues.