Initial commit - workspace setup scripts
Add Claude Agent workspace configuration and utility scripts: - CLAUDE.md: Agent documentation and instructions - SETUP-COMPLETE.md: Setup completion notes - start-agent.sh: Script to start tmux session - new-task.sh: Script for new task workflow - finish-task.sh: Script to finish tasks - work.sh: Main work script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
26
new-task.sh
Executable file
26
new-task.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
# Script pentru a începe un task nou cu branch
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Utilizare: ~/new-task.sh <nume-branch>"
|
||||
echo "Exemplu: ~/new-task.sh fix/rezolva-bug"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BRANCH_NAME="$1"
|
||||
PROJECT_DIR="/workspace/romfastsql"
|
||||
|
||||
cd "$PROJECT_DIR" || exit 1
|
||||
|
||||
# Actualizează main
|
||||
echo "📥 Actualizez main..."
|
||||
git checkout main
|
||||
git pull origin main
|
||||
|
||||
# Creează branch nou
|
||||
echo "🌿 Creez branch: $BRANCH_NAME"
|
||||
git checkout -b "$BRANCH_NAME"
|
||||
|
||||
echo "✅ Gata! Ești pe branch-ul: $BRANCH_NAME"
|
||||
echo ""
|
||||
echo "Pornește Claude cu: source ~/.nvm/nvm.sh && claude"
|
||||
Reference in New Issue
Block a user