Initialize project with Conductor artifacts (product definition,
Add this skill
npx mdskills install sickn33/conductor-setupComprehensive interactive setup wizard with state management, brownfield detection, and resume capability
1---2name: conductor-setup3description: Initialize project with Conductor artifacts (product definition,4 tech stack, workflow, style guides)5metadata:6 argument-hint: "[--resume]"7---89# Conductor Setup1011Initialize or resume Conductor project setup. This command creates foundational project documentation through interactive Q&A.1213## Use this skill when1415- Working on conductor setup tasks or workflows16- Needing guidance, best practices, or checklists for conductor setup1718## Do not use this skill when1920- The task is unrelated to conductor setup21- You need a different domain or tool outside this scope2223## Instructions2425- Clarify goals, constraints, and required inputs.26- Apply relevant best practices and validate outcomes.27- Provide actionable steps and verification.28- If detailed examples are required, open `resources/implementation-playbook.md`.2930## Pre-flight Checks31321. Check if `conductor/` directory already exists in the project root:33 - If `conductor/product.md` exists: Ask user whether to resume setup or reinitialize34 - If `conductor/setup_state.json` exists with incomplete status: Offer to resume from last step35362. Detect project type by checking for existing indicators:37 - **Greenfield (new project)**: No .git, no package.json, no requirements.txt, no go.mod, no src/ directory38 - **Brownfield (existing project)**: Any of the above exist39403. Load or create `conductor/setup_state.json`:41 ```json42 {43 "status": "in_progress",44 "project_type": "greenfield|brownfield",45 "current_section": "product|guidelines|tech_stack|workflow|styleguides",46 "current_question": 1,47 "completed_sections": [],48 "answers": {},49 "files_created": [],50 "started_at": "ISO_TIMESTAMP",51 "last_updated": "ISO_TIMESTAMP"52 }53 ```5455## Interactive Q&A Protocol5657**CRITICAL RULES:**5859- Ask ONE question per turn60- Wait for user response before proceeding61- Offer 2-3 suggested answers plus "Type your own" option62- Maximum 5 questions per section63- Update `setup_state.json` after each successful step64- Validate file writes succeeded before continuing6566### Section 1: Product Definition (max 5 questions)6768**Q1: Project Name**6970```71What is your project name?7273Suggested:741. [Infer from directory name]752. [Infer from package.json/go.mod if brownfield]763. Type your own77```7879**Q2: Project Description**8081```82Describe your project in one sentence.8384Suggested:851. A web application that [does X]862. A CLI tool for [doing Y]873. Type your own88```8990**Q3: Problem Statement**9192```93What problem does this project solve?9495Suggested:961. Users struggle to [pain point]972. There's no good way to [need]983. Type your own99```100101**Q4: Target Users**102103```104Who are the primary users?105106Suggested:1071. Developers building [X]1082. End users who need [Y]1093. Internal teams managing [Z]1104. Type your own111```112113**Q5: Key Goals (optional)**114115```116What are 2-3 key goals for this project? (Press enter to skip)117```118119### Section 2: Product Guidelines (max 3 questions)120121**Q1: Voice and Tone**122123```124What voice/tone should documentation and UI text use?125126Suggested:1271. Professional and technical1282. Friendly and approachable1293. Concise and direct1304. Type your own131```132133**Q2: Design Principles**134135```136What design principles guide this project?137138Suggested:1391. Simplicity over features1402. Performance first1413. Developer experience focused1424. User safety and reliability1435. Type your own (comma-separated)144```145146### Section 3: Tech Stack (max 5 questions)147148For **brownfield projects**, first analyze existing code:149150- Run `Glob` to find package.json, requirements.txt, go.mod, Cargo.toml, etc.151- Parse detected files to pre-populate tech stack152- Present findings and ask for confirmation/additions153154**Q1: Primary Language(s)**155156```157What primary language(s) does this project use?158159[For brownfield: "I detected: Python 3.11, JavaScript. Is this correct?"]160161Suggested:1621. TypeScript1632. Python1643. Go1654. Rust1665. Type your own (comma-separated)167```168169**Q2: Frontend Framework (if applicable)**170171```172What frontend framework (if any)?173174Suggested:1751. React1762. Vue1773. Next.js1784. None / CLI only1795. Type your own180```181182**Q3: Backend Framework (if applicable)**183184```185What backend framework (if any)?186187Suggested:1881. Express / Fastify1892. Django / FastAPI1903. Go standard library1914. None / Frontend only1925. Type your own193```194195**Q4: Database (if applicable)**196197```198What database (if any)?199200Suggested:2011. PostgreSQL2022. MongoDB2033. SQLite2044. None / Stateless2055. Type your own206```207208**Q5: Infrastructure**209210```211Where will this be deployed?212213Suggested:2141. AWS (Lambda, ECS, etc.)2152. Vercel / Netlify2163. Self-hosted / Docker2174. Not decided yet2185. Type your own219```220221### Section 4: Workflow Preferences (max 4 questions)222223**Q1: TDD Strictness**224225```226How strictly should TDD be enforced?227228Suggested:2291. Strict - tests required before implementation2302. Moderate - tests encouraged, not blocked2313. Flexible - tests recommended for complex logic232```233234**Q2: Commit Strategy**235236```237What commit strategy should be followed?238239Suggested:2401. Conventional Commits (feat:, fix:, etc.)2412. Descriptive messages, no format required2423. Squash commits per task243```244245**Q3: Code Review Requirements**246247```248What code review policy?249250Suggested:2511. Required for all changes2522. Required for non-trivial changes2533. Optional / self-review OK254```255256**Q4: Verification Checkpoints**257258```259When should manual verification be required?260261Suggested:2621. After each phase completion2632. After each task completion2643. Only at track completion265```266267### Section 5: Code Style Guides (max 2 questions)268269**Q1: Languages to Include**270271```272Which language style guides should be generated?273274[Based on detected languages, pre-select]275276Options:2771. TypeScript/JavaScript2782. Python2793. Go2804. Rust2815. All detected languages2826. Skip style guides283```284285**Q2: Existing Conventions**286287```288Do you have existing linting/formatting configs to incorporate?289290[For brownfield: "I found .eslintrc, .prettierrc. Should I incorporate these?"]291292Suggested:2931. Yes, use existing configs2942. No, generate fresh guides2953. Skip this step296```297298## Artifact Generation299300After completing Q&A, generate the following files:301302### 1. conductor/index.md303304```markdown305# Conductor - [Project Name]306307Navigation hub for project context.308309## Quick Links310311- [Product Definition](./product.md)312- [Product Guidelines](./product-guidelines.md)313- [Tech Stack](./tech-stack.md)314- [Workflow](./workflow.md)315- [Tracks](./tracks.md)316317## Active Tracks318319<!-- Auto-populated by /conductor:new-track -->320321## Getting Started322323Run `/conductor:new-track` to create your first feature track.324```325326### 2. conductor/product.md327328Template populated with Q&A answers for:329330- Project name and description331- Problem statement332- Target users333- Key goals334335### 3. conductor/product-guidelines.md336337Template populated with:338339- Voice and tone340- Design principles341- Any additional standards342343### 4. conductor/tech-stack.md344345Template populated with:346347- Languages (with versions if detected)348- Frameworks (frontend, backend)349- Database350- Infrastructure351- Key dependencies (for brownfield, from package files)352353### 5. conductor/workflow.md354355Template populated with:356357- TDD policy and strictness level358- Commit strategy and conventions359- Code review requirements360- Verification checkpoint rules361- Task lifecycle definition362363### 6. conductor/tracks.md364365```markdown366# Tracks Registry367368| Status | Track ID | Title | Created | Updated |369| ------ | -------- | ----- | ------- | ------- |370371<!-- Tracks registered by /conductor:new-track -->372```373374### 7. conductor/code_styleguides/375376Generate selected style guides from `$CLAUDE_PLUGIN_ROOT/templates/code_styleguides/`377378## State Management379380After each successful file creation:3813821. Update `setup_state.json`:383 - Add filename to `files_created` array384 - Update `last_updated` timestamp385 - If section complete, add to `completed_sections`3862. Verify file exists with `Read` tool387388## Completion389390When all files are created:3913921. Set `setup_state.json` status to "complete"3932. Display summary:394395 ```396 Conductor setup complete!397398 Created artifacts:399 - conductor/index.md400 - conductor/product.md401 - conductor/product-guidelines.md402 - conductor/tech-stack.md403 - conductor/workflow.md404 - conductor/tracks.md405 - conductor/code_styleguides/[languages]406407 Next steps:408 1. Review generated files and customize as needed409 2. Run /conductor:new-track to create your first track410 ```411412## Resume Handling413414If `--resume` argument or resuming from state:4154161. Load `setup_state.json`4172. Skip completed sections4183. Resume from `current_section` and `current_question`4194. Verify previously created files still exist4205. If files missing, offer to regenerate421422## Error Handling423424- If file write fails: Halt and report error, do not update state425- If user cancels: Save current state for future resume426- If state file corrupted: Offer to start fresh or attempt recovery427
Full transparency — inspect the skill content before installing.