Skip to content

la-haus/claude-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– La Haus Claude Commands

Central repository of agents and slash commands for Claude Code used across La Haus projects.


πŸš€ Quick Install

Install Agents (Vue/Nuxt)

curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/agents/install.sh | bash

Install Commands

curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/commands/install.sh | bash

Install Both

curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/agents/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/commands/install.sh | bash

Using package.json

Add to your package.json:

{
  "scripts": {
    "sync-agents": "curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/agents/install.sh | bash",
    "sync-commands": "curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/commands/install.sh | bash",
    "sync-all": "yarn sync-agents && yarn sync-commands",
    "postinstall": "yarn sync-all"
  }
}

Then run:

yarn sync-all

πŸ“‚ Repository Contents

πŸ€– Agents

Agents are invoked automatically based on context. No need to mention them explicitly.

Vue / Nuxt Agents

Agent Description File
🎨 Vue Presentational Component Creator Creates UI components without business logic vue/vue-presentational-component-creator.md
πŸ’Ό Vue Business Component Creator Creates components with stores, API calls, and complex logic vue/vue-business-component-creator.md
πŸ§ͺ Vitest Unit Tester Creates comprehensive tests with Vitest for Vue, Nuxt, and Pinia vue/vitest-unit-tester.md

Usage examples:

Create a component to display project cards
Create tests for the CustomerForm component
Build a customer management component with the store

View complete agents index β†’


⚑ Commands

Commands are invoked explicitly with /command-name.

Command Description Usage
πŸ“‹ /create-prd Creates a Product Requirements Document /create-prd
βœ… /generate-tasks Generates task list from requirements /generate-tasks
πŸ“ /process-task-list Processes and organizes task lists /process-task-list

Usage:

/create-prd
/generate-tasks
/process-task-list

View complete commands index β†’


πŸ†š Agents vs Commands

Feature Agents πŸ€– Commands ⚑
Invocation Automatic based on context Explicit with /command
When to use Repetitive and automatic patterns Specific on-demand actions
Example "Create tests for CustomerForm" /create-prd
Proactivity Claude decides when to use them User explicitly requests

General rule:

  • Agents: For tasks Claude should do automatically
  • Commands: For specific actions the user requests

πŸ“Š Repository Structure

claude-commands/
β”œβ”€β”€ README.md                   # This file
β”œβ”€β”€ CONTRIBUTING.md            # Contribution guide
β”œβ”€β”€ .gitignore
β”‚
β”œβ”€β”€ agents/                    # Agents directory
β”‚   β”œβ”€β”€ README.md              # Agents index
β”‚   β”œβ”€β”€ .agents-list.txt       # List of available agents
β”‚   β”œβ”€β”€ install.sh             # Agents installer
β”‚   └── vue/                   # Vue/Nuxt agents
β”‚       β”œβ”€β”€ vitest-unit-tester.md
β”‚       β”œβ”€β”€ vue-business-component-creator.md
β”‚       └── vue-presentational-component-creator.md
β”‚
β”œβ”€β”€ commands/                  # Commands directory
β”‚   β”œβ”€β”€ README.md              # Commands index
β”‚   β”œβ”€β”€ .commands-list.txt     # List of available commands
β”‚   β”œβ”€β”€ install.sh             # Commands installer
β”‚   β”œβ”€β”€ create-prd.md
β”‚   β”œβ”€β”€ generate-tasks.md
β”‚   └── process-task-list.md

πŸ”„ Updating

To update to the latest versions:

# If using package.json
yarn sync-all

# Or directly
curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/agents/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/commands/install.sh | bash

βž• Contributing

Want to add a new agent or command?

  1. Read the Contribution Guide
  2. Decide if it's an agent or command
  3. Create the .md file with frontmatter
  4. Add to agents/.agents-list.txt or commands/.commands-list.txt
  5. Test locally
  6. Commit and PR

See CONTRIBUTING.md for complete details.


πŸ“– Guides


🎯 For New Developers

After cloning any La Haus project that uses Claude Code:

# Option 1: If project has postinstall configured
yarn install  # Agents install automatically

# Option 2: Manual
yarn sync-all

# Option 3: Direct script
curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/agents/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/commands/install.sh | bash

πŸ’‘ Usage Tips

For agents:

  • No need to mention them: Claude uses them automatically
  • Just describe: "Create a component to manage customers"
  • Activated by context: Based on keywords in the description

For commands:

  • Use the / prefix: /create-prd, /generate-tasks, etc.
  • List all: Type / in Claude Code
  • With arguments: /command-name arg1 arg2

πŸ› Troubleshooting

404 error when installing

  • Verify the repository is public or use a GitHub token
  • Confirm the URL is correct

Agents not updating

rm -rf .claude/agents .claude/commands
yarn sync-all

Permission errors

# Ensure scripts have execution permissions
chmod +x agents/install.sh commands/install.sh

πŸ“ž Support


πŸ“„ License

Internal use at La Haus.


Made with ❀️ by La Haus team

πŸ€– Powered by Claude Code

⭐ Star this repo if you find it useful

About

Repository for claude commands

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •