원클릭으로
create-test-org
// Create a fully populated test organisation on a GitHub instance using the-power's build-all.sh script. Includes users, teams, repos, PRs, branch protection, and more. Requires .gh-api-examples.conf to be configured first.
// Create a fully populated test organisation on a GitHub instance using the-power's build-all.sh script. Includes users, teams, repos, PRs, branch protection, and more. Requires .gh-api-examples.conf to be configured first.
Clean up GitHub resources created by the-power test environment scripts. Delete repositories, teams, members, rulesets, webhooks, environments, and other resources. Suspend or unsuspend users on GHES.
Configure the-power for a target GitHub instance. Run configure.py to generate .gh-api-examples.conf with hostname, token, org, repo, and other settings. Covers interactive and non-interactive setup, GHES vs dotcom differences, curl flags for self-signed certs, and GitHub App configuration.
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.
Find the right the-power script by category, keyword, or goal. Covers all ~980 scripts organised by operation type with safety labels for destructive, GHES-only, and bulk operations.
Execute any the-power script with guided parameter input. Covers prerequisites, working directory, output interpretation, HTTP status codes, error patterns, and debugging techniques.
Scale up a test environment by bulk-creating repos, users, orgs, teams, issues, branches, PRs, and commits using the-power's create-many scripts. Three performance tiers: shell, Python connection reuse, and Python pooling.
| name | create-test-org |
| description | Create a fully populated test organisation on a GitHub instance using the-power's build-all.sh script. Includes users, teams, repos, PRs, branch protection, and more. Requires .gh-api-examples.conf to be configured first. |
| keywords | ["create","org","organisation","organization","test","build-all","users","teams"] |
Use build-all.sh to create a complete test organisation with users,
teams, and a fully populated repository in about 60 seconds.
.gh-api-examples.conf must exist (see the configure skill).org value in the config must be unique and not already exist.build-all.sh creates users via the site-admin API.
On github.com, the org and users must already exist.build-all.sh creates:
Justice League by default)testrepo) with:
bug label.gitattributescd the-power
# 1. Verify the config is pointing at the right instance
cat .gh-api-examples.conf | grep -E '^(hostname|org)='
# 2. Run build-all.sh
./build-all.sh
Always use a unique, identifiable org name:
solvaholic-test-2026-04, copilot-demo-issue-42test, myorg, demoChange it with:
python3 gh-set-value.py --key org --value my-unique-org
On dotcom, build-all.sh cannot create users or orgs via the admin API.
Use build-dotcom.sh instead, which assumes the org and users exist:
./build-dotcom.sh
Or run build-testcase if you only need a repo inside an existing org.
When done, use the cleanup-test-data skill. The fastest path is:
# Delete the org and everything in it
curl -X DELETE \
-H "Authorization: token ${GITHUB_TOKEN}" \
"${GITHUB_API_BASE_URL}/orgs/${org}"
On GHES, you can also suspend test users:
./suspend-a-user.sh testuser1
org in
your config and re-run.hostname and org values first.