¥
立即购买

版本控制仓库创建指南

35 浏览
2 试用
0 购买
Dec 13, 2025更新

本提示词专为软件版本控制场景设计,提供专业且结构化的仓库创建指导。通过明确角色定位与系统化工作流程,能够根据具体项目需求生成包含环境准备、仓库初始化、分支策略配置等完整步骤的实施方案。特别注重技术文档的准确性与可操作性,避免主观评价,确保输出内容符合行业最佳实践,适用于各类软件开发团队的版本控制体系建设。

LegacyERP Core System – Version Control Repository Creation Guide

Project Overview

Objective: Establish a standardized, secure, and collaborative Git repository for the “LegacyERP Core System,” supporting both new project initialization and migration of an existing codebase, with branch strategy, access control, and end-to-end verification.

Prerequisites

Ensure the following tools and access are ready:

  • Workstation with:
    • Git 2.34+ installed
    • Terminal or shell access
    • OpenSSH client
  • Account on at least one code hosting platform with repository creation rights:
    • GitHub, GitLab, or Bitbucket
  • Two-factor authentication enabled on the chosen platform (recommended)
  • Network access to the hosting platform and SSH over port 22

Verify Git and set global configuration:

git --version
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
git config --global init.defaultBranch main
# Line endings (choose one)
# Windows:
git config --global core.autocrlf true
# macOS/Linux:
git config --global core.autocrlf input

Generate and add an SSH key (recommended for authentication):

# Create an Ed25519 key
ssh-keygen -t ed25519 -C "your.email@example.com"
# Start agent and add key (Git Bash/macOS/Linux)
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
# Copy public key to clipboard, then add it in the platform’s SSH keys settings
# macOS:
pbcopy < ~/.ssh/id_ed25519.pub
# Linux:
xclip -sel clip < ~/.ssh/id_ed25519.pub  # or cat ~/.ssh/id_ed25519.pub
# Windows (PowerShell):
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-Clipboard

Test SSH connectivity (run the one matching your platform):

ssh -T git@github.com
ssh -T git@gitlab.com
ssh -T git@bitbucket.org

Optional credential helpers (HTTPS use only):

# Windows:
git config --global credential.helper manager-core
# macOS:
git config --global credential.helper osxkeychain
# Linux (if libsecret installed):
git config --global credential.helper libsecret

Detailed Steps

1) Environment Preparation

  • Confirm Git config is set as above.
  • Confirm SSH key is registered and connectivity test succeeds.
  • Confirm you have create-repository permissions in the target organization/group.

2) Repository Initialization (Local)

Choose one of the following initialization paths.

A. New repository (no existing Git history):

mkdir legacyerp-core && cd legacyerp-core
git init -b main
printf "# LegacyERP Core System\n\nRepository for the core system codebase.\n" > README.md

# Minimal, language-agnostic .gitignore
cat > .gitignore << 'EOF'
# OS
.DS_Store
Thumbs.db

# Editors/IDE
.vscode/
.idea/
*.swp

# Build/Artifacts
build/
dist/
target/
bin/
obj/
*.log

# Dependency caches (common)
.node_modules/
.venv/
vendor/
packages/
EOF

git add .
git commit -m "Initialize LegacyERP Core System repository"

B. Migration from an existing Git codebase (preserve history):

# In existing project working directory
# Ensure the default branch is 'main'
git branch -m master main 2>/dev/null || true
git branch -m MAIN main 2>/dev/null || true

# Clean up any stale references
git remote remove origin 2>/dev/null || true

# Add minimal .gitignore if not present
[ -f .gitignore ] || cat > .gitignore << 'EOF'
.DS_Store
Thumbs.db
.vscode/
.idea/
*.swp
build/
dist/
target/
bin/
obj/
*.log
EOF

git add .gitignore
git commit -m "Add baseline .gitignore" || true

Optional: Configure Git LFS for large binary assets (before adding large files):

# Install Git LFS (follow your OS instructions), then:
git lfs install
# Example patterns; customize as needed for binaries >10MB
git lfs track "*.psd" "*.zip" "*.bin" "*.iso"
git add .gitattributes
git commit -m "Configure Git LFS for large binaries" || true

3) Remote Repository Creation and Association

Create an empty repository named “LegacyERP-Core-System” on your chosen platform.

  • GitHub (web): Organization > New repository > Name: LegacyERP-Core-System > Private (recommended) > Create
  • GitHub (CLI, optional):
