AgentSkillsCN

conductor-setup

为Context-Driven Development搭建项目框架并配置Conductor环境。当您开始新项目,或在现有(棕地)项目中初始化Conductor工作流时使用此功能。该技能引导用户完成项目探索、产品定义、技术栈配置,以及初始轨道规划。

SKILL.md
--- frontmatter
name: conductor-setup
description: Scaffolds the project and sets up the Conductor environment for Context-Driven Development. Use when starting a new project or initializing the Conductor workflow in an existing (brownfield) project. This skill guides the user through project discovery, product definition, tech stack configuration, and initial track planning.

Conductor Setup

Overview

This skill transforms a standard repository into a Conductor-managed project. It establishes the "Source of Truth" by creating structured documentation for the product vision, technical standards, and development workflows.

Workflow Overview

The setup process follows these sequential phases:

  1. Project Discovery: Determines if the project is New (Greenfield) or Existing (Brownfield).
  2. Product Definition: Collaborative creation of product.md and product-guidelines.md.
  3. Tech Stack: Definition of the project's technical foundation in tech-stack.md.
  4. Configuration: Selection of code style guides and customization of workflow.md.
  5. Track Generation: Creation of the first unit of work (Track) with a spec.md and plan.md.

State Management

Conductor tracks setup progress in conductor/setup_state.json. If the session is interrupted, you MUST check this file to resume from the last_successful_step.

  • 2.1_product_guide → Resume at Product Guidelines.
  • 2.2_product_guidelines → Resume at Tech Stack.
  • 2.3_tech_stack → Resume at Code Styleguides.
  • 2.4_code_styleguides → Resume at Workflow.
  • 2.5_workflow → Resume at Initial Track Generation.
  • 3.3_initial_track_generated → Setup complete.

Implementation Details

Refer to the following protocols for detailed procedural instructions:

1. Initialization and Resolution

2. Product Documentation

3. Standards and Workflow

4. Planning the First Track

Mandatory Constraints

  • TDD Integration: When generating plan.md, you MUST adhere to the TDD principles defined in workflow.md (Red/Green/Refactor tasks).
  • Universal File Resolution: ALWAYS use the protocol in references/resolution-protocol.md to find or verify files.
  • Git Hygiene: Setup concludes with a commit of all conductor/ files.

Assets

Templates used during setup are located in assets/templates/:

  • workflow.md: The base development workflow.
  • code_styleguides/: Language-specific style guides (Python, TypeScript, Go, etc.).