원클릭으로
repo-ci
Create a GitHub repo (if needed) and set up Dependabot, CI workflow, auto-merge workflow, and GitHub branch ruleset.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a GitHub repo (if needed) and set up Dependabot, CI workflow, auto-merge workflow, and GitHub branch ruleset.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guide developers through creating and updating ChatGPT and MCP apps. Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/views, debugging, running dev servers, deploying and connecting apps to ChatGPT. Use when a user wants to create or update a ChatGPT app, MCP app, MCP server or use the Skybridge framework.
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
Add and use PostHog in Next.js (App Router) applications. Use when needing to (1) integrate PostHog analytics, (2) set up LLM analytics for AI SDK / Anthropic generations, (3) add error tracking, or (4) implement feature flags. Covers SDK setup, user identification, event capture, exception tracking, source maps, and server/client flag evaluation. Curated for a Next.js + Vercel AI SDK stack.
Bootstrap a Next.js project with Prisma (PostgreSQL), tRPC, React Query, optional Clerk auth, next-themes, sonner, shadcn/ui config, and a clean folder structure. Use when the user says "set up this project", "scaffold with Prisma and tRPC", "/repo-init-next-js", "add Prisma and tRPC to this Next.js app", or wants to initialize a fresh Next.js project with the full stack.
Scaffold a new Node.js/pnpm project with TypeScript, ESLint, Prettier, .gitignore, and CLAUDE.md.
| name | repo-ci |
| description | Create a GitHub repo (if needed) and set up Dependabot, CI workflow, auto-merge workflow, and GitHub branch ruleset. |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Bash(gh *), Bash(cat *) |
Create a GitHub repo (if needed) and set up GitHub CI, Dependabot, auto-merge, and branch protection.
gh repo view --json nameWithOwner 2>/dev/null to check if a remote repo already exists.gh repo create <name> --private --source=. --push to create a private repo and push the current code.package.json to confirm package manager and dependencies.gh repo view --json nameWithOwner to get the repo identifier.Snickers03..github/dependabot.ymlReplace {{REVIEWER}} with the username from step 1.
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "Europe/Berlin"
open-pull-requests-limit: 10
target-branch: "main"
versioning-strategy: "increase"
reviewers:
- "{{REVIEWER}}"
labels:
- "dependencies"
commit-message:
prefix: "deps"
groups:
devtools:
dependency-type: "development"
patterns:
- "eslint*"
- "@eslint/*"
- "prettier*"
- "@ianvs/*"
- "typescript"
- "typescript-eslint"
- "tsx"
- "globals"
update-types: ["patch", "minor"]
majors:
patterns:
- "*"
update-types: ["major"]
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]
.github/workflows/ci.ymlReplace {{NODE_VERSION}} with the Node.js version from package.json engines or default 20.
name: CI
on:
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: { { NODE_VERSION } }
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm format --check
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: { { NODE_VERSION } }
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
.github/workflows/dependabot-auto-merge.ymlname: Dependabot Auto-Merge
on:
pull_request:
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Auto-merge patch and minor updates
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Replace {{REPO}} with the nameWithOwner value from Step 1. Create both rulesets.
prevent-main-direct-push ruleset (default branch)gh api repos/{{REPO}}/rulesets --method POST --input - <<'EOF'
{
"name": "prevent-main-direct-push",
"target": "branch",
"enforcement": "active",
"bypass_actors": [
{
"actor_id": 5,
"actor_type": "RepositoryRole",
"bypass_mode": "always"
}
],
"conditions": {
"ref_name": {
"include": ["~DEFAULT_BRANCH"],
"exclude": []
}
},
"rules": [
{
"type": "deletion"
},
{
"type": "required_linear_history"
},
{
"type": "pull_request",
"parameters": {
"required_approving_review_count": 1,
"dismiss_stale_reviews_on_push": false,
"require_code_owner_review": false,
"require_last_push_approval": false,
"required_review_thread_resolution": false,
"allowed_merge_methods": ["squash", "rebase"]
}
},
{
"type": "non_fast_forward"
}
]
}
EOF
main-protection ruleset (required status checks)gh api repos/{{REPO}}/rulesets --method POST --input - <<'EOF'
{
"name": "main-protection",
"target": "branch",
"enforcement": "active",
"bypass_actors": [
{
"actor_id": 5,
"actor_type": "RepositoryRole",
"bypass_mode": "always"
}
],
"conditions": {
"ref_name": {
"include": ["refs/heads/main"],
"exclude": []
}
},
"rules": [
{
"type": "required_status_checks",
"parameters": {
"strict_required_status_checks_policy": true,
"required_status_checks": [
{ "context": "lint" },
{ "context": "build" }
]
}
}
]
}
EOF
gh repo edit --delete-branch-on-merge
gh api repos/{{REPO}}/actions/permissions/workflow --method PUT --input - <<'EOF'
{
"default_workflow_permissions": "read",
"can_approve_pull_request_reviews": true
}
EOF
Tell the user what was created:
.github/dependabot.yml.github/workflows/ci.yml.github/workflows/dependabot-auto-merge.ymlprevent-main-direct-push on default branch (deletion, linear history, PR required, no force push)main-protection on main requiring lint and build checks