slash-commands by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill slash-commands包含 Shell 命令
此技能包含可能执行系统命令的 shell 命令指令(!command``)。安装前请仔细审查。
使用 /命令名称 语法创建和使用用户触发的提示。
| 命令 | 用途 |
|---|---|
/clear | 清除对话历史 |
/compact | 聚焦式压缩对话 |
/config |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 打开设置界面 |
/cost | 显示令牌使用量 |
/agents | 管理子代理 |
/mcp | 管理 MCP 服务器 |
/memory | 编辑 CLAUDE.md 文件 |
/model | 选择 AI 模型 |
/review | 请求代码审查 |
/resume | 恢复会话 |
/help | 获取使用帮助 |
mkdir -p .claude/commands
cat > .claude/commands/optimize.md << 'EOF'
---
description: 分析代码以查找性能问题
---
审查此代码的以下方面:
- 性能瓶颈
- 内存泄漏
- 缓存优化机会
EOF
mkdir -p ~/.claude/commands
cat > ~/.claude/commands/review.md << 'EOF'
---
description: 以安全为中心的代码审查
---
检查是否存在以下漏洞:
- 输入验证
- SQL 注入
- XSS 风险
EOF
---
description: 用于 /help 的简短描述
allowed-tools: [Bash, Read, Write] # 可选
argument-hint: "[文件] [类型]" # 可选
---
您的 Markdown 指令写在这里。
使用 $1, $2 表示参数,或使用 $ARGUMENTS 表示所有参数。
使用 ! 前缀在加载提示前运行 bash:
---
allowed-tools: Bash(git:*), Bash(grep:*)
description: Git 提交助手
---
当前状态:!`git status`
已暂存的更改:!`git diff --staged`
最近的提交:!`git log --oneline -5`
基于这些更改,建议一个提交信息。
规则:
allowed-tools: Bash(...)!command``使用 @ 前缀包含文件:
根据 @.claude/STYLE_GUIDE.md 进行审查
比较:
- @src/old.js
- @src/new.js
重构匹配 @src/**/*.util.ts 的文件
---
argument-hint: "[pr编号] [优先级]"
---
以优先级 $2 审查 PR #$1
# 或者使用所有参数:
修复问题 #$ARGUMENTS
用法:
/review-pr 456 high
# $1 = "456", $2 = "high"
使用子目录进行组织:
.claude/commands/
├── frontend/
│ └── component.md → /component (project:frontend)
└── backend/
└── endpoint.md → /endpoint (project:backend)
MCP 服务器将提示暴露为命令:
/mcp__github__list_prs
/mcp__github__pr_review 456
/mcp__jira__create_issue "Bug" high
| 方面 | 斜杠命令 | 技能 |
|---|---|---|
| 调用方式 | 显式:/命令 | 自动发现 |
| 文件 | 单个 .md 文件 | 包含 SKILL.md 的目录 |
| 使用场景 | 快速提示 | 复杂工作流 |
使用斜杠命令用于: 频繁输入的提示、简单模板 使用技能用于: 复杂工作流、多个文件、自动发现
---
description: 生成语义化提交信息
allowed-tools: Bash(git:*), Read
argument-hint: "[类型]"
---
# 语义化提交生成器
已暂存文件:!`git diff --name-only --cached`
差异预览:
!`git diff --cached | head -100`
生成一个约定式提交信息。
类型:$1 (feat/fix/docs/style/refactor/perf/test/chore)
格式:`<类型>(<范围>): <主题>`
用法: /commit feat
每周安装数
196
仓库
GitHub 星标数
3.6K
首次出现
2026年1月22日
安全审计
已安装于
opencode190
codex187
gemini-cli186
cursor186
github-copilot183
amp180
Contains Shell Commands
This skill contains shell command directives (!command``) that may execute system commands. Review carefully before installing.
Create and use user-triggered prompts with /command-name syntax.
| Command | Purpose |
|---|---|
/clear | Clear conversation history |
/compact | Compact conversation with focus |
/config | Open settings interface |
/cost | Show token usage |
/agents | Manage sub-agents |
/mcp | Manage MCP servers |
/memory | Edit CLAUDE.md files |
/model | Select AI model |
/review | Request code review |
/resume | Resume session |
/help | Get usage help |
mkdir -p .claude/commands
cat > .claude/commands/optimize.md << 'EOF'
---
description: Analyze code for performance issues
---
Review this code for:
- Performance bottlenecks
- Memory leaks
- Caching opportunities
EOF
mkdir -p ~/.claude/commands
cat > ~/.claude/commands/review.md << 'EOF'
---
description: Security-focused code review
---
Check for vulnerabilities:
- Input validation
- SQL injection
- XSS risks
EOF
---
description: Brief description for /help
allowed-tools: [Bash, Read, Write] # Optional
argument-hint: "[file] [type]" # Optional
---
Your markdown instructions here.
Use $1, $2 for arguments or $ARGUMENTS for all.
Run bash before loading prompt with ! prefix:
---
allowed-tools: Bash(git:*), Bash(grep:*)
description: Git commit helper
---
Current status: !`git status`
Staged changes: !`git diff --staged`
Recent commits: !`git log --oneline -5`
Based on these changes, suggest a commit message.
Rules:
allowed-tools: Bash(...) in frontmatter!command``Include files with @ prefix:
Review against @.claude/STYLE_GUIDE.md
Compare:
- @src/old.js
- @src/new.js
Refactor files matching @src/**/*.util.ts
---
argument-hint: "[pr-number] [priority]"
---
Review PR #$1 with priority: $2
# Or use all arguments:
Fix issue #$ARGUMENTS
Usage:
/review-pr 456 high
# $1 = "456", $2 = "high"
Organize with subdirectories:
.claude/commands/
├── frontend/
│ └── component.md → /component (project:frontend)
└── backend/
└── endpoint.md → /endpoint (project:backend)
MCP servers expose prompts as commands:
/mcp__github__list_prs
/mcp__github__pr_review 456
/mcp__jira__create_issue "Bug" high
| Aspect | Slash Commands | Skills |
|---|---|---|
| Invocation | Explicit: /command | Auto-discovered |
| Files | Single .md file | Directory with SKILL.md |
| Use Case | Quick prompts | Complex workflows |
Use slash commands for: Frequently typed prompts, simple templates Use skills for: Complex workflows, multiple files, auto-discovery
---
description: Generate semantic commit message
allowed-tools: Bash(git:*), Read
argument-hint: "[type]"
---
# Semantic Commit Generator
Staged files: !`git diff --name-only --cached`
Diff preview:
!`git diff --cached | head -100`
Generate a conventional commit message.
Type: $1 (feat/fix/docs/style/refactor/perf/test/chore)
Format: `<type>(<scope>): <subject>`
Usage: /commit feat
Weekly Installs
196
Repository
GitHub Stars
3.6K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode190
codex187
gemini-cli186
cursor186
github-copilot183
amp180
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装