gm3dmo/the-power/create-test-repo

Claude Code and agent skill by gm3dmo/the-power

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Create a test repository using the-power's build-testcase scripts. Covers the full decision matrix of 30+ testcase scripts for repos with PRs, issues, workflows, secret scanning, rulesets, runners, and more.

Install

npx vskill@latest install gm3dmo/the-power/create-test-repo

SKILL.md

Create a Test Repository

the-power ships 30+ build-testcase* scripts that each create a different kind of test environment. This skill helps pick the right one.

Prerequisites

  1. .gh-api-examples.conf must exist (see the configure skill).
  2. The target org must already exist. If it does not, use the

create-test-org skill first, or run build-all.sh.

  1. Required tools: jq, curl, python3, bash 5.x.

Decision matrix

General purpose
GoalScript
Repo with PR, issue, branch protection, CODEOWNERS, releasebuild-testcase
Full org + team + users + repobuild-all.sh
Timed smoketest with pass/fail summarybuild-smoketest
Dotcom-specific full setupbuild-dotcom.sh
GitHub Actions workflows
GoalScript
Simple workflow with dispatch eventsbuild-testcase-workflow-simple
Workflow with repository secretsbuild-testcase-workflow-secrets
Workflow with curl trace for debuggingbuild-testcase-workflow-curl-trace
Workflow using a GitHub Appbuild-testcase-workflow-github-app
Self-hosted runner workflowbuild-testcase-workflow-simple-self-hosted
Maven build workflowbuild-testcase-workflow-maven
Merge queue demobuild-testcase-workflow-merge-queue-demo
Security features
GoalScript
Secret scanningbuild-testcase-secret-scanning
Push protectionbuild-testcase-push-protection
CodeQL zipslip detectionbuild-testcase-codeql-zipslip
Vulnerable dependenciesbuild-testcase-shai-hulud
Rulesets
GoalScript
Ruleset with GitHub App overridebuild-testcase-ruleset
Ruleset with PR approval + org-owner overridebuild-testcase-ruleset-pr-approval
Self-hosted runners
GoalScript
Repository-level runnerbuild-testcase-selfhosted-runner
Organisation-level runnerbuild-testcase-selfhosted-runner-org
Enterprise-level runnerbuild-testcase-selfhosted-runner-enterprise
Pull request variations
GoalScript
PR with commit statuses and checksbuild-testcase-with-commit-status
Automerge end-to-endbuild-testcase-automerge
Force push scenariobuild-testcase-with-force-push-danger
Merge methods (merge, squash, rebase)build-testcase-show-pr-merge-methods
Other scenarios
GoalScript
Permissions across teamsbuild-testcase-permissions
Public, internal, and private reposbuild-testcase-repo-trifecta
Large binary file handlingbuild-testcase-large-binary-jar
Environments with workflowbuild-testcase-environment
GHES Manage API v1build-testcase-ghe-manage-v1
OWASP WebGoat (Java)build-testcase-goat
OWASP WebGoat (.NET)build-testcase-goat-dotnet

How to run

bash
cd the-power
./build-testcase # fastest path to a repo with a PR

Combining testcases

Run multiple testcases against the same config to layer features:

bash
# Change repo name between runs
python3 gh-set-value.py --key repo --value my-security-repo
./build-testcase-secret-scanning

GHES vs dotcom notes

  • GHES-only: build-testcase-ghe-manage-v1 (requires Manage API)
  • Dotcom-only: build-dotcom.sh (Pages, Gists)
  • Runner scripts: auto-rewrite api.github.com to github.com for

runner config URL

  • Internal repos: require GHES or Enterprise Cloud
  • User creation: build-all.sh uses admin API (GHES only)

Error handling

  • 422 "name already exists" — repo already exists. Change repo value.
  • 404 on org — org does not exist. Run create-test-org first.
  • 401 — token invalid or expired.

Boundaries

  • Confirm target instance with the user before running any build script.
  • Do not display the GITHUB_TOKEN. Show only the first 8 characters.
  • Do not run GHES-only scripts on dotcom. Check hostname first.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
216
Repository forks
46
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 5 Jun 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gm3dmo/the-power/create-test-repo/badge)](https://verified-skill.com/skills/gm3dmo/the-power/create-test-repo)

Something wrong with this skill or its page? Tell us.