gh repo create ORG/LegacyERP-Core-System --private --description "LegacyERP Core System"
  • GitLab (web): Group > New project/repository > Project name: LegacyERP-Core-System > Visibility: Private > Create
  • GitLab (CLI, optional):
glab repo create ORG/LegacyERP-Core-System --private --name "LegacyERP Core System"
  • Bitbucket (web): Workspace > Create repository > Name: LegacyERP-Core-System > Access level: Private > Create

Associate the local repository with the remote and push:

# Replace placeholders accordingly:
# GitHub:
git remote add origin git@github.com:ORG/LegacyERP-Core-System.git
# GitLab:
# git remote add origin git@gitlab.com:GROUP/LegacyERP-Core-System.git
# Bitbucket:
# git remote add origin git@bitbucket.org:WORKSPACE/LegacyERP-Core-System.git

git push -u origin main

Create and push the develop branch:

git checkout -b develop
git push -u origin develop
git checkout main

4) Branch Strategy Configuration

Adopt the following branch model:

  • main: production-ready code, protected
  • develop: integration branch
  • feature/*: short-lived branches for new work
  • release/*: stabilization before release
  • hotfix/*: urgent fixes branched from main

Create initial branch patterns (locally, as needed):

# Example feature branch template usage:
git checkout -b feature/initial-setup develop
# After work, push:
git push -u origin feature/initial-setup

Configure branch protection in the platform:

  • GitHub:

    • Settings > Branches > Add rule > Branch name pattern: main
      • Require a pull request before merging
      • Require approvals: 1
      • Block force pushes
      • Block deletions
      • Optional: Require linear history; Require signed commits
    • Add a rule for develop with similar restrictions (adjust approvals as needed).
  • GitLab:

    • Settings > Repository > Protected Branches
    • Protect main: No one can push directly (Maintainers can merge via MR)
    • Protect develop similarly; adjust push/merge permissions per policy.
  • Bitbucket:

    • Repository settings > Branch permissions
    • Add permission for main:
      • Restrict push to admins
      • Require pull request
    • Add permission for develop with appropriate restrictions.

Optional policies:

  • Enforce pull requests for all changes to main and develop.
  • Restrict who can merge (e.g., Maintainers only).
  • Optional status checks can be enabled when CI is available.

5) Collaboration and Access Control

Assign repository permissions:

  • GitHub:

    • Organization > Teams > Create team “LegacyERP Core”
    • Add members; set role (e.g., Maintain/Write as needed)
    • Grant the team access to the repository
    • Optional: CODEOWNERS to define required reviewers
      mkdir -p .github
      cat > .github/CODEOWNERS << 'EOF'
      # Example: require review from core maintainers for critical paths
      /                           @org/legacyerp-core
      EOF
      git add .github/CODEOWNERS
      git commit -m "Add CODEOWNERS"
      git push
      
  • GitLab:

    • Project > Members > Invite group/users with roles:
      • Maintainer (overall admin for project)
      • Developer (push to non-protected branches, create MRs)
      • Reporter/Guest as needed
  • Bitbucket:

    • Repository settings > User and group access
    • Assign Admin/Write/Read permissions to groups and users accordingly

Recommended defaults:

  • Admin/Maintainer: small set of leads
  • Developer/Write: regular contributors
  • Read/Reporter: stakeholders or CI-only accounts

6) Validation Test (End-to-End)

Perform the following to validate the workflow:

  1. Clone test (fresh location):
cd /tmp
git clone git@github.com:ORG/LegacyERP-Core-System.git
cd LegacyERP-Core-System
git fetch --all --prune
git branch -r
  1. Direct push to main is blocked:
git checkout -b dryrun-main-edit main
printf "\nValidation: %s\n" "$(date -u +%FT%TZ)" >> README.md
git add README.md
git commit -m "Validation: attempt direct commit to main"
git push origin HEAD:main
# Expected: push rejected due to branch protection
  1. Feature branch and Pull/Merge Request:
git checkout develop
git pull
git checkout -b feature/validation
printf "\nFeature validation note\n" >> README.md
git add README.md
git commit -m "Add feature validation note"
git push -u origin feature/validation
  • Open a Pull Request/Merge Request from feature/validation into develop.
  • Approve and merge per the protection rules.
  • After merge, update local:
git checkout develop
git pull
  1. Release tagging:
git checkout main
git pull
git tag -a v0.1.0 -m "Initial baseline for LegacyERP Core System"
git push origin v0.1.0
  1. Hotfix flow:
git checkout -b hotfix/0.1.1 v0.1.0
# Apply fix
git commit -am "Fix: critical issue in 0.1.0"
git push -u origin hotfix/0.1.1
# Open PR/MR into main; after merge, back-merge or cherry-pick into develop
  1. Optional templates:
mkdir -p .github
cat > .github/pull_request_template.md << 'EOF'
Summary:
Changes:
Testing:
Checklist:
- [ ] Code builds
- [ ] Tests pass
- [ ] No secrets added
EOF

git add .github/pull_request_template.md
git commit -m "Add PR template"
git push

Verification Methods

  • Confirm repository is accessible via SSH and clone works.
  • Confirm main and develop are protected as configured.
  • Confirm direct pushes to main are rejected.
  • Confirm feature branch PR/MR flow completes successfully.
  • Confirm tags push successfully and are visible in the platform’s releases/tags.
  • Confirm team permissions operate as intended (Developer cannot push to protected branches).
  • Confirm Git LFS (if enabled) tracks defined patterns and uploads large files.

Notes and Common Issues

  • SSH “Permission denied (publickey)”:

    • Ensure the correct public key is added to the platform account.
    • Verify the SSH remote URL matches the platform.
    • Run: ssh -T git@ to confirm connectivity.
  • Remote already exists or incorrect:

git remote -v
git remote set-url origin git@<host>:<OWNER>/<REPO>.git
  • Line-ending issues across OS:

    • Windows: core.autocrlf true
    • macOS/Linux: core.autocrlf input
    • Re-commit changed files after updating settings.
  • Large files and LFS:

    • Enable LFS before adding large binaries.
    • For existing large files already committed, consider history rewrite with a verified tool (e.g., git filter-repo). Rotate any affected secrets before publishing.
  • Accidental secret commit:

    • Immediately rotate the secret at its source (API key/token/password).
    • Remove the secret from the repository and open a remediation PR.
    • If already pushed, remove from history using a verified rewrite tool and force-push only if branch protection allows or under admin procedure. Document the incident.
  • Merge conflicts:

git fetch --all
git checkout feature/branch
git merge origin/develop  # or rebase if policy allows
# Resolve conflicts in files
git add <resolved files>
git commit
git push
  • Safe update of default branch name:
# Local rename (if needed)
git branch -m master main
# Push and set upstream
git push -u origin main
# Update default branch in platform settings to 'main'
  • Repository maintenance:
    • Use descriptive commit messages.
    • Keep feature branches short-lived.
    • Delete merged branches.
    • Avoid force pushes on shared branches.

This guide provides a complete, actionable setup for the LegacyERP Core System repository, from environment preparation to protected-branch collaboration and validation.

プロジェクト概要

IoT 平台 Monorepo の新規 Git リポジトリを作成し、チームで安全かつ効率的に開発できるよう、環境準備から初期化・リモート接続・ブランチ戦略・権限設定・検証までの全手順を定義する。対象は GitHub または GitLab を用いた一般的なチーム開発環境。モノレポ構成に対応し、main(安定版)、develop(統合)、feature/release/hotfix(作業系)の複数ブランチ管理と保護を設定する。

前置条件

  • OS: Windows 10+/macOS/Linux のいずれか
  • ネットワーク: コードホスティング(GitHub または GitLab)へアクセス可能
  • アカウント:
    • GitHub: Organization Owner または Repository Admin 権限
    • GitLab: Group Owner または Maintainer 権限
  • ツール:
    • Git 2.39 以上
    • OpenSSH クライアント -(任意)Git LFS(大容量ファイルを扱う場合) -(任意)GitHub CLI(gh)または GitLab CLI(glab)

確認コマンド例:

git --version
ssh -V

详细步骤

1. 環境準備

1-1. Git の初期設定

git config --global user.name "Your Name"
git config --global user.email "your-email@example.com"
git config --global init.defaultBranch main
  • user.name / user.email: コミット署名に使用
  • init.defaultBranch: 新規リポジトリのデフォルトブランチ名

1-2. SSH キー作成と登録(SSH 接続を使用する場合)

ssh-keygen -t ed25519 -C "your-email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
  • -t ed25519: 現行推奨の鍵方式
  • -C: 識別用コメント

GitHub に公開鍵登録: Settings -> SSH and GPG keys -> New SSH key
GitLab に公開鍵登録: Preferences -> SSH Keys -> Add SSH Key

接続確認:

ssh -T git@github.com
ssh -T git@gitlab.com

1-3.(任意)Git LFS の導入(大容量ファイルを扱う場合)

git lfs install

1-4.(任意)CLI の導入

  • GitHub CLI: gh auth login
  • GitLab CLI: glab auth login

2. リポジトリ初期化(ローカル)

2-1. ディレクトリ作成と初期化

mkdir iot-platform-monorepo
cd iot-platform-monorepo
git init --initial-branch=main
  • --initial-branch: main ブランチで初期化

2-2. モノレポ標準構成の作成

mkdir -p services/service-a
mkdir -p services/service-b
mkdir -p libs/common
mkdir -p infra
mkdir -p docs
mkdir -p scripts
mkdir -p tools

2-3. 必須ファイルを作成 README.md:

# IoT 平台 Monorepo
本リポジトリは IoT プラットフォームのモノレポ構成を管理します。

.gitattributes(改行コードの統一・マージ挙動の既定化):

* text=auto eol=lf
*.sh text eol=lf
*.bat text eol=crlf
*.png binary
*.jpg binary

.gitignore(一般的な除外例):

# OS / Editor
.DS_Store
Thumbs.db
*.swp
.vscode/
.idea/

# Dependencies / Builds
node_modules/
dist/
build/
target/
venv/
__pycache__/
*.log

CODEOWNERS(例: ディレクトリ別のレビュー必須設定)

# CODEOWNERS は .github/ または .gitlab/ 配下でも可
/services/ @team-services
/libs/ @team-libs
/infra/ @team-infra

GitHub Actions(任意・簡易 CI サンプル: .github/workflows/ci.yml)

name: CI
on:
  pull_request:
  push:
    branches: [ main, develop ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "CI ok"

GitLab CI(任意・簡易 CI サンプル: .gitlab-ci.yml)

stages: [test]
echo:
  stage: test
  script:
    - echo "CI ok"

2-4. 初回コミット

git add .
git commit -m "chore: initial repository structure for IoT Platform Monorepo"

3. リモートリポジトリ作成と関連付け

方式A: GitHub(Web UI)

  • Organization/個人アカウント -> Repositories -> New
  • Repository name: iot-platform-monorepo
  • Visibility: Private(必要に応じて変更)
  • README の自動生成は不要(ローカルで作成済み)
  • 作成後、SSH URL(例: git@github.com:ORG/iot-platform-monorepo.git)を取得

方式B: GitLab(Web UI)

  • Group/個人 -> New project -> Create blank project
  • Project name: iot-platform-monorepo
  • Visibility: Private
  • README の自動生成は不要
  • 作成後、SSH URL(例: git@gitlab.com:ORG/iot-platform-monorepo.git)を取得

方式C: CLI(任意・環境が整っている場合)

  • GitHub:
    gh repo create ORG/iot-platform-monorepo --private --source=. --remote=origin --push
    
    • --private: 非公開
    • --source=.: 現在のディレクトリをソースに
    • --remote=origin: リモート名 origin を作成
    • --push: 初回プッシュを実行
  • GitLab:
    glab repo create ORG/iot-platform-monorepo --private --init=false
    git remote add origin git@gitlab.com:ORG/iot-platform-monorepo.git
    git push -u origin main
    

手動で関連付け・初回プッシュ(Web UI で作成した場合):

git remote add origin git@github.com:ORG/iot-platform-monorepo.git
git push -u origin main
  • -u: upstream(追跡ブランチ)を設定

4. ブランチ戦略と保護設定

4-1. ブランチ方針

  • main: リリース専用(直接プッシュ不可、PR/MR 経由で更新)
  • develop: 統合ブランチ(PR/MR 経由で更新)
  • feature/*: 機能開発(develop から派生)
  • release/*: リリース準備(develop から派生、main にマージ)
  • hotfix/*: 緊急修正(main から派生、main と develop に反映)

4-2. 初期ブランチ作成・プッシュ

git branch develop
git push -u origin develop

4-3. ブランチ保護ルール

GitHub:

  • Settings -> Branches -> Add rule
    • Branch name pattern: main
      • Require a pull request before merging(最低 1 承認)
      • Require status checks to pass before merging(CI 成功必須)
      • Require linear history(必要に応じて有効)
      • Allow force pushes: オフ
      • Allow deletions: オフ
    • Branch name pattern: develop
      • 同様に PR 必須・ステータスチェック必須を設定

CODEOWNERS を有効にするには

  • Settings -> Branches -> Require review from Code Owners を有効

GitLab:

  • Settings -> Repository -> Protected branches
    • main: Allowed to push = No one, Allowed to merge = Maintainers(または指定ロール)
    • develop: Allowed to push = Developers + Maintainers, Allowed to merge = Maintainers
  • Settings -> General -> Merge request approvals
    • Approvals required: 1 以上
    • Code Owners 承認(Code Owners 機能有効時)

5. 協作権限設定

GitHub:

  • Organization -> Teams
    • チーム作成(例: team-services, team-libs, team-infra)
    • 各チームにメンバーを追加
  • Repository -> Settings -> Collaborators and teams
    • チーム/ユーザーへ権限付与
      • Admin(管理)
      • Maintain(保守)
      • Write(書き込み)
      • Triage(課題整理)
      • Read(閲覧)

GitLab:

  • Group -> Members
    • 役割付与: Owner / Maintainer / Developer / Reporter / Guest
  • Subgroup/Project 単位で必要最小限の権限を付与

リポジトリ直下に CODEOWNERS を配置し、ディレクトリ単位のレビュー必須を適用する。

6. 検証テスト(エンドツーエンド)

6-1. クローン検証

cd ..
git clone git@github.com:ORG/iot-platform-monorepo.git
cd iot-platform-monorepo
git remote -v

6-2. feature ブランチの作成・プッシュ

git checkout -b feature/device-registry
echo "Device registry draft" >> docs/device-registry.md
git add docs/device-registry.md
git commit -m "feat(docs): add device registry draft"
git push -u origin feature/device-registry

6-3. PR/MR の作成

  • GitHub: Pull requests -> New pull request(base: develop, compare: feature/device-registry)
  • GitLab: Merge requests -> New(target: develop, source: feature/device-registry)
  • レビュー要求を登録し、CI 成功とレビュー承認後にマージ

6-4. main へのリリースフロー

  • develop から release ブランチを作成し、テスト後に main へマージ
git checkout develop
git checkout -b release/0.1.0
git push -u origin release/0.1.0
  • PR/MR(release/0.1.0 -> main)を作成し、承認後にマージ

6-5. タグ付与と配布

git checkout main
git pull
git tag -a v0.1.0 -m "Release 0.1.0"
git push origin v0.1.0
  • -a: 注釈付きタグ
  • -m: タグメッセージ

6-6. hotfix フロー

git checkout main
git checkout -b hotfix/critical-fix
# 変更作業
git commit -m "fix: critical issue"
git push -u origin hotfix/critical-fix
  • PR/MR(hotfix/critical-fix -> main)を作成・マージ後、develop にも反映(main -> develop の PR/MR またはリベース)

6-7. 保護ルールの動作確認(拒否を期待)

git checkout main
git commit --allow-empty -m "test: direct push to main should be blocked"
git push origin main
  • プッシュ拒否が確認できれば保護設定が有効

验证方法

  • git remote -v で origin が正しいリモート URL を指すことを確認
  • Protected branches が UI 上で main/develop に適用されていることを確認
  • PR/MR 作成時に以下が満たされることを確認
    • ステータスチェック(CI)が走り、成功である
    • 指定のレビュー承認が必要である(CODEOWNERS 適用範囲を含む)
  • main への直接プッシュが拒否されることを確認
  • v0.1.0 タグがリモートに存在することを確認(リポジトリの Releases/Tags 画面)

注意事項

一般的な問題と対処:

  • SSH 認証失敗
    • 現象: ssh -T 実行で permission denied
    • 対処: 公開鍵がプラットフォームに登録済みか確認、ssh-agent に鍵を追加、~/.ssh の権限(600/700)を確認、接続先ドメイン(github.com / gitlab.com)を誤っていないか確認
  • メール未検証によるコミット紐付け不可
    • 現象: プラットフォーム上でユーザーにコミットが紐付かない
    • 対処: git config --global user.email をプラットフォームで検証済みのメールに設定し直す
  • 大容量ファイルでのプッシュ失敗
    • 現象: GitHub で 100MB 超の push が拒否
    • 対処: Git LFS を導入し、対象パターンを追跡
      git lfs install
      git lfs track "*.bin"
      git add .gitattributes
      
  • 改行コード不一致による差分肥大
    • 対処: .gitattributes で eol を統一(本手順のサンプルを使用)
  • main に直接プッシュできない
    • 現象: rejected(protected branch)
    • 対処: ブランチから PR/MR を作成し、承認・CI 成功後にマージ
  • デフォルトブランチ不一致
    • 現象: リモートのデフォルトが master
    • 対処: リポジトリ設定で default branch を main に変更し、不要な master は削除または保護
  • モノレポ内の誤ったサブリポジトリ作成
    • 現象: services/配下に .git が存在
    • 対処: サブディレクトリで git init しない。誤作成時は .git ディレクトリを削除し、親リポジトリで管理

運用上の留意点:

  • ブランチ命名規則を統一(feature/<短い説明>、release/X.Y.Z、hotfix/<短い説明>)
  • マージ方式は履歴一貫性の観点から PR/MR 単位で squash または rebase を一律で適用(プラットフォーム設定で固定)
  • 最小権限の原則でメンバー権限を設定
  • 秘密情報はリポジトリに含めない(プラットフォームのシークレット/変数機能を使用)

以上により、IoT 平台 Monorepo の初期セットアップから協調開発・保護・検証までの一連の手順が完成する。

示例详情

解决的问题

用一条可复用的高效提示词,快速搭建“规范、可执行、可复用”的版本控制仓库指南,覆盖新建、迁移、多人协作与分支管理等主流场景。它将最佳实践沉淀为清晰的操作SOP:从环境检查、仓库初始化、远程关联,到分支保护、成员权限、全流程验收与排错,一步到位。核心价值:

  • 速度:通常可将仓库启动时间从数小时压缩至数分钟。
  • 质量:统一标准、降低配置失误与合并冲突。
  • 易用:输出结构清晰、可直接执行,支持多语言,便于分享与复用。
  • 管理:帮助团队固化规范,新人0门槛上手,减少资深同学反复答疑。
  • 适配:兼顾个人到企业级团队,不同托管平台习惯均可覆盖。

适用用户

研发负责人/技术经理

快速建立团队统一的仓库模板与分支策略,十分钟产出可评审的实施方案,减少返工与协作摩擦。

运维工程师/DevOps

一键生成新仓库的保护规则与权限清单,规范合并流程与回滚预案,降低误操作与线上风险。

初级开发者/团队新人

按图完成本地环境自检、首次提交与推送,快速融入团队工作流,减少求助与等待时间。

特征总结

一键生成从环境到验证的仓库搭建方案,降低新项目启动成本与沟通误差
针对新建、迁移、多人协作等场景,自动匹配分支与合并策略,避免混乱上线
自动生成标准化操作清单与可复制命令,减少手误,保证全员按同一流程执行
内置权限配置与保护规则模板,一键套用到主干与开发分支,降低误删与冲突风险
自动输出结构化技术文档,涵盖前置条件、步骤与校验,交付即可落地执行
提供常见问题与排错路径,出现阻塞可按图索骥,显著缩短定位与恢复时间
支持多语言输出与术语本地化,跨区域团队共享同一标准,减少对口头培训依赖
可按项目名称和团队规模个性化生成,自动调优细节,使方案更贴合实际工作流
全流程不依赖额外补充信息,直接给出可执行版本,适合快速评审与立即开工
提供端到端验证方法与回滚指引,确保每一步可追溯可还原,降低线上影响

如何使用购买的提示词模板

1. 直接在外部 Chat 应用中使用

将模板生成的提示词复制粘贴到您常用的 Chat 应用(如 ChatGPT、Claude 等),即可直接对话使用,无需额外开发。适合个人快速体验和轻量使用场景。

2. 发布为 API 接口调用

把提示词模板转化为 API,您的程序可任意修改模板参数,通过接口直接调用,轻松实现自动化与批量处理。适合开发者集成与业务系统嵌入。

3. 在 MCP Client 中配置使用

在 MCP client 中配置对应的 server 地址,让您的 AI 应用自动调用提示词模板。适合高级用户和团队协作,让提示词在不同 AI 工具间无缝衔接。

AI 提示词价格
¥20.00元
先用后买,用好了再付款,超安全!

您购买后可以获得什么

获得完整提示词模板
- 共 511 tokens
- 2 个可调节参数
{ 项目名称 } { 输出语言 }
获得社区贡献内容的使用权
- 精选社区优质案例,助您快速上手提示词
使用提示词兑换券,低至 ¥ 9.9
了解兑换券 →
限时半价

不要错过!

半价获取高级提示词-优惠即将到期

17
:
23
小时
:
59
分钟
:
59