Loading...
Loading...
Compare original and translation side by side
------
description: Brief description of what the command does
argument-hint: Description of expected arguments (optional)
---------
description: 命令功能的简短描述
argument-hint: 预期参数的说明(可选)
---descriptionargument-hintdescriptionargument-hintundefinedundefinedundefinedundefined------------.claude/commands/frontend/component.md/component~/.claude/commands/component.md/component.claude/commands/frontend/component.md/component~/.claude/commands/component.md/component$ARGUMENTS$ARGUMENTSundefinedundefined/fix-issue 123 high-priority
/fix-issue 123 high-priority
undefinedundefined$1$2$1$2undefinedundefined/review-pr 456 high alice
/review-pr 456 high alice
undefinedundefined!allowed-toolsBash---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---!allowed-toolsBash---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: 创建Git提交
---git statusgit diff HEADgit branch --show-currentgit log --oneline -10undefinedgit statusgit diff HEADgit branch --show-currentgit log --oneline -10undefined@Review the implementation in @src/utils/helpers.js
Compare @src/old-version.js with @src/new-version.js@评审 @src/utils/helpers.js 中的实现
对比 @src/old-version.js 和 @src/new-version.js| Frontmatter | Purpose | Default |
|---|---|---|
| List of tools the command can use | Inherits from conversation |
| Expected arguments for auto-completion | None |
| Brief description of the command | First line from prompt |
| Specific model string | Inherits from conversation |
| Prevent | false |
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
argument-hint: [message]
description: Create a git commit
model: claude-3-5-haiku-20241022
---
Create a git commit with message: $ARGUMENTS| 前置元数据 | 用途 | 默认值 |
|---|---|---|
| 命令可使用的工具列表 | 继承自对话设置 |
| 自动补全的预期参数 | 无 |
| 命令的简短描述 | 提示语的第一行 |
| 特定模型字符串 | 继承自对话设置 |
| 阻止 | false |
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
argument-hint: [message]
description: 创建Git提交
model: claude-3-5-haiku-20241022
---
创建包含以下信息的Git提交:$ARGUMENTS# For project commands
ls -la /.claude/commands/
# For user commands
ls -la ~/.claude/commands/# MCP tool usage for tasks
Use tool: mcp__scopecraft-cmd__task_create
Use tool: mcp__scopecraft-cmd__task_update
Use tool: mcp__scopecraft-cmd__task_list
# NOT CLI commands
❌ Run: scopecraft task list
✅ Use tool: mcp__scopecraft-cmd__task_list# 项目命令
ls -la /.claude/commands/
# 用户命令
ls -la ~/.claude/commands/# 用于任务的MCP工具使用方式
Use tool: mcp__scopecraft-cmd__task_create
Use tool: mcp__scopecraft-cmd__task_update
Use tool: mcp__scopecraft-cmd__task_list
# 不要使用CLI命令
❌ Run: scopecraft task list
✅ Use tool: mcp__scopecraft-cmd__task_listundefinedundefinedundefinedundefined/.claude/commands/~/.claude/commands//.claude/commands/~/.claude/commands/undefinedundefined
</interview_process>
<generation_patterns>
</interview_process>
<generation_patterns>---
description: Clear one-line description of command purpose
argument-hint: What arguments does it accept
---------descriptionargument-hint# From existing commands
Use mcp__scopecraft-cmd__task_create
Use mcp__scopecraft-cmd__feature_get
Use mcp__scopecraft-cmd__phase_list<context>
Key Reference: @/docs/organizational-structure-guide.md
Template: @/docs/command-resources/planning-templates/{template}.md
Guide: @/docs/claude-commands-guide.md
</context><task_updates>
After implementation:
1. Update task status to appropriate state
2. Add implementation log entries
3. Mark checklist items as complete
4. Document any decisions made
</task_updates><human_review_needed>
Flag decisions needing verification:
- [ ] Assumptions about workflows
- [ ] Technical approach choices
- [ ] Pattern-based suggestions
</human_review_needed>/docs/command-resources/---<task>
You are a code reviewer conducting a comprehensive review...
</task>
<mcp_usage>
Always use MCP tools:
- mcp__scopecraft-cmd__task_list
- mcp__scopecraft-cmd__task_update
</mcp_usage>/.claude/commands/validate-api.md---
description: Validates API documentation against OpenAPI standards for completeness and consistency
argument-hint: Path to OpenAPI spec file (optional, will search if not provided)
---
<task>
You are an API documentation validator reviewing OpenAPI specifications for completeness and consistency.
</task>
<context>
References:
- API Standards: @/docs/api-standards.md
- Organizational Structure: @/docs/organizational-structure-guide.md
Similar to: @/.claude/commands/review.md
</context>
<validation_process>
1. Load OpenAPI spec files
2. Check required endpoints documented
3. Validate response schemas
4. Verify authentication documented
5. Check for missing examples
</validation_process>
<mcp_usage>
If issues found, create tasks:
- Use tool: mcp__scopecraft-cmd__task_create
- Type: "bug" or "documentation"
- Phase: Current active phase
- Area: "docs" or "api"
</mcp_usage>
<human_review_needed>
Flag for manual review:
- [ ] Breaking changes detected
- [ ] Security implications unclear
- [ ] Business logic assumptions
</human_review_needed>/{prefix}:{name}---
description: 命令用途的清晰单行描述
argument-hint: 命令接受的参数说明
---------descriptionargument-hint# 来自现有命令
Use mcp__scopecraft-cmd__task_create
Use mcp__scopecraft-cmd__feature_get
Use mcp__scopecraft-cmd__phase_list<context>
关键参考:@/docs/organizational-structure-guide.md
模板:@/docs/command-resources/planning-templates/{template}.md
指南:@/docs/claude-commands-guide.md
</context><task_updates>
实现完成后:
1. 将任务状态更新为合适的状态
2. 添加实现日志条目
3. 将 checklist 项标记为完成
4. 记录做出的任何决策
</task_updates><human_review_needed>
标记需要验证的决策:
- [ ] 关于工作流的假设
- [ ] 技术方案的选择
- [ ] 基于模式的建议
</human_review_needed>/docs/command-resources/---<task>
你是一名代码评审员,正在进行全面的代码评审...
</task>
<mcp_usage>
始终使用MCP工具:
- mcp__scopecraft-cmd__task_list
- mcp__scopecraft-cmd__task_update
</mcp_usage>/.claude/commands/validate-api.md---
description: 根据OpenAPI标准验证API文档的完整性和一致性
argument-hint: OpenAPI规范文件的路径(可选,未提供时将自动搜索)
---
<task>
你是一名API文档验证员,负责评审OpenAPI规范的完整性和一致性。
</task>
<context>
参考资料:
- API标准:@/docs/api-standards.md
- 组织架构:@/docs/organizational-structure-guide.md
类似命令:@/.claude/commands/review.md
</context>
<validation_process>
1. 加载OpenAPI规范文件
2. 检查是否记录了所有必填端点
3. 验证响应 schema
4. 验证是否记录了认证方式
5. 检查是否缺少示例
</validation_process>
<mcp_usage>
如果发现问题,创建任务:
- Use tool: mcp__scopecraft-cmd__task_create
- Type: "bug" 或 "documentation"
- Phase: 当前活跃阶段
- Area: "docs" 或 "api"
</mcp_usage>
<human_review_needed>
标记需要人工评审的内容:
- [ ] 检测到破坏性变更
- [ ] 安全影响不明确
- [ ] 业务逻辑假设
</human_review_needed>/{prefix}:{name}