Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

skill/project-workflow: Phase 2 knowledge-gap audit (70.5% reduction)

Jezb6ee6a04f2e5
diff --git a/skills/project-workflow/SKILL.md b/skills/project-workflow/SKILL.md
index 3bbbd0de..1ed7d98b 100644
--- a/skills/project-workflow/SKILL.md
+++ b/skills/project-workflow/SKILL.md
@@ -1,424 +1,110 @@
# Project Workflow Skill
-**Complete project lifecycle automation for Claude Code**
+7 integrated slash commands for complete project lifecycle automation: idea validation → planning → execution → session management → release.
-This skill provides 7 integrated slash commands that automate the entire project lifecycle from initial idea exploration through planning, execution, session management, and release safety checks.
-
-## Overview
-
-The project-workflow skill saves **35-55 minutes per project lifecycle** by automating repetitive tasks and enforcing best practices for context management, planning documentation, and safe releases.
-
-### What This Skill Does
-
-- **Pre-Planning Research** - Validate ideas, research tech stacks, manage scope
-- **Automated Planning** - Generate comprehensive IMPLEMENTATION_PHASES.md with verification criteria
-- **Feature Addition** - Integrate new features into existing project plans
-- **Session Management** - Handle context across multiple Claude Code sessions
-- **Release Safety** - Comprehensive checks before publishing to GitHub
-- **Interactive Guidance** - Navigate the workflow system with contextual help
+**Time savings**: 35-55 minutes per project lifecycle
## Installation
-### Via Marketplace (Recommended)
-
-```bash
-# Add the marketplace
-/plugin marketplace add https://github.com/jezweb/claude-skills
-
-# Install project-workflow skill
-/plugin install project-workflow@claude-skills
-```
-
-All 7 slash commands will be automatically available in Claude Code.
+**Marketplace**: `/plugin install project-workflow@claude-skills`
-### Manual Installation
-
-```bash
-# Clone the repository
-git clone https://github.com/jezweb/claude-skills ~/claude-skills
-
-# Copy commands to your Claude config
-cp ~/claude-skills/skills/project-workflow/commands/*.md ~/.claude/commands/
-```
+**Manual**: Copy `commands/*.md` to `~/.claude/commands/`
## The 7 Commands
### 1. `/explore-idea` - Pre-Planning Exploration
-**Purpose:** Collaborative exploration and validation BEFORE committing to implementation
-
-**When to use:**
-- You have a rough idea but haven't validated the approach
-- Multiple tech options and unsure which fits best
-- Want research/validation before detailed planning
-- Need scope management to prevent feature creep
+**Use when**: Rough idea that needs tech stack validation, scope management, or research before planning.
-**What it does:**
-1. Engages in free-flowing conversation to understand your vision
-2. Conducts heavy research (Explore agents, WebSearch, MCP tools)
-3. Validates tech stack and architectural decisions
-4. Challenges assumptions and prevents scope creep
-5. Creates PROJECT_BRIEF.md with validated decisions
-6. Recommends: Proceed/Pause/Pivot
-7. Seamlessly hands off to /plan-project if proceeding
+**Creates**: PROJECT_BRIEF.md with validated decisions → hands off to /plan-project
-**Time savings:** 10-15 minutes per project idea
-
-**Example usage:**
-```
-User: /explore-idea
-Claude: Let's explore your project idea! What are you thinking about building?
-User: I want to build a chatbot with memory that runs on Cloudflare
-Claude: [Conducts research on Cloudflare Durable Objects vs D1 for memory...]
-Claude: [Validates approach, creates PROJECT_BRIEF.md]
-Claude: Based on research, I recommend proceeding with Durable Objects for memory...
-```
+**Time savings**: 10-15 min
---
### 2. `/plan-project` - Generate Project Planning Docs
-**Purpose:** Automate initial project planning for NEW projects
+**Use when**: Starting new project with clear requirements, or after /explore-idea.
-**When to use:**
-- Starting a new project with clear requirements
-- After /explore-idea when you've decided to proceed
-- Need structured IMPLEMENTATION_PHASES.md for context-safe execution
+**Creates**: IMPLEMENTATION_PHASES.md, SESSION.md, DATABASE_SCHEMA.md (if needed), API_ENDPOINTS.md (if needed), ARCHITECTURE.md
-**What it does:**
-1. Checks for PROJECT_BRIEF.md (from /explore-idea) and uses it as context
-2. Invokes project-planning skill to generate IMPLEMENTATION_PHASES.md
-3. Creates SESSION.md for tracking progress
-4. Creates initial git commit with planning docs
-5. Shows formatted planning summary
-6. Asks permission to start Phase 1
-7. Optionally pushes to remote
+**Invokes**: project-planning skill
-**Time savings:** 5-7 minutes per new project
-
-**Example usage:**
-```
-User: /plan-project
-Claude: I found PROJECT_BRIEF.md from /explore-idea. Using it for context...
-Claude: [Generates IMPLEMENTATION_PHASES.md with 8 phases]
-Claude: [Creates SESSION.md]
-Claude: [Git commit: "docs: Add project planning documentation"]
-Claude: Ready to start Phase 1: Project Setup?
-```
-
-**Generated files:**
-- `IMPLEMENTATION_PHASES.md` - Phased development plan with verification criteria
-- `SESSION.md` - Session tracking and handoff protocol
-- `DATABASE_SCHEMA.md` - If project uses a database
-- `API_ENDPOINTS.md` - If project has an API
-- `ARCHITECTURE.md` - System architecture overview
+**Time savings**: 5-7 min
---
### 3. `/plan-feature` - Add Features to Existing Projects
-**Purpose:** Add new features to existing projects by generating and integrating phases
-
-**When to use:**
-- Want to add a feature to an existing project
-- Need to integrate new functionality into current plan
-- Existing SESSION.md and IMPLEMENTATION_PHASES.md already exist
+**Use when**: Adding feature to existing project with SESSION.md + IMPLEMENTATION_PHASES.md.
-**What it does:**
-1. Verifies prerequisites (SESSION.md + IMPLEMENTATION_PHASES.md exist)
-2. Checks current phase status (warns if work in progress)
-3. Gathers feature requirements (5 questions)
-4. Generates new phases via project-planning skill
-5. Integrates into IMPLEMENTATION_PHASES.md (handles phase renumbering)
-6. Updates SESSION.md with new pending phases
-7. Updates related docs (DATABASE_SCHEMA.md, API_ENDPOINTS.md if needed)
-8. Creates git commit for feature planning
-9. Shows formatted summary
+**Does**: Generates new phases via project-planning skill, integrates into IMPLEMENTATION_PHASES.md with renumbering, updates SESSION.md.
-**Time savings:** 7-10 minutes per feature addition
-
-**Example usage:**
-```
-User: /plan-feature
-Claude: Found existing planning docs. What feature do you want to add?
-User: Add user authentication with Clerk
-Claude: [Asks 5 clarifying questions about the feature]
-Claude: [Generates 3 new phases for authentication]
-Claude: [Integrates into existing IMPLEMENTATION_PHASES.md as Phases 9-11]
-Claude: [Updates SESSION.md with new phases]
-Claude: [Git commit: "docs: Add authentication feature phases"]
-```
+**Time savings**: 7-10 min
---
### 4. `/wrap-session` - End-of-Session Checkpoint
-**Purpose:** Automate end-of-session workflow for safe handoffs
-
-**When to use:**
-- Context window getting full (>150k tokens)
-- End of work session
-- Before switching to different task
-- Need to checkpoint progress
-
-**What it does:**
-1. Uses Task agent to analyze current session state
-2. Updates SESSION.md with:
- - Completed tasks
- - Current phase progress
- - Next Action (what to do when resuming)
- - Blockers/issues encountered
-3. Detects and updates relevant docs (CHANGELOG.md, ARCHITECTURE.md, etc.)
-4. Creates structured git checkpoint commit
-5. Outputs formatted handoff summary
-6. Optionally pushes to remote
-
-**Time savings:** 2-3 minutes per wrap-up
-
-**Example usage:**
-```
-User: /wrap-session
-Claude: [Analyzes session work via Task agent]
-Claude: [Updates SESSION.md with progress]
-Claude: [Git commit: "checkpoint: Complete Phase 3 - Database setup"]
-Claude:
-SESSION HANDOFF SUMMARY
-=======================
-Phase: 3/8 - Database Integration (100% complete)
-Completed: D1 database setup, migrations, schema
-Next Action: Start Phase 4 - API Endpoints (src/routes/api.ts)
-Blockers: None
-```
+**Use when**: Context full (>150k tokens), end of work session, or before task switch.
----
+**Does**: Task agent analyzes session → updates SESSION.md (progress, Next Action, blockers) → git checkpoint commit → formatted handoff summary.
-### 5. `/continue-session` - Start-of-Session Context Loading
+**Time savings**: 2-3 min
-**Purpose:** Automate start-of-session context loading for seamless resumption
+---
-**When to use:**
-- Starting a new Claude Code session
-- Continuing work from previous session
-- After /wrap-session checkpoint
+### 5. `/continue-session` - Start-of-Session Context Loading
-**What it does:**
-1. Uses Explore agent to load session context (SESSION.md + planning docs)
-2. Shows recent git history (last 5 commits)
-3. Displays formatted session summary:
- - Current phase and progress
- - Last completed tasks
- - Next Action
- - Any blockers
-4. Shows verification criteria if in "Verification" stage
-5. Optionally opens "Next Action" file
-6. Asks permission to continue or adjust direction
+**Use when**: Starting new session or after /wrap-session checkpoint.
-**Time savings:** 1-2 minutes per resume
+**Does**: Explore agent loads SESSION.md + planning docs → shows git history + session summary (phase, progress, Next Action, blockers) → optionally opens file → asks permission to continue.
-**Example usage:**
-```
-User: /continue-session
-Claude: [Loads SESSION.md via Explore agent]
-Claude:
-SESSION CONTEXT
-===============
-Phase: 4/8 - API Endpoints (20% complete)
-Last Session: Completed /api/users GET endpoint
-Next Action: Implement POST /api/users (src/routes/api.ts:45)
-Blockers: None
-
-Recent commits:
-- checkpoint: Complete Phase 3 - Database setup
-- feat: Add D1 migrations
-
-Ready to implement POST /api/users?
-```
+**Time savings**: 1-2 min
---
### 6. `/workflow` - Interactive Workflow Guide
-**Purpose:** Navigate the workflow system with contextual guidance
+**Use when**: First time user, unsure which command to use, or need quick reference.
-**When to use:**
-- First time using project-workflow commands
-- Unsure which command to use next
-- Want to see workflow examples
-- Need quick reference
-
-**What it does:**
-1. Shows overview of all 7 commands
-2. Asks what you're trying to do
-3. Provides context-aware guidance
-4. Shows decision trees (when to use which command)
-5. Offers to execute the appropriate command
-6. Points to comprehensive documentation
-
-**Example usage:**
-```
-User: /workflow
-Claude:
-PROJECT WORKFLOW GUIDE
-======================
-What would you like to do?
-
-1. Start a new project
-2. Add feature to existing project
-3. End work session
-4. Resume work session
-5. Prepare for release
-6. Just exploring
-
-User: 1
-Claude: For new projects, I recommend:
-- Have clear requirements? → /plan-project
-- Still validating idea? → /explore-idea
-
-Which applies to you?
-```
+**Does**: Shows all 7 commands → context-aware guidance with decision trees → offers to execute appropriate command.
---
### 7. `/release` - Pre-Release Safety Checks
-**Purpose:** Comprehensive safety checks before publishing to GitHub
-
-**When to use:**
-- Ready to push project to public GitHub
-- Before creating GitHub release
-- Want to ensure no secrets leaked
-- Need to validate documentation completeness
-
-**What it does:**
-
-**Phase 1: Critical Safety (BLOCKERS)**
-- Scans for secrets (API keys, tokens, passwords via gitleaks)
-- Checks for personal artifacts (SESSION.md, planning/, screenshots/)
-- Verifies git remote URL (pushing to correct repo)
-
-**Phase 2: Documentation Validation (REQUIRED)**
-- Checks LICENSE file exists (creates if missing)
-- Validates README completeness (>100 words, key sections)
-- Checks CONTRIBUTING.md (recommended for >500 LOC)
-- Checks CODE_OF_CONDUCT (recommended for >1000 LOC)
+**Use when**: Ready to push to public GitHub or create release.
-**Phase 3: Configuration Validation**
-- Validates .gitignore (essential patterns present)
-- Checks package.json completeness (name, version, license, etc.)
-- Verifies git branch (warns if on main/master)
+**8 Phases**:
+1. **Critical Safety** (BLOCKERS): Secrets scan (gitleaks), personal artifacts check, git remote verification
+2. **Documentation** (REQUIRED): LICENSE, README (>100 words), CONTRIBUTING.md (>500 LOC), CODE_OF_CONDUCT (>1000 LOC)
+3. **Configuration**: .gitignore, package.json, git branch warning
+4. **Quality** (NON-BLOCKING): Build test, npm audit, large files (>1MB)
+5. **Report**: Blockers/warnings/recommendations + safe to release verdict
+6-8. **Auto-Fix & Publish**: Fix issues, release prep commit, optional git tag + GitHub release
-**Phase 4: Quality Checks (NON-BLOCKING)**
-- Tests build (if build script exists)
-- Checks dependency vulnerabilities (npm audit)
-- Warns about large files (>1MB)
-
-**Phase 5: Release Readiness Report**
-- Comprehensive report with blockers/warnings/recommendations
-- Safe to release verdict
-
-**Phase 6-8: Auto-Fix & Publish**
-- Offers to fix issues (create LICENSE, update README, etc.)
-- Creates release preparation commit
-- Optional: Creates git tag and GitHub release
-
-**Time savings:** 10-15 minutes per release
-
-**Example usage:**
-```
-User: /release
-Claude:
-RELEASE SAFETY CHECK
-====================
-✓ No secrets detected
-✓ No personal artifacts found
-✓ Remote URL correct (github.com/user/repo)
-✗ LICENSE file missing
-✓ README.md complete
-⚠ No CONTRIBUTING.md (recommended for 2000+ LOC)
-✓ .gitignore valid
-✓ package.json complete
-
-VERDICT: BLOCKED - Create LICENSE file
-Would you like me to create MIT LICENSE?
-```
+**Time savings**: 10-15 min
---
-## Complete Workflow Examples
-
-### Full Workflow (with Exploration)
+## Workflow Examples
-```
-1. Rough idea → /explore-idea
- → [Creates PROJECT_BRIEF.md with validated tech stack]
-
-2. Decision to proceed → /plan-project
- → [Reads PROJECT_BRIEF.md, creates IMPLEMENTATION_PHASES.md + SESSION.md]
-
-3. Start Phase 1 → Work on implementation
-
-4. Context getting full → /wrap-session
- → [Updates SESSION.md, git checkpoint]
+**Full**: /explore-idea → /plan-project → work → /wrap-session → /continue-session → /plan-feature (if needed) → repeat → /release
-5. New session → /continue-session
- → [Loads context, shows Next Action]
-
-6. Need new feature → /plan-feature
- → [Adds phases to existing plan]
-
-7. Continue wrap → resume cycle until done
-
-8. Ready to publish → /release
- → [Safety checks, docs validation, GitHub release]
-```
+**Quick** (clear requirements): /plan-project → work → /wrap-session → /continue-session → /release
-### Quick Workflow (Clear Requirements)
-
-```
-1. Clear requirements → /plan-project
- → [Creates planning docs]
-
-2. Work on implementation
-
-3. /wrap-session when context full
-
-4. /continue-session to resume
-
-5. /release when ready to publish
-```
-
-### Helper Workflows
-
-```
-Need guidance? → /workflow
- → [Interactive guide to commands]
-
-Adding feature? → /plan-feature
- → [Generates and integrates new phases]
-
-Ready to publish? → /release
- → [Safety checks + GitHub release]
-```
+**Helpers**: /workflow (guidance), /plan-feature (add feature), /release (publish)
---
-## Integration with Other Skills
+## Integration
-The project-workflow skill works seamlessly with:
+**project-planning**: Invoked by /plan-project and /plan-feature (generates IMPLEMENTATION_PHASES.md, DATABASE_SCHEMA.md, API_ENDPOINTS.md)
-### project-planning Skill
-- `/plan-project` and `/plan-feature` invoke this skill automatically
-- Generates IMPLEMENTATION_PHASES.md with proper structure
-- Creates DATABASE_SCHEMA.md, API_ENDPOINTS.md, etc.
+**project-session-management**: SESSION.md protocol for /wrap-session and /continue-session
-### project-session-management Skill
-- Provides the SESSION.md protocol used by `/wrap-session` and `/continue-session`
-- Defines handoff format and context tracking
-
-### Built-in Claude Code Agents
-- `/wrap-session` uses **Task agent** to analyze session state
-- `/continue-session` uses **Explore agent** to load context
-- `/explore-idea` uses **Explore agent** for research
+**Claude Code agents**: /wrap-session (Task agent), /continue-session + /explore-idea (Explore agent)
---
@@ -483,193 +169,27 @@ HELPER
## Prerequisites
-### For All Commands
-- Claude Code CLI installed
-- Git repository initialized (recommended)
-
-### For Planning Commands (/plan-project, /plan-feature)
-- Project description or requirements
-- For `/plan-feature`: Existing SESSION.md and IMPLEMENTATION_PHASES.md
-
-### For Session Commands (/wrap-session, /continue-session)
-- SESSION.md file in project root (created by /plan-project)
-- IMPLEMENTATION_PHASES.md (optional but recommended)
-
-### For Release Command (/release)
-- Git repository with commits
-- package.json (for Node.js projects)
-- Remote repository URL configured (for publishing)
-
----
-
-## Configuration
-
-### Customizing Planning Templates
-
-The planning commands invoke the `project-planning` skill, which can be customized by:
+**All**: Claude Code CLI, git repo (recommended)
-1. Installing the project-planning skill separately:
- ```bash
- /plugin install project-planning@claude-skills
- ```
+**/plan-feature**: Existing SESSION.md + IMPLEMENTATION_PHASES.md
-2. Modifying templates in `~/.claude/skills/project-planning/templates/`
+**/wrap-session, /continue-session**: SESSION.md (created by /plan-project)
-### Customizing Session Protocol
-
-The session management format can be customized by:
-
-1. Installing the project-session-management skill:
- ```bash
- /plugin install project-session-management@claude-skills
- ```
-
-2. Modifying templates in `~/.claude/skills/project-session-management/templates/`
+**/release**: Git repo with commits, package.json (Node.js), remote URL (for publishing)
---
## Troubleshooting
-### /plan-project: "No project description provided"
-**Solution:** Discuss your project with Claude first, or use `/explore-idea` to create PROJECT_BRIEF.md
-
-### /plan-feature: "Prerequisites not met"
-**Solution:** Ensure SESSION.md and IMPLEMENTATION_PHASES.md exist (run `/plan-project` first)
-
-### /wrap-session: "No git repository found"
-**Solution:** Initialize git: `git init`
-
-### /continue-session: "SESSION.md not found"
-**Solution:** Run `/plan-project` to create SESSION.md
-
-### /release: "Secrets detected"
-**Solution:** Review the flagged files, add sensitive files to .gitignore, remove from git history
-
----
-
-## Best Practices
-
-### 1. Use /explore-idea for New Ideas
-- Don't skip research validation
-- Let Claude challenge assumptions
-- Create PROJECT_BRIEF.md before planning
-
-### 2. Plan Before Implementing
-- Run `/plan-project` at start of every project
-- Review IMPLEMENTATION_PHASES.md before Phase 1
-- Get planning docs in git early
-
-### 3. Wrap Sessions Before Context Full
-- Watch token usage (/context command)
-- Wrap around 150k tokens
-- Don't wait until maxed out (200k)
-
-### 4. Resume with Context
-- Always start new sessions with `/continue-session`
-- Review git history shown
-- Confirm Next Action before proceeding
-
-### 5. Feature Planning
-- Use `/plan-feature` instead of ad-hoc implementation
-- Let it handle phase renumbering
-- Keep IMPLEMENTATION_PHASES.md synchronized
+**/plan-project "No project description"**: Use /explore-idea first or discuss project with Claude
-### 6. Release Safely
-- Run `/release` on feature branches first
-- Fix all blockers before main branch
-- Use auto-fix for LICENSE/README issues
+**/plan-feature "Prerequisites not met"**: Run /plan-project first (creates SESSION.md + IMPLEMENTATION_PHASES.md)
----
-
-## Advanced Usage
-
-### Parallel Feature Planning
-
-```bash
-# Plan multiple features, then prioritize
-/plan-feature # Add authentication
-/plan-feature # Add payment processing
-/plan-feature # Add email notifications
-
-# Review IMPLEMENTATION_PHASES.md
-# Reorder phases by priority
-# Git commit the reorganized plan
-```
-
-### Release Workflow with Branches
-
-```bash
-# On feature branch
-/release # Check for issues
-
-# Fix any blockers
-git add .
-git commit -m "fix: Address release blockers"
-
-# Merge to main
-git checkout main
-git merge feature-branch
-
-# Final release check
-/release # Create GitHub release
-```
-
-### Continuous Session Management
-
-```bash
-# Day 1
-/plan-project
-# Work on Phase 1-2
-/wrap-session
-
-# Day 2
-/continue-session
-# Work on Phase 3-4
-/wrap-session
-
-# Day 3
-/continue-session
-# Need new feature
-/plan-feature
-# Work on new phases
-/wrap-session
-
-# Day 4
-/continue-session
-# Finish implementation
-/release
-```
-
----
-
-## FAQ
-
-**Q: Can I use these commands without other skills?**
-A: Yes, but `/plan-project` and `/plan-feature` work best with the `project-planning` skill installed.
-
-**Q: Do I need to use all 7 commands?**
-A: No. Use `/plan-project` + `/wrap-session` + `/continue-session` for minimum workflow. Add others as needed.
+**/wrap-session "No git repository"**: Run `git init`
-**Q: Can I modify the commands?**
-A: Yes. Commands are .md files. Copy to ~/.claude/commands/ and edit.
+**/continue-session "SESSION.md not found"**: Run /plan-project
-**Q: What if I don't want to use git?**
-A: Most commands work without git, but `/wrap-session`, `/continue-session`, and `/release` heavily integrate with git.
-
-**Q: Can I use this with non-Cloudflare projects?**
-A: Yes. The planning system is framework-agnostic. Works with any tech stack.
-
-**Q: How do I see what's in SESSION.md?**
-A: Ask Claude: "show me SESSION.md" or use `cat SESSION.md`
-
----
-
-## Related Skills
-
-- **project-planning** - Generates IMPLEMENTATION_PHASES.md (used by /plan-project)
-- **project-session-management** - SESSION.md protocol (used by /wrap-session)
-- **github-project-automation** - GitHub Actions, issue templates, CI/CD
-- **open-source-contributions** - Contributing to open source projects
+**/release "Secrets detected"**: Add to .gitignore, remove from git history
---
@@ -683,15 +203,4 @@ A: Ask Claude: "show me SESSION.md" or use `cat SESSION.md`
---
-## Support
-
-- **Issues**: https://github.com/jezweb/claude-skills/issues
-- **Documentation**: https://github.com/jezweb/claude-skills
-- **Author**: Jeremy Dawes ([email protected])
-- **Website**: https://jezweb.com.au
-
----
-
-## License
-
-MIT License - See LICENSE file in repository
+**Issues**: https://github.com/jezweb/claude-skills/issues | **Author**: Jeremy Dawes ([email protected]) | **License**: MIT