Логотип Plugin Slash Command

Plugin Slash Command

Организация
qf-studio
plugin-slash-command

Generate new Navigator slash commands following project conventions. Use when user says "add slash command", "create command", "new /nav command", or "add /nav:[name] command".

Add to TypingMind

Обзор

Издательqf-studio
Репозиторийnavigator
Название навыкаplugin-slash-command
Звёзды
232
Форки
12
Файлы в комплекте
5
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 5

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — qf-studio. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Plugin Slash Command в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/qf-studio/navigator/tree/main/skills/plugin-slash-command
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/qf-studio/navigator.git /tmp/navigator
mkdir -p .claude/skills
cp -r /tmp/navigator/skills/plugin-slash-command .claude/skills/plugin-slash-command
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Plugin Slash Command в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Plugin Slash Command, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Plugin Slash Command не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Navigator Slash Command Generator

Generate new slash commands for the Navigator plugin following established conventions and patterns.

When to Invoke

Auto-invoke when user says:

  • "Add a slash command for..."
  • "Create a new /nav:[name] command"
  • "Generate slash command..."
  • "Add /nav:[feature] command"
  • "New Navigator command for..."

What This Does

  1. Asks for command details (name, purpose, complexity)
  2. Analyzes existing commands for pattern matching
  3. Generates command markdown file with proper structure
  4. Validates YAML frontmatter and formatting
  5. Shows usage example

Execution Steps

Step 1: Gather Command Requirements

Ask user:

  • Command name (kebab-case, without /nav: prefix)
    • Example: "marker", "compact", "update-doc"
  • Command purpose (one sentence description)
    • Example: "Create context markers to save conversation state"
  • Command complexity:
    • Simple: Single action, minimal steps (e.g., marker)
    • Medium: Multiple steps, some logic (e.g., compact)
    • Complex: Multi-phase execution, integrations (e.g., init, start)
  • User-facing or internal?
    • User-facing: Part of standard Navigator workflow
    • Internal: For plugin development/maintenance

Step 2: Analyze Similar Commands

Use Task agent to find similar commands:

