Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

string-algorithm-matcher

БесплатноБез исполняемых скриптовНе проверен

Match string problems to appropriate algorithms

a5c-aiот a5c-ai★ 1 947 звёзд на GitHub

Об этом скилле

String Algorithm Matcher Skill

Purpose

Match string processing problems to the most appropriate algorithms based on requirements and constraints.

Capabilities

  • Pattern matching algorithm selection (KMP, Z, Rabin-Karp)
  • Suffix structure selection (array vs tree vs automaton)
  • Palindrome detection algorithm selection
  • Rolling hash implementation guidance
  • String DP technique matching

Target Processes

  • pattern-matching-algorithms
  • trie-suffix-structures
  • string-processing

Algorithm Selection Guide

Single Pattern Matching

Scenario Algorithm Complexity
Single pattern KMP O(n+m)
Multiple patterns Aho-Corasick O(n+m+z)
Approximate match Rolling Hash O(n*m) average

Suffix Structures

Need Structure Build Time
Substring search Suffix Array O(n log n)
Multiple queries Suffix Tree O(n)
Subsequence counting Suffix Automaton O(n)

Palindromes

Problem Algorithm
Longest palindromic substring Manacher
Palindrome partitioning DP + Manacher
Palindrome queries Hashing

Input Schema

{
  "type": "object",
  "properties": {
    "problemDescription": { "type": "string" },
    "problemType": {
      "type": "string",
      "enum": ["patternMatch", "suffixQueries", "palindrome", "subsequence", "dp"]
    },
    "constraints": { "type": "object" }
  },
  "required": ["problemDescription"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "algorithm": { "type": "string" },
    "complexity": { "type": "string" },
    "alternatives": { "type": "array" },
    "implementation": { "type": "string" }
  },
  "required": ["success", "algorithm"]
}

Установить string-algorithm-matcher в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

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

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Grep
Glob

Вложенные файлы

README.md

FAQ

Что делает скилл string-algorithm-matcher?

Match string problems to appropriate algorithms

Как установить скилл string-algorithm-matcher?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл string-algorithm-matcher запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить string-algorithm-matcher с