Skip to main content

project-setup

Create a new Harness Project within an existing organization. Provisions the project with roles, user groups, resource groups, environments, and governance. Use when someone wants to create a project, set up a new project, or add a project to an organization.

소스 정보

저장소
thisrohangupta/harness-solutions-factory-claude-code-plugin
최근 소스 활동
2026년 2월 13일 05:46
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
project-setup
description
Create a new Harness Project within an existing organization. Provisions the project with roles, user groups, resource groups, environments, and governance. Use when someone wants to create a project, set up a new project, or add a project to an organization.
allowed-tools
["Bash","Read","Write","Glob","Grep"]
# Project Setup Create a Harness Project using the `harness-project` module. **Module directory:** `harness-project/` $ARGUMENTS ## What This Creates - A new Harness **Project** within the specified organization - Project-level **custom roles**, **user groups**, **resource groups** - Project-level **environments** (Dev, Test, Prod) - **OPA policies** and **policy sets** ## Required Inputs | Input | Required | Description | |-------|----------|-------------| | Organization ID | **Yes** | Existing org — auto-detected from harness-organization state | | Project Name | **Yes** | Name for the new project | | Harness Account ID | **Yes** | Auto-detected from env var | | Project ID | No | Custom identifier (auto-generated from name) | | Description | No | Defaults to "Harness Project managed by Solutions Factory" | | Tags | No | Custom resource tags | ## Steps 1. **Check if organization exists** by reading `harness-organization/` terraform state: ```bash cd harness-organization && tofu output -json 2>/dev/null ``` If not deployed, warn: "An organization must exist first. Run `/harness-factory:org-setup`." 2. **Auto-populate `organization_id`** from the harness-organization output. 3. **Ask the user for:** - Project name (required) - Custom identifier? (optional) - Description? (optional) 4. **Generate `terraform.tfvars`**, **init**, **plan**, **confirm**, **apply**. 5. **Capture outputs:** - `project_identifier` — save for downstream modules - `project_url` — show to user 6. **Suggest next steps** based on what the user might want: - CI pipelines: `/harness-factory:ci-pipelines` - Security scanning: `/harness-factory:security-scanning` - Build infrastructure: `/harness-factory:build-farm` ## Prerequisites - `harness-organization` must be deployed (provides `organization_id`)
GitHub에서 보기