analyze-bugs
**Purpose:** Analyze bug reports from host projects (framework project only).
**Purpose:** Migrate project from old Framework version (v1.x or v2.0) to current version (v2.2).
$ npx -y skills add alexeykrol/claude-code-starter --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/upgrade-frameworkContext preview
What this command does when you run it.
**Purpose:** Migrate project from old Framework version (v1.x or v2.0) to current version (v2.2).
**Purpose:** Migrate project from old Framework version (v1.x or v2.0) to current version (v2.2).
**When to use:** Project already has `.claude/` directory with older Framework structure.
---
Before starting, create migration log for crash recovery:
# Get old version from migration context
OLD_VERSION=$(cat .claude/migration-context.json 2>/dev/null | grep -o '"old_version"[^,]*' | cut -d'"' -f4)
echo '{
"status": "in_progress",
"mode": "upgrade",
"old_version": "'$OLD_VERSION'",
"started": "'$(date -Iseconds)'",
"updated": "'$(date -Iseconds)'",
"current_step": 1,
"current_step_name": "detect",
"steps_completed": [],
"last_error": null
}' > .claude/migration-log.json**Update log after each step** (same as migrate-legacy).
---
1. πΎ **Preserve ALL existing data** - never lose user's work 2. π **Incremental migration** - step by step with verification 3. π **Show migration plan** before executing 4. π **Explain changes** in simple terms 5. β **Backup first** - create safety backup before changes
---
# Check for v2.x markers
if [ -f ".claude/SNAPSHOT.md" ]; then
grep "Framework:" .claude/SNAPSHOT.md | awk '{print $2}'
fi
# Check for v1.x markers (old structure)
if [ -f "Init/PROJECT_SNAPSHOT.md" ]; then
echo "v1.x (legacy structure)"
fi
# Check BACKLOG structure
if [ -f ".claude/BACKLOG.md" ]; then
# v2.0 if no ROADMAP.md
if [ ! -f ".claude/ROADMAP.md" ]; then
echo "v2.0 (missing ROADMAP/IDEAS)"
fi
fiShow user what was detected:
π Framework Version Detection Found: Framework v[VERSION] Structure detected: [v1.x] β Init/PROJECT_SNAPSHOT.md β Init/BACKLOG.md β Init/ARCHITECTURE.md β .claude/ (missing) [v2.0] β .claude/SNAPSHOT.md β .claude/BACKLOG.md β .claude/ARCHITECTURE.md β ROADMAP.md (missing) β IDEAS.md (missing) [v2.1+] TARGET β .claude/SNAPSHOT.md β .claude/BACKLOG.md β .claude/ROADMAP.md (new) β .claude/IDEAS.md (new) β .claude/ARCHITECTURE.md Migration required: [VERSION] β v2.1 ```` --- ## Step 2: Read Existing Files Read all existing Framework files to preserve data. ### 2.1 For v1.x Projects ```bash # Old structure cat Init/PROJECT_SNAPSHOT.md cat Init/BACKLOG.md cat Init/ARCHITECTURE.md cat Init/CHANGELOG.md 2>/dev/null cat Init/docs/MIGRATION_GUIDE.md 2>/dev/null # Check for migration/ folder ls -la migration/ 2>/dev/null
# Current structure cat .claude/SNAPSHOT.md cat .claude/BACKLOG.md cat .claude/ARCHITECTURE.md # Check what's missing [ -f ".claude/ROADMAP.md" ] || echo "ROADMAP.md missing" [ -f ".claude/IDEAS.md" ] || echo "IDEAS.md missing"
From read files, extract:
---
Based on detected version, create detailed migration plan.
# π Migration Plan: v1.x β v2.1 ## Overview Upgrade from legacy Init/ structure to modern .claude/ structure. ## Changes Required: ### 1. File Relocations
Init/PROJECT_SNAPSHOT.md β .claude/SNAPSHOT.md Init/BACKLOG.md β .claude/BACKLOG.md Init/ARCHITECTURE.md β .claude/ARCHITECTURE.md Init/ β [archived]
### 2. New Files to Create
.claude/ROADMAP.md (NEW) - Strategic planning .claude/IDEAS.md (NEW) - Spontaneous ideas
### 3. BACKLOG.md Restructure **Current format:** ```markdown ## Tasks - [ ] Task 1 - [ ] Task 2
**New format (3-level):**
## Phase X: [Current Sprint] - [ ] Task 1 - [ ] Subtask Priority 1 moved to β ROADMAP.md Ideas moved to β IDEAS.md
**Add new sections:**
Keep migration/ folder (contains templates) Add init-project.sh if missing
β All your task data preserved β All your architecture notes preserved β All your project information preserved β Git history untouched β Code untouched
Before making changes:
cp -r Init/ Init-backup-$(date +%Y%m%d) cp -r .claude/ .claude-backup-$(date +%Y%m%d) 2>/dev/null
### Migration: v2.0 β v2.1 ````markdown # π Migration Plan: v2.0 β v2.1 ## Overview Add new 3-level planning structure (IDEAS β ROADMAP β BACKLOG). ## Changes Required: ### 1. Extract from Current BACKLOG Analyze current `.claude/BACKLOG.md`: - **Concrete tasks** β stay in BACKLOG.md - **Priority 1 ideas** β move to ROADMAP.md - **Unstructured ideas** β move to IDEAS.md ### 2. Create New Files
.claude/ROADMAP.md (NEW)
.claude/IDEAS.md (NEW)
### 3. Restructure BACKLOG.md **Current:** ```markdown ## Phase X - tasks ## Priority 1 - ideas
**New:**
## Phase X - only concrete tasks [Priority 1 moved to ROADMAP.md]
Add references:
> **Planning:** > - Current tasks: [BACKLOG.md](./BACKLOG.md) > - Strategic plan: [ROADMAP.md](./ROADMAP.md) > - Ideas: [IDEAS.md](./IDEAS.md)
Replace full roadmap with link:
## Roadmap See [.claude/ROADMAP.md](.claude/ROADMAP.md)
β All your tasks preserved β All your ideas preserved (just reorganized) β SNAPSHOT content intact β ARCHITECTURE content intact
Claude Code Starter β ΡΡΠΎ Π³ΠΎΡΠΎΠ²Π°Ρ ΡΠΏΡΠ°Π²Π»ΡΡΡΠ°Ρ ΡΡΠ΅Π΄Π° Π΄Π»Ρ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ², Π² ΠΊΠΎΡΠΎΡΡΡ ΠΎΡΠ½ΠΎΠ²Π½ΠΎΠΉ ΡΠ°Π±ΠΎΡΠΈΠΉ Π°Π³Π΅Π½Ρ β Claude Code.
Repo: alexeykrol/claude-code-starter
**Purpose:** Analyze bug reports from host projects (framework project only).
**Purpose:** Analyze local bug reports to find patterns and recurring issues.
Π‘ΠΎΠ·Π΄Π°ΡΡ database migration Ρ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΎΠΌ
ΠΠ±ΡΡΡΠ½ΠΈΡΡ ΠΊΠ°ΠΊ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½Π°Ρ ΡΠ°ΡΡΡ ΠΊΠΎΠ΄Π°