setup-projectlisted
Install: claude install-skill ImTaegan/claude-saas-flow
# Setup Project Skill
This skill initializes a new project for the SaaS workflow skills by creating the necessary configuration file.
## Instructions for Claude
### Step 1: Verify We're in a Git Repository
```bash
git rev-parse --show-toplevel
```
**If not in a git repo:**
```
❌ Not in a git repository
This skill must be run from within a git repository.
Please:
1. cd into your project directory
2. Initialize git if needed: git init
3. Run /setup-project again
```
### Step 2: Check if Config Already Exists
```bash
PROJECT_ROOT=$(git rev-parse --show-toplevel)
if [ -f "$PROJECT_ROOT/.claude/project.json" ]; then
echo "Config already exists"
fi
```
**If config exists:**
```
⚠️ Project configuration already exists
Found existing .claude/project.json
Options:
1. View current config
2. Overwrite with new config
3. Cancel
Which would you like to do?
```
### Step 3: Detect Git Repository Info
```bash
git remote get-url origin
```
Parse the URL to extract:
- Owner: e.g., "your-org"
- Repo: e.g., "your-repo"
**If no remote:** ask the user for the GitHub repository details.
### Step 4: Gather Project Information
Ask the user for the following information:
1. **Project Name** — display name used in messages and PR descriptions. Default to repo name.
2. **Linear Team** — use `mcp__linear__list_teams` to fetch teams, ask user to pick.
3. **Linear Project** — use `mcp__linear__list_projects` for the chosen team, ask user to pick.
4. **GitHub Repository** — owner, rep