Création de dépôt CoreWeave

VérifiéSûr

Guide l'utilisateur dans la création d'un nouveau dépôt GitHub CoreWeave avec l'outil cw repo create. Assure la configuration des permissions d'équipe, la protection de branche et l'intégration Backstage. Utile lors de la création de nouveaux projets nécessitant une configuration standardisée.

Spar Skills Guide Bot
DeveloppementIntermédiaire
9002/06/2026
Claude Code
#coreweave#github#repository-creation#backstage#ci-cd

Recommandé pour

Notre avis

Guide l'utilisateur dans la création d'un nouveau dépôt GitHub CoreWeave avec configuration standard, permissions d'équipe et intégration Backstage.

Points forts

  • Processus pas à pas interactif avec vérification avant exécution
  • Configuration automatique des permissions, protection de branche et catalogue Backstage
  • Support de plusieurs archétypes (blank-repo et go-http-service)
  • Intégration avec l'outil cw CLI et GitHub CLI

Limites

  • Spécifique à l'organisation CoreWeave
  • Nécessite l'installation préalable de cw CLI
  • Seulement deux archétypes disponibles
Quand l'utiliser

Utilisez cette compétence lorsque vous créez un nouveau dépôt GitHub dans l'organisation CoreWeave en nécessitant une configuration standard avec templates, permissions et Backstage.

Quand l'éviter

Ne l'utilisez pas pour des dépôts en dehors de CoreWeave ou si vous avez besoin de configurations personnalisées non couvertes par les archétypes proposés.

Analyse de sécurité

Sûr
Score qualité88/100

The skill instructs users to run CLI commands for creating repositories and managing local config files. It emphasizes getting user confirmation before creating a real repository and only uses allowed Bash operations restricted to repository-related tasks. No destructive, exfiltrating, or obfuscated actions are present.

Aucun point d'attention détecté

Exemples

Create Go HTTP service repo
Create a new CoreWeave GitHub repository for my Go HTTP service named 'order-service' with the go-http-service archetype.
Create blank repo for docs
Set up a blank GitHub repository called 'project-docs' in CoreWeave for documentation.
Guided repo creation
Walk me through creating a new CoreWeave repository with cw CLI, step by step.

name: cw-repo description: Guide through creating a new CoreWeave GitHub repository with proper setup. Use when creating new repos with standardized templates, team permissions, and Backstage integration. allowed-tools:

  • Bash(cw repo:*)
  • Bash(gh:*)

CW Repository Creation

Guide users through creating new GitHub repositories using the cw CLI. Ensures proper setup with team permissions, branch protection, and Backstage integration.

When to Use This Skill

Use this skill when:

  • Creating a new GitHub repository in the CoreWeave organization
  • Setting up a new project with proper configuration from the start
  • Need a repository with Backstage catalog integration

Instructions

Step 1: Pre-flight Checks

Before starting, verify:

  1. CLI installed:

    cw version
    
  2. Authenticated:

    • The command will prompt for GitHub auth if needed
    • Uses OAuth device flow
  3. Gather requirements:

    • Repository name (kebab-case recommended)
    • Short description
    • Owning team
    • Visibility (private/public)
    • Archetype (blank-repo or go-http-service)

Step 2: Present Archetype Options

Help the user choose the right archetype:

| Archetype | Best For | |-----------|----------| | blank-repo | General projects, scripts, documentation, non-Go projects | | go-http-service | Go HTTP/gRPC services with CI/CD, Docker, Kubernetes deployment |

Step 3: Guide Through Creation

IMPORTANT: This command creates a real GitHub repository. Always get user confirmation before running.

Show the user what will happen:

cw repo create will:
1. Create GitHub repository: coreweave/<name>
2. Apply archetype template
3. Configure team permissions
4. Set up branch protection (main)
5. Register in Backstage catalog
6. Optionally create a PR for review

Once confirmed, run:

cw repo create

The command is interactive and will prompt for:

  • Repository name
  • Description
  • Team selection
  • Visibility
  • Archetype selection

Step 4: Post-Creation

After repository creation:

  1. Clone the repo:

    gh repo clone coreweave/<repo-name>
    cd <repo-name>
    
  2. Verify setup:

    • Check branch protection rules
    • Verify team access
    • Confirm Backstage registration
  3. Next steps:

    • Add additional components with /cw-scaffold
    • Set up local development with /cw-dev

What Gets Created

blank-repo archetype:

  • .github/CODEOWNERS
  • catalog.yaml (Backstage)
  • Basic README.md
  • Branch protection on main

go-http-service archetype:

  • All of blank-repo, plus:
  • Go project structure
  • Dockerfile
  • Kubernetes manifests
  • CI/CD workflows
  • Makefile

Troubleshooting

Auth issues:

rm -rf ~/.cw/cli/gh.json
cw repo create  # Re-authenticates

Permission denied:

  • Ensure you have org access
  • Check team membership
  • Verify GitHub token scopes

Template errors:

rm -rf ~/.cw/cli/cached-templates/
cw repo create  # Re-fetches templates
Skills similaires