Install StackShift and Spec Kit slash commands to this project for team use. Run this if you joined a project after StackShift analysis was completed.
Installs StackShift slash commands to project for team-wide access.
/plugin marketplace add jschulte/stackshift/plugin install jschulte-stackshift@jschulte/stackshiftUse this if:
# Create commands directory
mkdir -p .claude/commands
# Copy from StackShift plugin
cp ~/.claude/plugins/stackshift/.claude/commands/speckit.*.md .claude/commands/
cp ~/.claude/plugins/stackshift/.claude/commands/stackshift.*.md .claude/commands/
# Verify
ls .claude/commands/
You should see:
Ensure .gitignore allows .claude/commands/ to be committed:
# Check if .gitignore exists
if [ ! -f .gitignore ]; then
echo "Creating .gitignore..."
touch .gitignore
fi
# Add rules to allow slash commands
cat >> .gitignore <<'EOF'
# Claude Code - Allow slash commands (team needs these!)
!.claude/
!.claude/commands/
!.claude/commands/*.md
# Ignore user-specific Claude settings
.claude/settings.json
.claude/mcp-settings.json
.claude/.storage/
EOF
echo "✅ .gitignore updated"
git add .claude/commands/
git add .gitignore
git commit -m "chore: add StackShift slash commands for team
Adds /speckit.* and /stackshift.* slash commands.
Commands installed:
- /speckit.specify - Create feature specifications
- /speckit.plan - Create technical implementation plans
- /speckit.tasks - Generate task breakdowns
- /speckit.implement - Execute implementation
- /speckit.clarify - Resolve specification ambiguities
- /speckit.analyze - Validate specs match code
- /stackshift.modernize - Upgrade dependencies
- /stackshift.setup - Install commands (this command)
These enable spec-driven development for the entire team.
All team members will have commands after cloning.
"
✅ Commands installed to project ✅ .gitignore updated to allow commands ✅ Commands committed to git ✅ Team members will have commands when they clone
Type /spec and you should see all commands autocomplete!
After running StackShift on a project, always:
/stackshift.setup (or manual Step 1-3 above)This ensures everyone on your team has access to slash commands without individual setup.
"Commands still not showing up" → Restart Claude Code after installing
"Git says .claude/ is ignored"
→ Check .gitignore has !.claude/commands/ rule
"Don't have StackShift plugin installed"
→ Install: /plugin marketplace add jschulte/claude-plugins then /plugin install stackshift
"StackShift plugin not in ~/.claude/plugins/" → Commands might be in different location, manually copy from project that has them