mirror of
https://github.com/Donchitos/Claude-Code-Game-Studios.git
synced 2026-06-27 13:01:50 +00:00
Add /start onboarding skill and fresh-project detection
New users no longer get pushed toward /setup-engine before they even have a game idea. The /start skill asks where they are (no idea, vague idea, clear concept, existing work) and routes to the right workflow. The detect-gaps hook now detects fresh projects and suggests /start. All docs updated: README, quick-start, workflow guide, skills/hooks references, CLAUDE.md (skill count 34→35). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,40 @@ set +e
|
||||
|
||||
echo "=== Checking for Documentation Gaps ==="
|
||||
|
||||
# --- Check 0: Fresh project detection (suggests /start) ---
|
||||
FRESH_PROJECT=true
|
||||
|
||||
# Check if engine is configured
|
||||
if [ -f ".claude/docs/technical-preferences.md" ]; then
|
||||
ENGINE_LINE=$(grep -E "^\- \*\*Engine\*\*:" .claude/docs/technical-preferences.md 2>/dev/null)
|
||||
if echo "$ENGINE_LINE" | grep -qv "TO BE CONFIGURED" 2>/dev/null; then
|
||||
FRESH_PROJECT=false
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check if game concept exists
|
||||
if [ -f "design/gdd/game-concept.md" ]; then
|
||||
FRESH_PROJECT=false
|
||||
fi
|
||||
|
||||
# Check if source code exists
|
||||
if [ -d "src" ]; then
|
||||
SRC_CHECK=$(find src -type f \( -name "*.gd" -o -name "*.cs" -o -name "*.cpp" -o -name "*.c" -o -name "*.h" -o -name "*.hpp" -o -name "*.rs" -o -name "*.py" -o -name "*.js" -o -name "*.ts" \) 2>/dev/null | head -1)
|
||||
if [ -n "$SRC_CHECK" ]; then
|
||||
FRESH_PROJECT=false
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$FRESH_PROJECT" = true ]; then
|
||||
echo ""
|
||||
echo "🚀 NEW PROJECT: No engine configured, no game concept, no source code."
|
||||
echo " This looks like a fresh start! Run: /start"
|
||||
echo ""
|
||||
echo "💡 To get a comprehensive project analysis, run: /project-stage-detect"
|
||||
echo "==================================="
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# --- Check 1: Substantial codebase but sparse design docs ---
|
||||
if [ -d "src" ]; then
|
||||
# Count source files (cross-platform, handles Windows paths)
|
||||
|
||||
Reference in New Issue
Block a user