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| Frontmatter字段 | 用途 | 默认值 |
|---|---|---|
| 命令可以使用的工具列表 | 继承自对话设置 |
| 自动补全的预期参数 | 无 |
| 命令的简要描述 | 提示语的第一行 |
| 特定模型字符串 | 继承自对话设置 |
| 阻止 | 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. 将检查项标记为完成
4. 记录所做的任何决策
</task_updates><human_review_needed>
标记需要验证的决策:
- [ ] 关于工作流的假设
- [ ] 技术方案选择
- [ ] 基于模式的建议
</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}