forked from jeremylongshore/claude-code-plugins-plus-skills
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·74 lines (65 loc) · 2.38 KB
/
setup.sh
File metadata and controls
executable file
·74 lines (65 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
set -e
echo "🚀 Setting up Claude Code Plugins Repository"
echo "============================================"
echo ""
# Change to repository directory
cd "$(dirname "$0")"
# Make all shell scripts executable
echo "📝 Making scripts executable..."
find . -type f -name "*.sh" -exec chmod +x {} \;
echo "✅ Scripts are now executable"
echo ""
# Initialize git repository
if [ ! -d ".git" ]; then
echo "🔧 Initializing git repository..."
git init
echo "✅ Git initialized"
else
echo "ℹ️ Git repository already initialized"
fi
echo ""
# Add all files
echo "📦 Adding files to git..."
git add .
echo "✅ Files added"
echo ""
# Create initial commit
echo "💾 Creating initial commit..."
git commit -m "Initial commit: Claude Code Plugin Marketplace
- Complete marketplace structure with 3 example plugins
- hello-world: Basic slash command example
- auto-formatter: Hook-based code formatting
- security-reviewer: Specialized security agent
- 4 plugin templates for developers
- Comprehensive documentation (6 docs files)
- GitHub workflows and issue templates
- 000-docs/007-DR-GUID-contributing.md with submission guidelines
- Professional README with badges and clear structure
🚀 Generated with Claude Code" || echo "ℹ️ Commit already exists or nothing to commit"
echo ""
echo "✅ Repository setup complete!"
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "🎯 Next Steps:"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "1. Create repository on GitHub:"
echo " https://github.com/new"
echo " Name: claude-code-plugins"
echo " Public, no README/license/gitignore"
echo ""
echo "2. Add remote and push:"
echo " git remote add origin https://github.com/jeremylongshore/claude-code-plugins.git"
echo " git branch -M main"
echo " git push -u origin main"
echo ""
echo "3. Test the marketplace:"
echo " /plugin marketplace add jeremylongshore/claude-code-plugins"
echo " /plugin install hello-world@claude-code-plugins-plus"
echo " /hello"
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "📖 See 000-docs/017-DR-MANL-setup.md for detailed instructions"
echo ""