From klair-legacy
Guides users through creating custom slash commands for Claude Code. Use when user wants to create, build, or develop slash commands, automate workflows, or create command shortcuts.
npx claudepluginhub ai-builder-team/ai-builder-plugin-marketplace --plugin klair-legacyThis skill uses the workspace's default tool permissions.
This skill guides you through creating custom slash commands—shortcuts that automate repetitive workflows, maintain team consistency, and save tokens by storing complex instructions externally.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
This skill guides you through creating custom slash commands—shortcuts that automate repetitive workflows, maintain team consistency, and save tokens by storing complex instructions externally.
Output: A working slash command ready to use in Claude Code.
Ask the user where to create the command:
Project Commands (.claude/commands/command-name.md)
/helpPersonal Commands (~/.claude/commands/command-name.md)
/helpCreate a Markdown file named after your command:
# For project command
.claude/commands/command-name.md
# For personal command
~/.claude/commands/command-name.md
Naming conventions:
fix-issue.md, deploy-check.md⚠️ Complete this step as its own task. Reference guidelines/frontmatter-reference.md for comprehensive guidance when crafting your frontmatter.
Add YAML frontmatter at the top of the file:
---
description: Brief description of what the command does
argument-hint: [expected-arguments]
allowed-tools: Bash(git add:*), Bash(git commit:*)
---
Key fields:
description: Shows in /help and enables SlashCommand tool discoveryargument-hint: Helps users understand expected parametersallowed-tools: Required for bash execution (see guidelines/advanced-features.md)Consult the guide: guidelines/frontmatter-reference.md contains all available fields, validation rules, and best practices.
⚠️ Complete this step as its own task. Reference guidelines/writing-effective-prompts.md for comprehensive guidance when crafting your command prompt.
Below the frontmatter, write clear, specific instructions:
---
description: Review code for security issues
---
Perform a comprehensive security review of the provided code.
Check for:
- SQL injection vulnerabilities
- Cross-site scripting (XSS)
- Authentication and authorization issues
- Sensitive data exposure
Provide specific recommendations for each issue found.
Consult the guide: guidelines/writing-effective-prompts.md contains prompt writing best practices and patterns.
Once you've mastered the basic workflow, reference guidelines/advanced-features.md for:
$ARGUMENTS or $1, $2, $3 for dynamic commands@filenameallowed-tools for commands that need specific tool accessStart simple with the core workflow above, then add these features as your needs grow.