home / skills / abdullahbeam / nexus-design-abdullah / create-project
This skill creates project structure and guides collaborative planning, offering automated setup, Socratic questioning, dependency research, and structured
npx playbooks add skill abdullahbeam/nexus-design-abdullah --skill create-projectReview the files below or copy the command above to add this skill to your agents.
---
name: create-project
description: "Create new projects. Load when user wants to START something new with a deliverable endpoint. Keywords: create project, new project, start project, plan project."
---
## π― Onboarding Awareness (CHECK BEFORE STARTING)
**Before creating a project, AI MUST check user-config.yaml for incomplete onboarding:**
### Pre-Flight Check (MANDATORY)
```yaml
# Check learning_tracker.completed in user-config.yaml
learn_projects: false β SUGGEST 'learn projects' skill FIRST
```
**If `learn_projects: false` AND this is user's FIRST project:**
```
π‘ Before creating your first project, would you like a quick 8-minute tutorial
on how Nexus projects work? It covers:
- When to use projects vs skills (avoid common mistakes)
- Project structure and lifecycle
- How to track progress effectively
Say 'learn projects' to start the tutorial, or 'skip' to create directly.
```
**If user says 'skip':** Proceed with project creation but add this note at the end:
```
π‘ Tip: Run 'learn projects' later if you want to understand the project system deeply.
```
**If `learn_projects: true`:** Proceed normally without suggestion.
### Recommended Onboarding Sequence
When checking `learning_tracker.completed`, if user hasn't done core onboarding:
1. `setup_goals: false` β Consider suggesting (but don't block project creation)
2. `learn_projects: false` β Suggest before FIRST project (high priority)
---
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β οΈ CRITICAL EXECUTION REQUIREMENTS β οΈ
WORKFLOW: Structure FIRST, Collaborative Planning SECOND
MANDATORY STEPS (DO NOT SKIP):
1. β
Create TodoWrite with ALL steps
2. β
Offer project type selection (Build, Research, Strategy, Content, Process, Generic)
3. β
Ask project name
4. β
RUN init_project.py IMMEDIATELY (creates 4 directories + 3 planning files)
5. β
Display created structure
6. β
Load overview.md β Fill collaboratively β PAUSE β User confirms
7. β
Load plan.md β Apply mental models β Research dependencies β PAUSE β User confirms
8. β
Load steps.md β Break down execution β PAUSE β User confirms
9. β
Close session
ANTI-PATTERN (DO NOT DO THIS):
β Skip project type selection
β Skip running init_project.py
β Try to create files manually
β Generate content before structure exists
β Skip mental model questions (Socratic, devil's advocate)
β Skip dependency research
β Skip pauses between documents
β Complete skill in single response
CORRECT PATTERN (DO THIS):
β
TodoWrite β Offer types β Ask name β RUN SCRIPT β Files created
β
Then: Load overview.md β Fill collaboratively β PAUSE β Confirm
β
Then: Load plan.md β Ask Socratic questions β Research dependencies β Add adaptive sections β PAUSE β Confirm
β
Then: Load steps.md β Break down phases β PAUSE β Confirm
β
Then: Close session
MENTAL MODELS (MANDATORY):
β
Socratic Questioning during Approach section
β
Devil's Advocate during risk assessment
β
Dependency Research before completing plan.md
SCRIPT RUNS FIRST - ALWAYS!
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Create Project
Collaborative project design with intelligent, adaptive planning and deep thinking frameworks.
## Purpose
The `create-project` skill creates project structure and guides you through collaborative planning. The workflow: **Create structure FIRST** (via script), **THEN** fill in the templates with AI-guided depth.
**Key Features:**
- **Script-Generated Structure**: 4 directories (01-planning/, 02-resources/, 03-working/, 04-outputs/) + 3 planning files (overview, plan, steps) created immediately
- **Adaptive Planning**: Templates expand based on project type (Build, Research, Strategy, etc.)
- **Deep Thinking**: AI applies Socratic questioning and Devil's Advocate models
- **Dependency Research**: AI proactively finds and links related files/systems
- **Mandatory Pauses**: Review each document before proceeding
- **Separate Session Principle**: Project created now, executed later
---
## Two Modes
This skill operates in two modes based on system state:
### 1. Workspace Setup Mode
**When**: `02-projects/` directory doesn't exist
**Purpose**: Create initial workspace folder structure (10-15 min)
**Workflow**: See [workflows.md#workspace-setup](references/workflows.md#workspace-setup-workflow)
### 2. Project Creation Mode
**When**: `02-projects/` exists
**Purpose**: Full collaborative project planning (20-30 min)
**Workflow**: See [workflows.md#project-creation](references/workflows.md#project-creation-workflow)
---
## Mode Detection Logic
**CRITICAL**: Before starting any workflow, detect which mode to use.
1. **Check for 02-projects/**:
```bash
ls -d 02-projects/ 2>/dev/null
```
- IF exists β **PROJECT_CREATION mode**
- IF not exists β **WORKSPACE_SETUP mode** (System not initialized)
**Decision Tree**:
```
02-projects/ exists?
βββ YES β PROJECT_CREATION mode
βββ NO β WORKSPACE_SETUP mode
```
---
## Quick Start
### The One True Workflow: Intelligent Planning
**There is only ONE way to create projects** - always run the script first, then collaboratively plan with depth:
**Step 1: Initiation (< 1 minute)** β‘
- Offer project types (Build, Research, Strategy, etc.)
- Run `scripts/init_project.py "Project Name" --path 02-projects`
- Auto-generates 4 directories: `01-planning/`, `02-resources/`, `03-working/`, `04-outputs/`
- Auto-generates 3 planning files in 01-planning/: `overview.md`, `plan.md`, `steps.md`
**Step 2: Collaborative Planning (15-30 minutes)** π€
- **overview.md**: Define purpose and success criteria
- **plan.md**:
- AI suggests adaptive sections based on type
- AI asks Socratic questions to test assumptions
- AI researches dependencies and populates links
- AI plays Devil's Advocate to identify risks
- **steps.md**: Break down execution into phases
**Step 3: Save & Execute Later** πΎ
- Close session to save progress
- Execute project in a separate session with clean context
### Workflow Steps
1. **Detect mode** using logic above
2. **Offer project types** from [project-types.md](references/project-types.md)
3. **Run init_project.py** to create structure immediately
4. **Display** created structure
5. **Load workflow** from [workflows.md](references/workflows.md)
6. **Follow workflow step-by-step** with mandatory pauses
7. **Close session** to save state
---
## β οΈ MANDATORY: Mental Models Selection
**CRITICAL**: Do NOT skip this step, even if you know which models to use from memory!
During the **plan.md** phase, AI **MUST run** select_mental_models.py script FIRST, then offer 2-3 relevant options to user.
**Required Workflow** (DO NOT SKIP):
1. **Run script FIRST** (before applying ANY models):
```bash
python 00-system/mental-models/scripts/select_mental_models.py --format brief
```
2. **Review script output**: JSON array with all available mental models (59 models across 12 categories)
3. **Offer 2-3 relevant models** to user based on project type/context with brief (3-7 words) descriptions
4. **Wait for user selection**: User chooses which models to apply (or none)
5. **Load the specific model file** only after user selects:
```bash
# Individual model files are in: 00-system/mental-models/models/{category}/{model-slug}.md
# Example: 00-system/mental-models/models/cognitive/first-principles.md
```
6. **Apply questions** from selected models to fill plan.md collaboratively
**DO NOT**:
- β Skip running select_mental_models.py script
- β Apply models from memory without offering choice
- β Auto-select models without user confirmation
- β Skip user selection step
**Example Offer**:
```markdown
Now let's dive into planning. I've reviewed the mental models catalog and recommend for your Build/Create project:
1. **First Principles** β Strip assumptions, find fundamental truths
Best for: Novel projects, challenging assumptions
2. **Pre-Mortem** β Imagine failure modes before implementation
Best for: High-stakes projects, risk mitigation
3. **Stakeholder Mapping** β Identify all affected parties and interests
Best for: Multi-party projects, organizational work
Which approach(es) sound most useful? Or we can combine them!
```
**Loading Pattern**:
```markdown
User picks: "First Principles + Pre-Mortem"
AI loads individual model files:
β Read: 00-system/mental-models/models/cognitive/first-principles.md
β Read: 00-system/mental-models/models/diagnostic/pre-mortem.md
β Apply questions from both models to fill plan.md
```
**Benefits**:
- β
**Proactive** - AI always loads mental-models, shows what's available
- β
**User choice** - User picks which models (or none) to apply
- β
**Efficient metadata** - Brief (3-7 words) but descriptive
- β
**Individual files** - Each model has its own file with full details
- β
**Script-parseable** - YAML frontmatter for programmatic access
- β
**Maintainable** - Update one model file, all skills benefit
**See**: [`mental-models framework`](../../mental-models/mental-models.md) for full catalog and offering guidance
---
## Dependency Research
Before finalising **plan.md**, the AI will automatically:
- Scan the codebase for files that reference the same domain (using `codebase_search`).
- Look for existing **skills** that could be reused (e.g. `lead-qualification`).
- Identify external system configurations (MCP servers, Airtable schemas, Slack channels).
- Populate the **Dependencies & Links** section with concrete file paths and system names.
**Example autoβgenerated section**:
```markdown
## Dependencies & Links
**Files Impacted**:
- `03-skills/lead-qualification/SKILL.md` β main workflow definition
- `04-workspace/airtable-schemas/leads.json` β lead data schema
**External Systems**:
- Airtable Base: "Leads" β source of lead data
- Slack Workspace: #sales β notification destination
**Related Projects**:
- Project 03: CRM Integration β shares Airtable connection
```
---
## Example Interaction Flow
```
AI: "What would you like to name your project?"
User: "Lead qualification workflow"
AI: "Great. This looks like a **Build/Create** project. Iβll add sections for Technical Architecture, Implementation Strategy, and Integration Points. Does that sound good?"
User: "Yes, go ahead."
AI: (runs init_project.py) β creates files.
AI: "Your project structure is ready. Letβs start with **overview.md**. What problem are you solving?"
User: "We lose leads because manual qualification takes too long."
AI: (fills purpose) β asks Socratic questions:
"What assumptions are you making about the current qualification time?"
User: "We estimate 30 minutes per lead based on recent logs."
AI: (adds to success criteria) β moves to **plan.md**.
AI: "Iβll now ask a few Socratic questions about your approach and then run a quick dependency scan."
... (continues) ...
```
---
## Resources
### scripts/
- **init_project.py**: β‘ Quick project template generator
- Auto-generates project structure with 4 directories (01-planning/, 02-resources/, 03-working/, 04-outputs/)
- Auto-assigns next available project ID
- Creates 3 planning files in 01-planning/: overview.md, plan.md, steps.md from templates
- Usage: `python scripts/init_project.py "Project Name" --path 02-projects`
### references/
- **project-types.md**: Guide for offering project types and adaptive planning
- **workflows.md**: Complete interactive planning workflows for both modes
- **mental-models.md**: Full mental models catalog
- **project-schema.yaml**: YAML frontmatter schema documentation
---
## Error Handling
### Invalid Project ID/Name
- Explain validation rule clearly
- Show example of correct format
- Suggest correction
### Project Already Exists
- Inform user project exists
- Offer options: different name, different ID, or load existing
### Memory Files Missing
- Warn user: "Memory files not initialized"
- Suggest: "Please run 00-setup-memory project first"
- DO NOT create project
### User Abandons Mid-Creation
- Save partial work to temp file
- Inform: "Progress saved. Say 'continue project creation' to resume."
### User Skips Review
- Remind: "It's important we get this right!"
- Gently insist on review before proceeding
---
## Why This Design?
**Why Interactive?**
- Quality over speed: Thoughtful planning prevents rework
- User ownership: Collaborative design ensures buy-in
- Learning: Mental models teach strategic thinking
- Accuracy: Pauses catch issues early
**Why Mandatory Pauses?**
- Validation: User confirms understanding before proceeding
- Iteration: Catch issues before they cascade
- Ownership: User feels involved, not just spectator
- Quality: Better planning = smoother execution
**Why Separate Session?**
- Context management: Clean boundaries between planning and execution
- Focus: Execution session loads only execution context
- Memory: close-session properly saves state between phases
- UX: Matches natural work rhythm (plan now, execute later)
---
**Integration**:
- close-session automatically updates project-map.md every session
- validate-system checks project structure integrity
- Skills can reference project outputs in their workflows
---
**Remember**: This is a COLLABORATIVE DESIGN SESSION, not a quick generation tool. The time invested in thorough planning pays dividends during execution!
This skill creates a new project structure and guides a collaborative, stepwise planning session until the project is ready for execution later. It enforces a strict workflow: run the generator script first, then fill three planning documents (overview.md, plan.md, steps.md) with Socratic and Devil's Advocate thinking and dependency research. Mandatory pauses require your confirmation after each document so decisions are deliberate.
Before starting, the skill checks user-config.yaml for onboarding flags and suggests a short tutorial if this is your first project and learn_projects is false. It detects workspace state (workspace setup vs project creation), offers project types, asks the project name, then runs scripts/init_project.py to create four directories and three planning files. After creation it loads each planning file in order, applies selected mental models (via the select_mental_models.py script), runs dependency research, prompts Socratic and risk-challenging questions, and pauses for your confirmation between steps.
What if learn_projects is false and I want to skip the tutorial?
You can say 'skip' and the skill will proceed, but it will append a tip recommending you run 'learn projects' later.
Do I have to pick mental models?
You must run the selection script and you will be offered 2β3 relevant models; choosing none is allowed but running the script is mandatory.
What happens if init_project.py fails or project name is invalid?
The skill will show a clear validation error, offer a corrected example, and ask for a new name or alternative action.