"Find existing Navigator commands similar to [purpose]:
 - Commands in commands/*.md
 - Similar complexity level
 - Common structure patterns
 - Return 2-3 best examples"

What to extract from examples:

  • Section structure (What This Does, When to Use, etc.)
  • Tone and style (conversational, 2nd person)
  • Emoji usage patterns
  • Example format
  • Troubleshooting patterns

Step 3: Design Command Structure

Based on complexity level:

Simple commands:

- YAML frontmatter (description)
- Title
- What This Does (2-3 sentences)
- Usage (basic syntax + examples)
- When to Use (2-3 scenarios)
- Expected Output
- Troubleshooting (2-3 common issues)
- Closing statement

Medium commands:

- YAML frontmatter
- Title + overview
- What This Does (detailed explanation)
- When to Use (5-6 scenarios with examples)
- Usage / Execution Steps
- Output Format
- Integration notes (if applicable)
- Troubleshooting (4-5 issues)
- Best Practices
- Closing statement

Complex commands:

- YAML frontmatter
- Title + comprehensive overview
- What This Does (with comparisons)
- Execution Plan (multi-step)
- Pre-flight checks
- Step-by-step implementation
- Validation steps
- Integration with PM tools (if applicable)
- Success criteria
- Troubleshooting (comprehensive)
- Edge cases
- Performance notes
- Closing statement

Step 4: Generate Command File

Use predefined function: functions/command_generator.py

python
# Generates command markdown following Navigator conventions
generate_command(
    name="[command-name]",
    description="[one-line purpose]",
    complexity="simple|medium|complex",
    sections={
        "what_this_does": "...",
        "when_to_use": [...],
        "usage": "...",
        "execution_steps": [...],
        "troubleshooting": [...]
    }
)

File location: commands/[command-name].md

Structure:

  1. YAML frontmatter with description
  2. Title (# Command Name - Navigator Context)
  3. Overview paragraph (what user is doing)
  4. Content sections (based on complexity)
  5. Closing statement (emoji + key takeaway)

Step 5: Validate Generated Command

Use predefined function: functions/command_validator.py

Checks:

  • YAML frontmatter is valid
  • Description field exists and is clear
  • Markdown structure is correct
  • All sections have content
  • Code blocks are properly formatted
  • Examples are realistic
  • Troubleshooting addresses real issues
  • Tone matches Navigator style (conversational, helpful)
  • Emoji usage is consistent with other commands
  • File name matches command name (kebab-case)

Step 6: Show Usage Example

Display:

✅ Slash Command Created: /nav:[command-name]

File: commands/[command-name].md
Lines: [count]
Complexity: [simple/medium/complex]

Try it:
/nav:[command-name]

What it does:
[brief description]

Next steps:
1. Test the command manually
2. Update plugin documentation if public-facing
3. Add to CLAUDE.md command list if needed

Example Workflows

Example 1: Simple Command

User: "Add a slash command for showing Navigator version"

Execution:

  1. Gather requirements:

    Name: version
    Purpose: Display current Navigator plugin version
    Complexity: Simple
    Type: User-facing
  2. Analyze similar (via Task agent):

    Found similar: marker.md (simple, informational)
    Pattern: Short description → Usage → When to use → Output
  3. Design structure:

    - Frontmatter
    - Title: "Navigator Version Info"
    - What This Does: 1 paragraph
    - Usage: Basic syntax
    - When to Use: 2-3 scenarios
    - Output Format: Example
    - Closing statement
  4. Generate: commands/version.md

    markdown
    ---
    description: Display Navigator plugin version and system info
    ---
    
    # Navigator Version Info
    
    Check which version of Navigator you're running.
    
    ## What This Does
    
    Displays the current Navigator plugin version, Claude Code version, and system configuration.
    
    ## Usage
    
    ```bash
    /nav:version

    When to Use

    Reporting issues:

    • Include version info in bug reports
    • Help maintainers reproduce issues

    Checking updates:

    • See if you're on latest version
    • Compare with marketplace version

    System diagnostics:

    • Verify plugin installed correctly
    • Check configuration loaded

    Output Format

    Navigator Plugin
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    Version: 2.2.0
    Installed: /Users/you/.claude/plugins/navigator
    Config: .agent/.nav-config.json
    
    System:
    - Claude Code: 1.5.0
    - Project: /Users/you/project
    - Platform: darwin

    Keep your Navigator up to date for latest features 🚀

  5. Validate: ✅ All checks pass

  6. Show usage:

    ✅ Slash Command Created: /nav:version
    
    File: commands/version.md
    Lines: 45
    Complexity: Simple
    
    Try it: /nav:version

Example 2: Medium Command

User: "Create a command for archiving old task documentation"

Execution:

  1. Gather requirements:

    Name: archive-tasks
    Purpose: Move completed tasks to archive directory
    Complexity: Medium (file operations, validation)
    Type: User-facing
  2. Analyze similar:

    Found: markers.md (file management, user selection)
    Found: compact.md (multi-step process)
    Pattern: Overview → Execution Plan → Steps → Validation
  3. Design structure:

    - Frontmatter
    - Title + overview
    - What This Does (comparison with manual approach)
    - When to Use (5 scenarios)
    - Execution Plan (Step 1-4)
    - Output Format
    - Troubleshooting (4 issues)
    - Best Practices
    - Closing
  4. Generate: commands/archive-tasks.md (full content)

  5. Validate: ✅ All checks pass

  6. Show usage: Command ready to use


Output Format

After generating command, show:

✅ Slash Command Created: /nav:[name]

Structure:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 commands/[name].md

Sections:
✅ YAML frontmatter
✅ Title and overview
✅ What This Does
✅ When to Use ([N] scenarios)
✅ Usage / Execution Plan
✅ [Additional sections based on complexity]
✅ Troubleshooting
✅ Closing statement
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Command: /nav:[name]
Purpose: [brief description]
Lines: [count]

Test it:
/nav:[name]

Documentation:
- Add to README.md if user-facing
- Update CLAUDE.md command list
- Add to plugin.json if needed

Best Practices

Command Naming

  • Use kebab-case (marker, update-doc, archive-tasks)
  • Be specific but concise (not too generic, not too verbose)
  • Match feature purpose (nav:compact for compacting)
  • Avoid abbreviations unless very common

Description Writing

  • One sentence, clear purpose
  • Action-oriented ("Create", "Display", "Update")
  • Mention key benefit or what it does
  • Under 100 characters

Content Structure

  • Start with user perspective ("You are...")
  • Use 2nd person ("your task", "you can")
  • Include realistic examples
  • Show expected output
  • Address common issues in troubleshooting

Tone and Style

  • Conversational and helpful
  • Use emojis for visual markers (✅❌📖🚀)
  • Bold key terms and actions
  • Code blocks for all commands/output
  • Bullet lists for readability

Examples Quality

  • Real-world scenarios (not toy examples)
  • Show before/after when relevant
  • Include expected output
  • Cover common use cases
  • Demonstrate Navigator benefits

Troubleshooting Section

  • Address real issues users might encounter
  • Provide specific solutions (not generic advice)
  • Include verification commands
  • Link to related docs if helpful

Common Command Patterns

Informational Commands

Pattern: Simple structure, quick output Examples: version, status, list Sections: Description → Usage → Output

Action Commands

Pattern: Execute something, show result Examples: marker, compact, archive Sections: Description → Execution → Validation → Result

Setup/Configuration Commands

Pattern: Multi-step process, checks Examples: init, migrate, setup Sections: Pre-flight → Steps → Validation → Troubleshooting

Management Commands

Pattern: User selection, operations, feedback Examples: markers (list/load), tasks (list/select) Sections: Overview → Modes → Operations → Results


Troubleshooting

Generated Command Too Short

Problem: Command content is sparse, missing sections

Solutions:

  1. Increase complexity level (simple → medium)
  2. Add more scenarios to "When to Use"
  3. Expand troubleshooting section (more common issues)
  4. Add Best Practices section
  5. Include more examples

Command Doesn't Match Navigator Style

Problem: Tone or structure feels off

Solutions:

  1. Re-analyze example commands (marker.md, compact.md)
  2. Check emoji usage (should match existing patterns)
  3. Verify 2nd person perspective ("You are...")
  4. Ensure conversational tone (not technical manual)
  5. Add personality to closing statement

YAML Validation Fails

Problem: Invalid frontmatter

Solutions:

  1. Check YAML syntax (proper indentation)
  2. Ensure description field exists
  3. Verify no special characters break parsing
  4. Test with: python -c "import yaml; yaml.safe_load(open('commands/[name].md').read().split('---')[1])"

Examples Are Too Generic

Problem: Examples don't feel realistic

Solutions:

  1. Base examples on actual Navigator usage
  2. Use real file paths (not /path/to/file)
  3. Show actual output format (not [output here])
  4. Include context (why user would run this)

Success Criteria

This skill succeeds when:

  • Generated command file is syntactically valid
  • YAML frontmatter passes validation
  • All required sections present
  • Tone matches Navigator style (conversational, helpful)
  • Examples are realistic and useful
  • Troubleshooting addresses real issues
  • Command can be invoked in Claude Code
  • Minimal manual editing needed (<10% of content)

The plugin-slash-command skill automates Navigator command creation, ensuring consistency and saving development time 🔧

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Plugin Slash Command?

Generate new Navigator slash commands following project conventions. Use when user says "add slash command", "create command", "new /nav command", or "add /nav:[name] command".

Зачем использовать Plugin Slash Command в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Plugin Slash Command — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Plugin Slash Command в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/qf-studio/navigator/tree/main/skills/plugin-slash-command. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Plugin Slash Command?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Plugin Slash Command?

С любым количеством. В TypingMind вы можете использовать Plugin Slash Command с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Plugin Slash Command?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — qf-studio. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Openclaw Pr Maintainer

openclaw
ОрганизацияПопулярный

Проверяйте и сортируйте по приоритету проблемы OpenClaw и pull request, исправляйте их или вносите изменения в репозиторий, опираясь на актуальные данные исходного кода и стандартный процесс сопровождения.

82.2K
391K
Файлы: 5
Открыть
Логотип openclaw

Openclaw Refactor Docs

openclaw
ОрганизацияПопулярный

Переработайте существующую страницу документации OpenClaw: сохраните подтверждённую источниками информацию, измените структуру и проверьте результат.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Repair Sweep

openclaw
ОрганизацияПопулярный

Проводите кампании по исправлению выбранных проблем и PR в OpenClaw: координируйте исполнителей, устанавливайте первопричины и вносите исправления или закрывайте проверенные задачи в пределах запрошенных полномочий.

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Openclaw Test Performance

openclaw
ОрганизацияПопулярный

Сравнивайте производительность, диагностируйте проблемы и оптимизируйте время выполнения тестов OpenClaw и набора тестов плагинов, узкие места при импорте, загрузку CPU и RSS, рост кучи и медленные пути покрытия кода.

82.2K
391K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