Central repository of agents and slash commands for Claude Code used across La Haus projects.
curl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/agents/install.sh | bashcurl -fsSL https://raw.githubusercontent.com/la-haus/claude-commands/main/commands/install.sh | bashcurl -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 | bashAdd 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π€ Agents
Agents are invoked automatically based on context. No need to mention them explicitly.
| 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 β
| 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
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
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 | bashWant to add a new agent or command?
- Read the Contribution Guide
- Decide if it's an agent or command
- Create the
.mdfile with frontmatter - Add to
agents/.agents-list.txtorcommands/.commands-list.txt - Test locally
- Commit and PR
See CONTRIBUTING.md for complete details.
- π Agents Index - All available agents
- π Commands Index - All available commands
- π Contributing Guide - How to contribute
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- 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
- Use the
/prefix:/create-prd,/generate-tasks, etc. - List all: Type
/in Claude Code - With arguments:
/command-name arg1 arg2
- Verify the repository is public or use a GitHub token
- Confirm the URL is correct
rm -rf .claude/agents .claude/commands
yarn sync-all# Ensure scripts have execution permissions
chmod +x agents/install.sh commands/install.sh- Issues: GitHub Issues
- Docs: Claude Code Documentation
Internal use at La Haus.
Made with β€οΈ by La Haus team
π€ Powered by Claude Code
β Star this repo if you find it useful