# x-setup > Project documentation setup with intelligent stack detection and structure creation. - Author: Corentin Lumineau - Repository: CorentinLumineau/x-workflows - Version: 20260206095644 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/CorentinLumineau/x-workflows - Web: https://mule.run/skillshub/@@CorentinLumineau/x-workflows~x-setup:20260206095644 --- --- name: x-setup description: Project documentation setup with intelligent stack detection and structure creation. license: Apache-2.0 compatibility: Works with Claude Code, Cursor, Cline, and any skills.sh agent. allowed-tools: Read Write Edit Grep Glob Bash metadata: author: ccsetup contributors version: "1.0.0" category: workflow --- # x-setup Project documentation setup with intelligent stack detection and complete documentation structure creation. ## Modes | Mode | Description | |------|-------------| | setup (default) | Project documentation setup | ## Execution - **Default mode**: setup (single-mode skill) - **No-args behavior**: Detect project stack automatically ## Behavioral Skills This workflow activates these behavioral skills: - `interview` - Zero-doubt confidence gate (Phase 0) ## Documentation Structure Creates complete structure: ``` documentation/ ├── CLAUDE.md # Hub navigation ├── config.yaml # Stack configuration ├── domain/ # Business logic │ ├── CLAUDE.md │ └── README.md ├── development/ # Setup, workflows │ ├── CLAUDE.md │ └── README.md ├── implementation/ # Technical docs │ ├── CLAUDE.md │ └── README.md ├── milestones/ # Initiative tracking │ ├── CLAUDE.md │ ├── README.md │ ├── MASTER-PLAN.md │ └── _active/ ├── reference/ # Stack docs │ ├── CLAUDE.md │ └── README.md └── troubleshooting/ # Issue resolution ├── CLAUDE.md └── README.md ``` ## Stack Detection Auto-detects project stack from files: | Stack | Detection | |-------|-----------| | Frontend | package.json with react/vue/angular | | Backend | package.json, requirements.txt, go.mod | | Database | docker-compose.yml, database configs | | Build | Makefile, package.json scripts | ## Templates Standard templates for each section: | Section | Template Content | |---------|------------------| | domain | Business rules, domain models | | development | Setup guide, workflows | | implementation | Technical architecture | | milestones | Initiative tracking | | reference | API specs, stack docs | | troubleshooting | Common issues, solutions | ## Config.yaml Format ```yaml project: name: "project-name" description: "Project description" stack: frontend: - React - TypeScript backend: - Node.js database: - PostgreSQL build: - npm ``` ## Checklist - [ ] Stack detected - [ ] Directory structure created - [ ] CLAUDE.md files created - [ ] README.md files created - [ ] config.yaml populated ## When to Load References - **For setup mode**: See `references/mode-setup.md`